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

Provide session-wide configurations to the underlying interoperability framework #211

Open
jesper-friis opened this issue Nov 27, 2022 · 0 comments

Comments

@jesper-friis
Copy link
Contributor

jesper-friis commented Nov 27, 2022

When executing a pipeline, the underlying interoperability framework typically need some configurations. In the case of dlite this would typically be where to search for entities, where to find plugins etc... Other interoperability frameworks will most likely have similar needs.

Since the strategies can be called either from oteapi-services or otelib, I think it make sense to add support for this in oteapi-core.

When using otelib, a natural place to provide such session-wide configurations may be via the get() method of the pipeline itself. Other possibilities could be via a dedicated session_configuration() method on the client or the pipeline.

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