-
Notifications
You must be signed in to change notification settings - Fork 2
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
do schemas need to be updated #20
Comments
This pipestat sachems were updated by @donaldcampbelljr , and I believe they are working and up-to-date |
I believe I only updated the pipeline names but did not touch the actual schema fields as they were working during testing with the new pipestat. Pipestat should raise a schema error if the required keys are not present for complex types. |
I thought the pipestat schema format changed like this: |
I see now. It was not actually updated to be json-schema compatible. I think we need to change the pipestat schema format to follow json-schema... The reason I think this is that I think we may be able to use jsonschema functionality for pydantic model creation that will simplify things with bedhost... See: |
@donaldcampbelljr pipestat schemas are now json schemas, right? |
Pipestat can accept either the old way or a JSON schema, yes. However, after our discussion ~ last week, I realized we are still using types such as file and image within the JSON pipestat schema (and later converting them to be objects). Therefore the schema is still not actually 100% JSON schema: https://json-schema.org/understanding-json-schema/reference/type |
I thought we decided on doing:
that makes it a valid json-schema, but allows our type-specific treatment. |
Close, but right now its:
Pipestat still uses the |
Current bbconf example from dev:
|
that's the old format, not a json schema at all |
Yes, pipestat can accept either format currently. However, I'm just showing how the pipestat_type was implemented along with the original type. |
We need to update those bbconf schemas to use the new format, and deprecate the old. Issue raised: #32 |
Fixed in 0.4.0 release |
There are several schemas here:
https://github.com/databio/bbconf/tree/dev/bbconf/schemas
I believe these are pipestat schemas. But when pipestat was updated, the schema definition changed.
bbconf has I believe been updated to use the new pipestat.
Are these schemas up-to-date?
The text was updated successfully, but these errors were encountered: