You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This works
WheelchairAccess(value=<LimitationStatusEnumeration.FALSE: 'false'>)
This fails
Told you so...
Traceback (most recent call last):
File "/tmp/xsdata_bug.py", line 22, in <module>
print(site_frame.stop_places.stop_place[0].accessibility_assessment.limitations.accessibility_limitation)
File "/usr/lib/python3.12/dataclasses.py", line 262, in wrapper
result = user_function(self)
^^^^^^^^^^^^^^^^^^^
File "<string>", line 3, in __repr__
AttributeError: 'AccessibilityLimitation' object has no attribute 'validity_conditions_or_valid_between'
Removing the attributes with type=ignore, the code functions as expected.
testcase.zip
Running the code below result into.
Removing the attributes with type=ignore, the code functions as expected.
The text was updated successfully, but these errors were encountered: