Skip to main content

ShapeHandle

Kind: Class
Domain: Core runtime
Canonical import: from cadflow import ShapeHandle

Signature

class ShapeHandle(session_token: 'int', value: 'int') -> None

Description

An opaque, session-owned native shape reference.

Other public imports

  • from cadflow.native import ShapeHandle

Parameters

NameTypeRequiredDefaultSource description
session_token'int'yes-Not explicitly described in the source docstring.
value'int'yes-Not explicitly described in the source docstring.

Returns

Type: None

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.

Data fields

NameTypeDefault
session_token'int'required
value'int'required

Behavior and constraints

  • Shape values remain bound to their owning session; do not use them after the session closes.
  • Instances are immutable dataclass values; update workflows return a replacement value.

Import check

from cadflow import ShapeHandle

See also