Skip to main content

Router

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

Signature

class Router(native: 'NativeBackend | None' = None, fallback: 'Backend | None' = None) -> 'None'

Description

Select a configured public backend implementation from the operation arguments.

Other public imports

  • from cadflow.backend import Router

Parameters

NameTypeRequiredDefaultSource description
native'NativeBackend | None'noNoneNot explicitly described in the source docstring.
fallback'Backend | None'noNoneNot 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.

Public members

MemberKindSignatureDescription
callmethod(self, operation: 'str', *args: 'Any', **kwargs: 'Any') -> 'Any'See the member signature.
closemethod(self) -> 'None'See the member signature.

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 Router

See also