-
Notifications
You must be signed in to change notification settings - Fork 3
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
fix(validation): allow any valid nmdc:Database to [/v1]/workflows/activities #497
Conversation
…ivities Documents other than activities may be generated and submittable at the same time. closes #462
@@ -78,10 +80,6 @@ async def post_activity( | |||
""" | |||
_ = site # must be authenticated | |||
try: | |||
# verify activities in activity_set are nmdc-schema compliant |
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.
Do we still want to perform this check for certain kinds of activtities rather than dropping entirely
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.
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.
If another kind of record down the road other than data objects are desirable to bundle with an activities submission, I don’t see a benefit to gating that here. So, I’d rather make its acceptable input equivalent to that of /metadata/json:submit.
@@ -46,10 +46,6 @@ async def post_activity( | |||
""" | |||
_ = site # must be authenticated | |||
try: | |||
# verify activities in activity_set are nmdc-schema compliant |
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.
Do we still want to perform this check for certain kinds of activtities rather than dropping entirely
PS. No need to block on my comments - mostly just checking |
Documents other than activities may be generated and submittable at the same time.
closes #462