Skip to main content

get_active_session

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

Signature

def get_active_session() -> 'Optional[GraphSession]'

Description

Return the currently active GraphSession, or None.

Returns

Type: 'Optional[GraphSession]'

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

  • The contract below is generated from the current public runtime signature. Check domain notes for ownership and workflow constraints.

Import check

from cadflow import get_active_session

See also