/usr/local/lib/python3.9/typing.py:852: in subclasscheck
return issubclass(cls, self.origin)
E TypeError: issubclass() arg 1 must be a class
Object declaration:
class RelocationUnit(BaseFrozenModel):
"""Relocation object."""
type: Literal[RelocationType.locale,
RelocationType.teleport,
RelocationType.car,
RelocationType.forced]
relocation_time: timedelta
airport_from: Airport
airport_to: Airport
start_time: datetime
end_time: datetime
on 4.5.0 or less it works perfectly.
/usr/local/lib/python3.9/typing.py:852: in subclasscheck
return issubclass(cls, self.origin)
E TypeError: issubclass() arg 1 must be a class
Object declaration:
class RelocationUnit(BaseFrozenModel):
"""Relocation object."""
on 4.5.0 or less it works perfectly.