esrf_pathlib._schemas.fields.derived#

Classes

DerivedConcept(name, description, ...[, ...])

A concept not parsed from the path, but computed from other concepts.

class esrf_pathlib._schemas.fields.derived.DerivedConcept(name, description, schema_identifier, derive_func, derived_from, examples=None)[source]#

Bases: Field

A concept not parsed from the path, but computed from other concepts.

Parameters:
derive(concept_values, raise_on_missing=True)[source]#
Raises:

PathConceptValueError

Parameters:
Return type:

Union[str, date, DataType, TomoResultType, None]