Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add overload to register providers/processors just as a list of functions #31

Open
tlambert03 opened this issue Jul 29, 2022 · 0 comments

Comments

@tlambert03
Copy link
Member

currently, the callback tuples require this sort of syntax when calling register(providers=...)

PROVIDERS = [
    (_provide_viewer,),
    (_provide_active_layer,),
    (_provide_active_layer_list,),
]

add another overload to allow the bare list

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant