mex.extractors.ff_projects.models package

Submodules

mex.extractors.ff_projects.models.source module

class mex.extractors.ff_projects.models.source.FFProjectsSource(*, kategorie: str | None, foerderprogr: str | None, thema_des_projekts: str, rki_az: str, laufzeit_cells: tuple[str | None, str | None], laufzeit_bis: TemporalEntity | None = None, laufzeit_von: TemporalEntity | None = None, projektleiter: str, rki_oe: str | None = None, zuwendungs_oder_auftraggeber: str, lfd_nr: str)

Bases: BaseRawData

Model class for FF Projects source entities.

foerderprogr: str | None
get_end_year() TemporalEntity | None

Return end year from extractor.

get_identifier_in_primary_source() str | None

Return identifier in primary source from extractor.

get_partners() Sequence[str | None]

Return partners from extractor.

get_start_year() TemporalEntity | None

Return start year from extractor.

get_units() Sequence[str | None]

Return units from extractor.

kategorie: str | None
laufzeit_bis: TemporalEntity | None
laufzeit_cells: tuple[str | None, str | None]
laufzeit_von: TemporalEntity | None
lfd_nr: str
model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}

A dictionary of computed field names and their corresponding ComputedFieldInfo objects.

model_config: ClassVar[ConfigDict] = {'extra': 'ignore', 'populate_by_name': True, 'str_max_length': 100000, 'str_min_length': 1, 'str_strip_whitespace': True, 'use_enum_values': True, 'validate_assignment': True, 'validate_default': True}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

model_fields: ClassVar[Dict[str, FieldInfo]] = {'foerderprogr': FieldInfo(annotation=Union[str, NoneType], required=True), 'kategorie': FieldInfo(annotation=Union[str, NoneType], required=True), 'laufzeit_bis': FieldInfo(annotation=Union[TemporalEntity, NoneType], required=False, default=None), 'laufzeit_cells': FieldInfo(annotation=tuple[Union[str, NoneType], Union[str, NoneType]], required=True), 'laufzeit_von': FieldInfo(annotation=Union[TemporalEntity, NoneType], required=False, default=None), 'lfd_nr': FieldInfo(annotation=str, required=True), 'projektleiter': FieldInfo(annotation=str, required=True), 'rki_az': FieldInfo(annotation=str, required=True), 'rki_oe': FieldInfo(annotation=Union[str, NoneType], required=False, default=None), 'thema_des_projekts': FieldInfo(annotation=str, required=True), 'zuwendungs_oder_auftraggeber': FieldInfo(annotation=str, required=True)}

Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.

This replaces Model.__fields__ from Pydantic V1.

projektleiter: str
rki_az: str
rki_oe: str | None
thema_des_projekts: str
zuwendungs_oder_auftraggeber: str

Module contents