-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Add LSST schema v_2 and v_3 #70
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great!! Test this to make sure things work. I think it will need some minor changes to give access to all schema versions. Otherwise, LGTM. Thanks for doing it.
- name: 'lsst.v7_1.alert' | ||
path: 'schemas/lsst/7/1/lsst.v7_1.alert.avsc' | ||
- name: 'lsst.v7_3.alert' | ||
path: 'schemas/lsst/7/3/lsst.v7_3.alert.avsc' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think all three schema versions need to be registered here in order to be usable.
@@ -76,12 +76,12 @@ def elasticc_schema_helper(schema_dict: dict) -> "Schema": | |||
|
|||
@staticmethod | |||
def lsst_schema_helper(schema_dict: dict) -> "Schema": |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This function should also specify all schema versions that are available.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add a readme or something that explains where these files came from.
Oh, please also update CHANGELOG.md. |
LSST schema versions 7.2 and 7.3 are now available. This PR creates subdirectories containing schema information to
pittgoogle/schemas/lsst/7
and updatesschemas.py
by settinglsst.v7_3.alert
as the default schema (i.e.,lsst.v7_1.alert
->lsst.v7_3.alert
.I believe these changes cover all of the bases outlined in add a new schema to the registry.