-
Notifications
You must be signed in to change notification settings - Fork 916
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Move `kedro-catalog` JSON schema to `kedro-datasets` #4258 Signed-off-by: Chris Schopp <[email protected]> * Add description of change to `RELEASE.md` Signed-off-by: Chris Schopp <[email protected]> * Update refs to `jsonschema` to use `kedro-plugins/kedro-datasets/` Signed-off-by: GitHub <[email protected]> * Update ignore-names.txt Signed-off-by: Juan Luis Cano Rodríguez <[email protected]> * Update ignore.txt Signed-off-by: Juan Luis Cano Rodríguez <[email protected]> * Keep jsonschemas for CachedDataset, MemoryDataset, and LambdaDataset * These datasets remain in Kedro and were not moved to kedro-datasets Signed-off-by: GitHub <[email protected]> * Fix linter Signed-off-by: Merel Theisen <[email protected]> --------- Signed-off-by: Chris Schopp <[email protected]> Signed-off-by: GitHub <[email protected]> Signed-off-by: Juan Luis Cano Rodríguez <[email protected]> Signed-off-by: Merel Theisen <[email protected]> Signed-off-by: Merel Theisen <[email protected]> Co-authored-by: Merel Theisen <[email protected]> Co-authored-by: Juan Luis Cano Rodríguez <[email protected]> Co-authored-by: Merel Theisen <[email protected]>
- Loading branch information
1 parent
9ee181f
commit 46259b9
Showing
12 changed files
with
112 additions
and
5,813 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -94,6 +94,7 @@ Puneet | |
Rashida | ||
Ravi | ||
Richard | ||
Schopp | ||
Schwarzmann | ||
Sorokin | ||
Stichbury | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
Kedro | ||
Kedro's | ||
Kedroids | ||
Kubeflow | ||
Databricks | ||
Conda | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,101 @@ | ||
{ | ||
"type": "object", | ||
"patternProperties": { | ||
"^[a-z0-9-_]+$": { | ||
"required": [ | ||
"type" | ||
], | ||
"properties": { | ||
"type": { | ||
"type": "string", | ||
"enum": [ | ||
"CachedDataset", | ||
"MemoryDataset", | ||
"LambdaDataset" | ||
] | ||
} | ||
}, | ||
"allOf": [ | ||
{ | ||
"if": { | ||
"properties": { | ||
"type": { | ||
"const": "CachedDataset" | ||
} | ||
} | ||
}, | ||
"then": { | ||
"required": [ | ||
"dataset" | ||
], | ||
"properties": { | ||
"dataset": { | ||
"pattern": ".*", | ||
"description": "A Kedro Dataset object or a dictionary to cache." | ||
}, | ||
"copy_mode": { | ||
"type": "string", | ||
"description": "The copy mode used to copy the data. Possible\nvalues are: \"deepcopy\", \"copy\" and \"assign\". If not\nprovided, it is inferred based on the data type." | ||
} | ||
} | ||
} | ||
}, | ||
{ | ||
"if": { | ||
"properties": { | ||
"type": { | ||
"const": "MemoryDataset" | ||
} | ||
} | ||
}, | ||
"then": { | ||
"required": [], | ||
"properties": { | ||
"data": { | ||
"pattern": ".*", | ||
"description": "Python object containing the data." | ||
}, | ||
"copy_mode": { | ||
"type": "string", | ||
"description": "The copy mode used to copy the data. Possible\nvalues are: \"deepcopy\", \"copy\" and \"assign\". If not\nprovided, it is inferred based on the data type." | ||
} | ||
} | ||
} | ||
}, | ||
{ | ||
"if": { | ||
"properties": { | ||
"type": { | ||
"const": "LambdaDataset" | ||
} | ||
} | ||
}, | ||
"then": { | ||
"required": [ | ||
"load", | ||
"save" | ||
], | ||
"properties": { | ||
"load": { | ||
"pattern": ".*", | ||
"description": "Method to load data from a data set." | ||
}, | ||
"save": { | ||
"pattern": ".*", | ||
"description": "Method to save data to a data set." | ||
}, | ||
"exists": { | ||
"pattern": ".*", | ||
"description": "Method to check whether output data already exists." | ||
}, | ||
"release": { | ||
"pattern": ".*", | ||
"description": "Method to release any cached information." | ||
} | ||
} | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} |
Oops, something went wrong.