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

Create higher level api for extensions #70

Open
cmbruns opened this issue Jun 6, 2022 · 1 comment
Open

Create higher level api for extensions #70

cmbruns opened this issue Jun 6, 2022 · 1 comment

Comments

@cmbruns
Copy link
Owner

cmbruns commented Jun 6, 2022

  1. User calls create_instance with enabled_extensions=[a, b, c]
  2. Somehow magically the extension functions are available now as xr.SomeExtensionAFunction() with nice pythonic interface.
    • but not if the extension was not requested
    • and not if the extension was not successfully acquired
@cmbruns
Copy link
Owner Author

cmbruns commented Jun 7, 2022

The magically appearing function should actually be called like instance_object.SomeExtensionAFunction() I think.

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