Powercontextcontext

Sources

Compose Source acquisition, persistence, and read operations.

Attributes

attributemodel_config
= ConfigDict(arbitrary_types_allowed=True)
attributecatalogSourceCatalog
attributestoreSourceStore[Source]

Functions

funcresolve(value) -> Source

Resolve an adapter-native input without persisting it.

paramvalueobject

Returns

powercontext.sources.Source
funcadd(source) -> Source

Persist a resolved Source without deriving Artifacts.

paramsourceSource

Returns

powercontext.sources.Source
funcget(source) -> Source

Return the canonical persisted Source matching source.

paramsourceSource

Returns

powercontext.sources.Source
funclist() -> tuple[Source, ...]

Return the Sources visible in the current catalog view.

Returns

tuple[powercontext.sources.Source, ...]
funcread(source) -> object

Read the adapter-native value described by source.

paramsourceSource

Returns

object

On this page