Skip to content

parserconfig

Pydantic Parser Configuration Data Model.

ParserConfig

Bases: GenericConfig

Parser Strategy Data Configuration.

Source code in oteapi/models/parserconfig.py
10
11
12
13
14
class ParserConfig(GenericConfig):
    """Parser Strategy Data Configuration."""

    parserType: str = Field(..., description="Type of registered parser strategy.")
    entity: AnyHttpUrl = Field(..., description="IRI to the entity or collection.")

entity: AnyHttpUrl = Field(..., description='IRI to the entity or collection.') class-attribute instance-attribute

parserType: str = Field(..., description='Type of registered parser strategy.') class-attribute instance-attribute