mex.extractors.confluence_vvt.models package¶
Submodules¶
mex.extractors.confluence_vvt.models.source module¶
- class mex.extractors.confluence_vvt.models.source.ConfluenceVvtSource(*, abstract: str | None, activity_type: str | None = None, alternative_title: str | None = None, contact: list[str] = [], documentation: str | None = None, end: str | None = None, gemeinsam_verantwortliche: str | None = None, funder_or_commissioner: str | None = None, funding_program: str | None = None, identifier: str, identifier_in_primary_source: list[str], involved_person: list[str] = [], involved_unit: list[str] = [], is_part_of_activity: str | None = None, publication: str | None = None, responsible_unit: list[str], short_name: str | None = None, start: str | None = None, succeeds: str | None = None, theme: str, title: str | None = None, website: str | None = None)¶
Bases:
BaseRawData
Model class for Confluence-vvt sources.
- abstract: str | None¶
- activity_type: str | None¶
- alternative_title: str | None¶
- contact: list[str]¶
- documentation: str | None¶
- end: str | None¶
- funder_or_commissioner: str | None¶
- funding_program: str | None¶
- gemeinsam_verantwortliche: 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.
- identifier: str¶
- identifier_in_primary_source: list[str]¶
- involved_person: list[str]¶
- involved_unit: list[str]¶
- is_part_of_activity: str | None¶
- 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]] = {'abstract': FieldInfo(annotation=Union[str, NoneType], required=True), 'activity_type': FieldInfo(annotation=Union[str, NoneType], required=False, default=None), 'alternative_title': FieldInfo(annotation=Union[str, NoneType], required=False, default=None), 'contact': FieldInfo(annotation=list[str], required=False, default=[]), 'documentation': FieldInfo(annotation=Union[str, NoneType], required=False, default=None), 'end': FieldInfo(annotation=Union[str, NoneType], required=False, default=None), 'funder_or_commissioner': FieldInfo(annotation=Union[str, NoneType], required=False, default=None), 'funding_program': FieldInfo(annotation=Union[str, NoneType], required=False, default=None), 'gemeinsam_verantwortliche': FieldInfo(annotation=Union[str, NoneType], required=False, default=None), 'identifier': FieldInfo(annotation=str, required=True), 'identifier_in_primary_source': FieldInfo(annotation=list[str], required=True), 'involved_person': FieldInfo(annotation=list[str], required=False, default=[]), 'involved_unit': FieldInfo(annotation=list[str], required=False, default=[]), 'is_part_of_activity': FieldInfo(annotation=Union[str, NoneType], required=False, default=None), 'publication': FieldInfo(annotation=Union[str, NoneType], required=False, default=None), 'responsible_unit': FieldInfo(annotation=list[str], required=True), 'short_name': FieldInfo(annotation=Union[str, NoneType], required=False, default=None), 'start': FieldInfo(annotation=Union[str, NoneType], required=False, default=None), 'succeeds': FieldInfo(annotation=Union[str, NoneType], required=False, default=None), 'theme': FieldInfo(annotation=str, required=True), 'title': FieldInfo(annotation=Union[str, NoneType], required=False, default=None), 'website': FieldInfo(annotation=Union[str, NoneType], required=False, default=None)}¶
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.
- publication: str | None¶
- responsible_unit: list[str]¶
- short_name: str | None¶
- start: str | None¶
- succeeds: str | None¶
- theme: str¶
- title: str | None¶
- website: str | None¶