mex.extractors.international_projects.models package

Submodules

mex.extractors.international_projects.models.source module

class mex.extractors.international_projects.models.source.InternationalProjectsSource(*, funding_type: str, project_lead_person: str, end_date: TemporalEntity | None = None, partner_organization: list[str] = [], funding_source: str, funding_program: str, rki_internal_project_number: str, additional_rki_units: str, project_lead_rki_unit: str, project_abbreviation: str, start_date: TemporalEntity | None = None, activity1: str, activity2: str, topic1: str, topic2: str, full_project_name: str, website: str)

Bases: BaseRawData

Model class for international projects source entities.

activity1: str
activity2: str
additional_rki_units: str
end_date: TemporalEntity | None
full_project_name: str
funding_program: str
funding_source: str
funding_type: str
get_end_year() TemporalEntity | None

Return end year from extractor.

get_funding_sources() list[str]

Return a list of project funding sources.

get_identifier_in_primary_source() str | None

Return identifier in primary source from extractor.

get_partners() Sequence[str | None]

Return partners from extractor.

get_project_lead_persons() list[str]

Return a list of project lead persons.

get_project_lead_rki_units() list[str]

Return a list of project lead rki units.

get_start_year() TemporalEntity | None

Return start year from extractor.

get_units() Sequence[str | None]

Return units from extractor.

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

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

partner_organization: list[str]
project_abbreviation: str
project_lead_person: str
project_lead_rki_unit: str
rki_internal_project_number: str
start_date: TemporalEntity | None
topic1: str
topic2: str
website: str

Module contents