Skip to main content

import_session_json

Kind: Function
Domain: Graph, serialization, and replay
Canonical import: from cadflow import import_session_json

Signature

def import_session_json(json_str: 'str') -> 'Dict[str, Any]'

Description

Import session payload containing graph and expression graph.

Parameters

NameTypeRequiredDefaultSource description
json_str'str'yes-Not explicitly described in the source docstring.

Returns

Type: 'Dict[str, Any]'

The source docstring does not declare additional return semantics.

Errors

The source docstring does not declare a narrower exception contract. Invalid types, values, ownership, paths, or backend state may still raise the corresponding public error.

Behavior and constraints

  • This operation reads external data and may reject missing, malformed, or unsupported input.
  • Serialized data is intended to remain JSON-safe and should be schema-validated when crossing trust boundaries.

Import check

from cadflow import import_session_json

See also