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
As a user, it would be useful if I could create an instance of the SingleTableMetadata class from a json file. It would also be useful if I could save an existing instance to a json file.
Expected behavior
Add a load_from_json method
Parameters:
filepath: string that is the path to json file
Errors:
If the json file doesn't contain the SCHEMA_VERSION attribute, then raise the following error
Problem Description
As a user, it would be useful if I could create an instance of the
SingleTableMetadata
class from a json file. It would also be useful if I could save an existing instance to a json file.Expected behavior
load_from_json
methodfilepath
: string that is the path to json fileSCHEMA_VERSION
attribute, then raise the following errorsave_to_json
methodSCHEMA_VERSION
to dict privatelyfilepath
: string that is the path to save the file toThe text was updated successfully, but these errors were encountered: