Open yum-yab opened 2 years ago
Thanks for releasing the databusclient! This is very helpful. From my side we could remove my old script in favor of your _databusclientexamply.py example. I updated my oep registration script accordingly.
I saw that you have to set up version_id
manually by concatenating URI, account, group, artifact and version as:
version_id = f"{DATABUS_URI_BASE}/{ACCOUNT_NAME}/{groupid}/{artifactid}/{version}"
before calling createDataset
.
Wondered why you changed to this, instead of passing group etc as parameters and set up version_id internally?
We recently published a python module named
databusclient
(see here the pypi page) to have the development of submitting to the Databus in one place (see here). It is currently very basic and contains only the most necessary functions, you can check the example (which does the exact same as the old one) in databusclient_example.py@henhuy since you contributed the most: maybe you can switch the usage of the old script with the module we did and maybe give some feedack if you think something is missing.