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
| Name | Type | Required | Default | Source description |
|---|---|---|---|---|
native | 'NativeBackend | None' | no | None | Not explicitly described in the source docstring. |
fallback | 'Backend | None' | no | None | 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.
Public members
| Member | Kind | Signature | Description |
|---|---|---|---|
call | method | (self, operation: 'str', *args: 'Any', **kwargs: 'Any') -> 'Any' | See the member signature. |
close | method | (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