You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These schemas could be created programmatically through introspection (as suggested by@datajoely).
Context
Manually creating a JSON schemas is an additional maintenance step (that may be easy to overlook).
Possible Implementation
The inspect module could be used to get the dataset's attributes.
A pre-commit hook could generate the required kedro-catalog-X.XX.json (only for the current package version).
a. When a developer commits a new dataset, the JSON schema is created for them.
Remove references to updating jsonschema from CONTRIBUTING.md and PULL_REQUEST_TEMPLATE.md.
Possible Alternatives
The introspection code could be triggered manually instead of by a pre-commit hook. The hook would fully automate it, though.
The text was updated successfully, but these errors were encountered:
Description
When a new dataset is added to
kedro-datasets
, the JSON schema that enables Kedro catalog validation in an IDE must be manually updated.These schemas could be created programmatically through introspection (as suggested by @datajoely).
Context
Manually creating a JSON schemas is an additional maintenance step (that may be easy to overlook).
Possible Implementation
kedro-catalog-X.XX.json
(only for the current package version).a. When a developer commits a new dataset, the JSON schema is created for them.
jsonschema
fromCONTRIBUTING.md
andPULL_REQUEST_TEMPLATE.md
.Possible Alternatives
The introspection code could be triggered manually instead of by a pre-commit hook. The hook would fully automate it, though.
The text was updated successfully, but these errors were encountered: