sedai.models

def to_json(model, **kwargs):

Convert a model returned bu the SDK to a JSON string

Parameters
  • model: The model to convert
  • kwargs: Any additional arguments to pass to json.dumps
Returns

The converted JSON String

def to_dict(model):

Convert a model returned by the SDK to a dictionary

Parameters
  • model: The model to convert
Returns

The converted dictionary