PipelineOptions

class PipelineOptions

Options for Pipeline construction.

Members defined in PipelineOptions (3 members)

lib

RW

Standard library cache used to resolve elements for semantic constraints.

static_index

RW

Index used to resolve globally accessible names.

__init__

Constructor for pipeline options.

Attributes

property lib: syside.Stdlib

Standard library cache used to resolve elements for semantic constraints.

Note that the accessiblel elements must either be in the set of documents that are scheduled, or be accessible through the static_index. Missing elements will result in incomplete semantic constraints and a lot of errors being reported.

property static_index: syside.StaticIndex

Index used to resolve globally accessible names.

Names in the index will only be used if the name resolution fails to resolve a name in any ancestor scopes, including inherited and imported names.

Methods

__init__(static_index: syside.StaticIndex | None = None, lib: syside.Stdlib | None = None) None

Constructor for pipeline options.

static_index and lib are optional, and empty containers will be constructed if not provided. On each run, the pipeline will update the bound static_index and lib on every execution.

Used in