Skip to content

handling this problem with "secondClass " #75

@ue71603

Description

@ue71603

C:\Users\ue71603\MG_Daten\github\ojp-nova\venv\lib\site-packages\urllib3\connectionpool.py:1095: InsecureRequestWarning: Unverified HTTPS request is being made to host 'api.opentransportdata.swiss'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings
warnings.warn(
C:\Users\ue71603\MG_Daten\github\ojp-nova\venv\lib\site-packages\xsdata\formats\dataclass\parsers\utils.py:126: ConverterWarning: Failed to convert value for ExpectedDepartureOccupancy.fare_class
secondClass is not a valid FareClassEnumeration
warnings.warn(message, ConverterWarning)

this is different in OJP 1.0 and OJP 2.0 we must use the appropriate function.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions