Automatically create dataset JSON schemas through introspection #964
Labels
enhancement
New feature or request
help wanted
Contribution task, outside help would be appreciated!
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: