Skip to content

worker_id argument not working #73

Description

@Haffi112

When passing worker_id=True to the distributed classes, it seems as if the prompt for asking the user for a name or ID string is skipped.

The widget for the prompt is created, but it is never displayed. For some reason, the displaying of the annotation interface takes over. I tried fixing it in a hacky way by forcing the worker_id prompt to appear before other things are initialized, but that broke some functionality, such as calling the add_features before the widget is displayed.

More precisely, I was trying to fix it by displaying the worker_id prompt before super().__init__(**kwargs) is called in the _DistributedMixin class. Calling it seems to be the problem. Possibly it would make sense to pass widgets to that initialization function that take precedence over the annotation interface.

@janfreyberg Do you have a suggestion for a clean way to fix this?

(btw. I absolutely love this package, thank you so much for open sourcing it)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions