Skip to main content

sketch_solver_backend

Kind: Function
Domain: Sketch
Canonical import: from cadflow import sketch_solver_backend

Signature

def sketch_solver_backend(backend: 'str | SketchSolverBackend') -> 'Iterator[SketchSolverBackend]'

Description

Temporarily select a default backend and restore it afterwards.

Parameters

NameTypeRequiredDefaultSource description
backend'str | SketchSolverBackend'yes-Not explicitly described in the source docstring.

Returns

Type: 'Iterator[SketchSolverBackend]'

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 sketch_solver_backend

See also