Closed chrwm closed 1 year ago
Quick exaplaination @chrwm :
The MOSS takes any kind of databus identifier and you can decide based on what should be returned in the search, so possible options would be something like:
# Group
databus_identifier = f"{DATABUS_URI_BASE}/{ACCOUNT_NAME}/{GROUP}"
# Artifact
databus_identifier = f"{DATABUS_URI_BASE}/{ACCOUNT_NAME}/{GROUP}/{table_name}"
# Version
databus_identifier = f"{DATABUS_URI_BASE}/{ACCOUNT_NAME}/{GROUP}/{table_name}/{dt.date.today().isoformat()}"
# Specific file
databus_identifier = f"{DATABUS_URI_BASE}/{ACCOUNT_NAME}/{GROUP}/{table_name}/{dt.date.today().isoformat()}/{table_name}_variant=data.csv"
Currently it returns the artifact, so the overview over the different versions, which is quite nice, but downloading the file directly would take a few extra clicks.
Thanks for the clarification and nice overview. It'll help future users! Could be worth adding to the readme under a section ##Moss.
Closes #22
Fixes the
databus_identifier
for registration on moss.