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 oseries models accessor #49

Merged
merged 1 commit into from
Dec 6, 2021
Merged

add oseries models accessor #49

merged 1 commit into from
Dec 6, 2021

Conversation

dbrakenhoff
Copy link
Member

  • keep a list of model names per oseries
  • list is updated when models are added deleted
  • accessor has dict-like access
  • initialized when instantiating connector (2 ms per model for arctic)
  • add test

e.g.

pstore.oseries_models
# Returns:
# {"oseries1" : ["model1", "model2"], "oseries2": ["model3"]}

pstore.oseries_models["oseries1"]
# Returns:
# ["model1", "model2"]

- keep a list of model names per oseries
- list is updated when models are added deleted
- accessor has dict-like access
- initialized when instantiating connector (2 ms per model for arctic)
- add test
@dbrakenhoff dbrakenhoff merged commit 4ec6d9b into dev Dec 6, 2021
@dbrakenhoff dbrakenhoff deleted the oseriesmodels branch December 6, 2021 13:29
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

Successfully merging this pull request may close these issues.

1 participant