Cumulus Library 3.0 release #36
dogversioning
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
You can install the latest library release with pip install -U cumulus-library. The release notes are over on the project github. Note that the minimum python version is now 3.11
The main breaking change in this release is centered around how we get metadata down to studies - Actions and studies now all take two objects:
StudyConfig
object, which contains information like the database backend, the target schema, and CLI argumentsStudyManifest
object, which contains a dictionary with all the infromation from amanifest.toml
And they also generally allow for additional custom args and kwargs, just in case.
These allow studies to be much more customizable in the future - studies can specify their own CLI args, and if we add additional arguments in the future, we do it in one place. Studies can also make DB-related decisions on how SQL is structured, and can have their own manifest arguments if required (we're using this today to allow RxNorm/UMLS Metathesaurus to exist in their own dedicated schemas, which is espeically useful if you're keeping data in multiple databases for any reason.
As part of this release, we've updated all the existing studies to be compatible with the 3.0 API.
There are a few smaller breaking changes around the ways tables are named, a deprecation notice for
core__observation
, and a grip of minor bugfixes/feature updates in the release notes.Beta Was this translation helpful? Give feedback.
All reactions