diff --git a/netex/models/abstract_gmltype.py b/netex/models/abstract_gmltype.py index 85e3fa984..21764f58f 100644 --- a/netex/models/abstract_gmltype.py +++ b/netex/models/abstract_gmltype.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .description_reference import DescriptionReference @@ -30,7 +30,7 @@ class Meta: "namespace": "http://www.opengis.net/gml/3.2", }, ) - name: Iterable[Name] = field( + name: Sequence[Name] = field( default_factory=list, metadata={ "type": "Element", diff --git a/netex/models/abstract_service_delivery_structure.py b/netex/models/abstract_service_delivery_structure.py index d2941f817..dcf17dbe6 100644 --- a/netex/models/abstract_service_delivery_structure.py +++ b/netex/models/abstract_service_delivery_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from xsdata.models.datatype import XmlDateTime, XmlDuration @@ -20,7 +20,7 @@ @dataclass(kw_only=True) class AbstractServiceDeliveryStructure(ResponseStructure): - choice: Iterable[ + choice: Sequence[ MessageQualifierStructure | ParticipantRefStructure | SubscriptionFilterRefStructure diff --git a/netex/models/accepted_driver_permits_rel_structure.py b/netex/models/accepted_driver_permits_rel_structure.py index f3e8b63bd..da56a0027 100644 --- a/netex/models/accepted_driver_permits_rel_structure.py +++ b/netex/models/accepted_driver_permits_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .accepted_driver_permit import AcceptedDriverPermit @@ -14,7 +14,7 @@ class AcceptedDriverPermitsRelStructure(ContainmentAggregationStructure): class Meta: name = "acceptedDriverPermits_RelStructure" - accepted_driver_permit: Iterable[AcceptedDriverPermit] = field( + accepted_driver_permit: Sequence[AcceptedDriverPermit] = field( default_factory=list, metadata={ "name": "AcceptedDriverPermit", diff --git a/netex/models/access_facility_list.py b/netex/models/access_facility_list.py index c01796eaf..53a63be9b 100644 --- a/netex/models/access_facility_list.py +++ b/netex/models/access_facility_list.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .access_facility_enumeration import AccessFacilityEnumeration @@ -13,7 +13,7 @@ class AccessFacilityList: class Meta: namespace = "http://www.netex.org.uk/netex" - value: Iterable[AccessFacilityEnumeration] = field( + value: Sequence[AccessFacilityEnumeration] = field( default_factory=lambda: [ AccessFacilityEnumeration.UNKNOWN, ], diff --git a/netex/models/access_refs_rel_structure.py b/netex/models/access_refs_rel_structure.py index e349043e4..2f086d0dc 100644 --- a/netex/models/access_refs_rel_structure.py +++ b/netex/models/access_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .access_ref import AccessRef @@ -14,7 +14,7 @@ class AccessRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "accessRefs_RelStructure" - access_ref: Iterable[AccessRef] = field( + access_ref: Sequence[AccessRef] = field( default_factory=list, metadata={ "name": "AccessRef", diff --git a/netex/models/access_right_parameter_assignments_in_frame_rel_structure.py b/netex/models/access_right_parameter_assignments_in_frame_rel_structure.py index 0f28534b5..30b37ce05 100644 --- a/netex/models/access_right_parameter_assignments_in_frame_rel_structure.py +++ b/netex/models/access_right_parameter_assignments_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .access_right_parameter_assignment import AccessRightParameterAssignment @@ -27,7 +27,7 @@ class AccessRightParameterAssignmentsInFrameRelStructure( class Meta: name = "accessRightParameterAssignmentsInFrame_RelStructure" - access_right_parameter_assignment: Iterable[ + access_right_parameter_assignment: Sequence[ CustomerPurchaseParameterAssignment | SpecificParameterAssignment | GenericParameterAssignmentInContext diff --git a/netex/models/access_right_parameter_assignments_rel_structure.py b/netex/models/access_right_parameter_assignments_rel_structure.py index e59fe71ca..392bf3744 100644 --- a/netex/models/access_right_parameter_assignments_rel_structure.py +++ b/netex/models/access_right_parameter_assignments_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .access_right_parameter_assignment import AccessRightParameterAssignment @@ -27,7 +27,7 @@ class AccessRightParameterAssignmentsRelStructure( class Meta: name = "accessRightParameterAssignments_RelStructure" - access_right_parameter_assignment: Iterable[ + access_right_parameter_assignment: Sequence[ CustomerPurchaseParameterAssignment | SpecificParameterAssignment | GenericParameterAssignmentInContext diff --git a/netex/models/access_rights_in_product_rel_structure.py b/netex/models/access_rights_in_product_rel_structure.py index f6a1fc997..e05b2755c 100644 --- a/netex/models/access_rights_in_product_rel_structure.py +++ b/netex/models/access_rights_in_product_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .access_right_in_product import AccessRightInProduct @@ -17,7 +17,7 @@ class AccessRightsInProductRelStructure(StrictContainmentAggregationStructure): class Meta: name = "accessRightsInProduct_RelStructure" - access_right_in_product_ref_or_access_right_in_product: Iterable[ + access_right_in_product_ref_or_access_right_in_product: Sequence[ AccessRightInProductRef | AccessRightInProduct ] = field( default_factory=list, diff --git a/netex/models/access_spaces_rel_structure.py b/netex/models/access_spaces_rel_structure.py index 6501b3fd5..2b3a00f84 100644 --- a/netex/models/access_spaces_rel_structure.py +++ b/netex/models/access_spaces_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .access_space import AccessSpace @@ -15,7 +15,7 @@ class AccessSpacesRelStructure(ContainmentAggregationStructure): class Meta: name = "accessSpaces_RelStructure" - access_space_ref_or_access_space: Iterable[ + access_space_ref_or_access_space: Sequence[ AccessSpaceRef | AccessSpace ] = field( default_factory=list, diff --git a/netex/models/access_summaries_rel_structure.py b/netex/models/access_summaries_rel_structure.py index cb4a179f9..4658f30de 100644 --- a/netex/models/access_summaries_rel_structure.py +++ b/netex/models/access_summaries_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .access_summary import AccessSummary @@ -16,7 +16,7 @@ class AccessSummariesRelStructure(StrictContainmentAggregationStructure): class Meta: name = "accessSummaries_RelStructure" - access_summary: Iterable[AccessSummary] = field( + access_summary: Sequence[AccessSummary] = field( default_factory=list, metadata={ "name": "AccessSummary", diff --git a/netex/models/access_vehicle_equipment_version_structure.py b/netex/models/access_vehicle_equipment_version_structure.py index 8a8c4dcd2..551dddec5 100644 --- a/netex/models/access_vehicle_equipment_version_structure.py +++ b/netex/models/access_vehicle_equipment_version_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from decimal import Decimal @@ -127,7 +127,7 @@ class Meta: "namespace": "http://www.netex.org.uk/netex", }, ) - suitable_for: Iterable[MobilityEnumeration] = field( + suitable_for: Sequence[MobilityEnumeration] = field( default_factory=list, metadata={ "name": "SuitableFor", diff --git a/netex/models/access_zones_rel_structure.py b/netex/models/access_zones_rel_structure.py index 0e80a0aae..43d733959 100644 --- a/netex/models/access_zones_rel_structure.py +++ b/netex/models/access_zones_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .access_zone import AccessZone @@ -15,7 +15,7 @@ class AccessZonesRelStructure(ContainmentAggregationStructure): class Meta: name = "accessZones_RelStructure" - access_zone_ref_or_access_zone: Iterable[AccessZoneRef | AccessZone] = ( + access_zone_ref_or_access_zone: Sequence[AccessZoneRef | AccessZone] = ( field( default_factory=list, metadata={ diff --git a/netex/models/accesses_in_frame_rel_structure.py b/netex/models/accesses_in_frame_rel_structure.py index 7b55c96b4..c6b996451 100644 --- a/netex/models/accesses_in_frame_rel_structure.py +++ b/netex/models/accesses_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .access import Access @@ -14,7 +14,7 @@ class AccessesInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "accessesInFrame_RelStructure" - access: Iterable[Access] = field( + access: Sequence[Access] = field( default_factory=list, metadata={ "name": "Access", diff --git a/netex/models/accesses_rel_structure.py b/netex/models/accesses_rel_structure.py index f1f95186d..4086d04c4 100644 --- a/netex/models/accesses_rel_structure.py +++ b/netex/models/accesses_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .access import Access @@ -15,7 +15,7 @@ class AccessesRelStructure(ContainmentAggregationStructure): class Meta: name = "accesses_RelStructure" - access_ref_or_access: Iterable[AccessRef | Access] = field( + access_ref_or_access: Sequence[AccessRef | Access] = field( default_factory=list, metadata={ "type": "Elements", diff --git a/netex/models/accessibility_assessments_rel_structure.py b/netex/models/accessibility_assessments_rel_structure.py index d0d849eaf..9cc6c9bb4 100644 --- a/netex/models/accessibility_assessments_rel_structure.py +++ b/netex/models/accessibility_assessments_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .accessibility_assessment import AccessibilityAssessment @@ -18,7 +18,7 @@ class AccessibilityAssessmentsRelStructure( class Meta: name = "accessibilityAssessments_RelStructure" - accessibility_assessment: Iterable[AccessibilityAssessment] = field( + accessibility_assessment: Sequence[AccessibilityAssessment] = field( default_factory=list, metadata={ "name": "AccessibilityAssessment", diff --git a/netex/models/accessibility_info_facility_list.py b/netex/models/accessibility_info_facility_list.py index aefb4445c..6991043cc 100644 --- a/netex/models/accessibility_info_facility_list.py +++ b/netex/models/accessibility_info_facility_list.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .accessibility_info_facility_enumeration import ( @@ -15,7 +15,7 @@ class AccessibilityInfoFacilityList: class Meta: namespace = "http://www.netex.org.uk/netex" - value: Iterable[AccessibilityInfoFacilityEnumeration] = field( + value: Sequence[AccessibilityInfoFacilityEnumeration] = field( default_factory=list, metadata={ "tokens": True, diff --git a/netex/models/accessibility_tool_list.py b/netex/models/accessibility_tool_list.py index 126a3c2a6..cfa5cbeb9 100644 --- a/netex/models/accessibility_tool_list.py +++ b/netex/models/accessibility_tool_list.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .accessibility_tool_enumeration import AccessibilityToolEnumeration @@ -13,7 +13,7 @@ class AccessibilityToolList: class Meta: namespace = "http://www.netex.org.uk/netex" - value: Iterable[AccessibilityToolEnumeration] = field( + value: Sequence[AccessibilityToolEnumeration] = field( default_factory=list, metadata={ "tokens": True, diff --git a/netex/models/accommodation_access_list.py b/netex/models/accommodation_access_list.py index f9a2027ce..ad865e74e 100644 --- a/netex/models/accommodation_access_list.py +++ b/netex/models/accommodation_access_list.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .accommodation_access_enumeration import AccommodationAccessEnumeration @@ -13,7 +13,7 @@ class AccommodationAccessList: class Meta: namespace = "http://www.netex.org.uk/netex" - value: Iterable[AccommodationAccessEnumeration] = field( + value: Sequence[AccommodationAccessEnumeration] = field( default_factory=list, metadata={ "tokens": True, diff --git a/netex/models/accommodation_facility_list.py b/netex/models/accommodation_facility_list.py index 30791ddf1..2fffdea1f 100644 --- a/netex/models/accommodation_facility_list.py +++ b/netex/models/accommodation_facility_list.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .accommodation_facility_enumeration import ( @@ -15,7 +15,7 @@ class AccommodationFacilityList: class Meta: namespace = "http://www.netex.org.uk/netex" - value: Iterable[AccommodationFacilityEnumeration] = field( + value: Sequence[AccommodationFacilityEnumeration] = field( default_factory=lambda: [ AccommodationFacilityEnumeration.UNKNOWN, ], diff --git a/netex/models/accommodations_rel_structure.py b/netex/models/accommodations_rel_structure.py index f977779d9..b4e891ba4 100644 --- a/netex/models/accommodations_rel_structure.py +++ b/netex/models/accommodations_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .accommodation import Accommodation @@ -15,7 +15,7 @@ class AccommodationsRelStructure(ContainmentAggregationStructure): class Meta: name = "accommodations_RelStructure" - accommodation_ref_or_accommodation: Iterable[ + accommodation_ref_or_accommodation: Sequence[ AccommodationRef | Accommodation ] = field( default_factory=list, diff --git a/netex/models/activated_equipments_in_frame_rel_structure.py b/netex/models/activated_equipments_in_frame_rel_structure.py index dafec4388..ca19f5f3f 100644 --- a/netex/models/activated_equipments_in_frame_rel_structure.py +++ b/netex/models/activated_equipments_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .activated_equipment import ActivatedEquipment @@ -14,7 +14,7 @@ class ActivatedEquipmentsInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "activatedEquipmentsInFrame_RelStructure" - activated_equipment: Iterable[ActivatedEquipment] = field( + activated_equipment: Sequence[ActivatedEquipment] = field( default_factory=list, metadata={ "name": "ActivatedEquipment", diff --git a/netex/models/activation_assignments_rel_structure.py b/netex/models/activation_assignments_rel_structure.py index 47ff95644..16014b253 100644 --- a/netex/models/activation_assignments_rel_structure.py +++ b/netex/models/activation_assignments_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .activation_assignment import ActivationAssignment @@ -15,7 +15,7 @@ class ActivationAssignmentsRelStructure(ContainmentAggregationStructure): class Meta: name = "activationAssignments_RelStructure" - activation_assignment_ref_or_activation_assignment: Iterable[ + activation_assignment_ref_or_activation_assignment: Sequence[ ActivationAssignmentRef | ActivationAssignment ] = field( default_factory=list, diff --git a/netex/models/activation_links_in_frame_rel_structure.py b/netex/models/activation_links_in_frame_rel_structure.py index 037015953..707bf536c 100644 --- a/netex/models/activation_links_in_frame_rel_structure.py +++ b/netex/models/activation_links_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .activation_link import ActivationLink @@ -14,7 +14,7 @@ class ActivationLinksInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "activationLinksInFrame_RelStructure" - activation_link: Iterable[ActivationLink] = field( + activation_link: Sequence[ActivationLink] = field( default_factory=list, metadata={ "name": "ActivationLink", diff --git a/netex/models/activation_points_in_frame_rel_structure.py b/netex/models/activation_points_in_frame_rel_structure.py index cc570d931..71211937f 100644 --- a/netex/models/activation_points_in_frame_rel_structure.py +++ b/netex/models/activation_points_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .activation_point import ActivationPoint @@ -15,7 +15,7 @@ class ActivationPointsInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "activationPointsInFrame_RelStructure" - activation_point: Iterable[BeaconPoint | ActivationPoint] = field( + activation_point: Sequence[BeaconPoint | ActivationPoint] = field( default_factory=list, metadata={ "type": "Elements", diff --git a/netex/models/activation_type_refs_rel_structure.py b/netex/models/activation_type_refs_rel_structure.py index 44a334552..01196a96e 100644 --- a/netex/models/activation_type_refs_rel_structure.py +++ b/netex/models/activation_type_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .one_to_many_relationship_structure import OneToManyRelationshipStructure @@ -14,7 +14,7 @@ class ActivationTypeRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "activationTypeRefs_RelStructure" - type_of_activation_ref: Iterable[TypeOfActivationRef] = field( + type_of_activation_ref: Sequence[TypeOfActivationRef] = field( default_factory=list, metadata={ "name": "TypeOfActivationRef", diff --git a/netex/models/addresses_in_frame_rel_structure.py b/netex/models/addresses_in_frame_rel_structure.py index 32d146997..069573498 100644 --- a/netex/models/addresses_in_frame_rel_structure.py +++ b/netex/models/addresses_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -15,7 +15,7 @@ class AddressesInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "addressesInFrame_RelStructure" - address: Iterable[PostalAddress | RoadAddress] = field( + address: Sequence[PostalAddress | RoadAddress] = field( default_factory=list, metadata={ "type": "Elements", diff --git a/netex/models/administrative_zone_refs_rel_structure.py b/netex/models/administrative_zone_refs_rel_structure.py index 5c21f7df9..e714a8c36 100644 --- a/netex/models/administrative_zone_refs_rel_structure.py +++ b/netex/models/administrative_zone_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .administrative_zone_ref import AdministrativeZoneRef @@ -14,7 +14,7 @@ class AdministrativeZoneRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "administrativeZoneRefs_RelStructure" - administrative_zone_ref: Iterable[AdministrativeZoneRef] = field( + administrative_zone_ref: Sequence[AdministrativeZoneRef] = field( default_factory=list, metadata={ "name": "AdministrativeZoneRef", diff --git a/netex/models/administrative_zones_rel_structure.py b/netex/models/administrative_zones_rel_structure.py index f70ac16b0..9d60e2e4e 100644 --- a/netex/models/administrative_zones_rel_structure.py +++ b/netex/models/administrative_zones_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from typing import ForwardRef @@ -32,7 +32,7 @@ class AdministrativeZonesRelStructure(ContainmentAggregationStructure): class Meta: name = "administrativeZones_RelStructure" - administrative_zone_ref_or_transport_administrative_zone_or_administrative_zone: Iterable[ + administrative_zone_ref_or_transport_administrative_zone_or_administrative_zone: Sequence[ AdministrativeZoneRef | TransportAdministrativeZone | AdministrativeZone @@ -181,7 +181,7 @@ class TransportAdministrativeZoneVersionStructure( class Meta: name = "TransportAdministrativeZone_VersionStructure" - vehicle_modes: Iterable[AllModesEnumeration] = field( + vehicle_modes: Sequence[AllModesEnumeration] = field( default_factory=list, metadata={ "name": "VehicleModes", diff --git a/netex/models/allowed_line_direction_refs_rel_structure.py b/netex/models/allowed_line_direction_refs_rel_structure.py index a615c45dc..5bb39c437 100644 --- a/netex/models/allowed_line_direction_refs_rel_structure.py +++ b/netex/models/allowed_line_direction_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .allowed_line_direction_ref import AllowedLineDirectionRef @@ -14,7 +14,7 @@ class AllowedLineDirectionRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "allowedLineDirectionRefs_RelStructure" - allowed_line_direction_ref: Iterable[AllowedLineDirectionRef] = field( + allowed_line_direction_ref: Sequence[AllowedLineDirectionRef] = field( default_factory=list, metadata={ "name": "AllowedLineDirectionRef", diff --git a/netex/models/allowed_line_directions_rel_structure.py b/netex/models/allowed_line_directions_rel_structure.py index 7dafdc152..e380fa425 100644 --- a/netex/models/allowed_line_directions_rel_structure.py +++ b/netex/models/allowed_line_directions_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .allowed_line_direction import AllowedLineDirection @@ -15,7 +15,7 @@ class AllowedLineDirectionsRelStructure(ContainmentAggregationStructure): class Meta: name = "allowedLineDirections_RelStructure" - allowed_line_direction_ref_or_allowed_line_direction: Iterable[ + allowed_line_direction_ref_or_allowed_line_direction: Sequence[ AllowedLineDirectionRef | AllowedLineDirection ] = field( default_factory=list, diff --git a/netex/models/alternative_names_rel_structure.py b/netex/models/alternative_names_rel_structure.py index 218303418..d27c02cbc 100644 --- a/netex/models/alternative_names_rel_structure.py +++ b/netex/models/alternative_names_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .alternative_name import AlternativeName @@ -16,7 +16,7 @@ class AlternativeNamesRelStructure(StrictContainmentAggregationStructure): class Meta: name = "alternativeNames_RelStructure" - alternative_name: Iterable[AlternativeName] = field( + alternative_name: Sequence[AlternativeName] = field( default_factory=list, metadata={ "name": "AlternativeName", diff --git a/netex/models/amount_of_price_unit_refs_rel_structure.py b/netex/models/amount_of_price_unit_refs_rel_structure.py index 3873d1b72..071895b18 100644 --- a/netex/models/amount_of_price_unit_refs_rel_structure.py +++ b/netex/models/amount_of_price_unit_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .amount_of_price_unit_product_ref import AmountOfPriceUnitProductRef @@ -14,7 +14,7 @@ class AmountOfPriceUnitRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "amountOfPriceUnitRefs_RelStructure" - amount_of_price_unit_product_ref: Iterable[AmountOfPriceUnitProductRef] = ( + amount_of_price_unit_product_ref: Sequence[AmountOfPriceUnitProductRef] = ( field( default_factory=list, metadata={ diff --git a/netex/models/assistance_booking_services_rel_structure.py b/netex/models/assistance_booking_services_rel_structure.py index 3463d6e7f..7d19e0e7d 100644 --- a/netex/models/assistance_booking_services_rel_structure.py +++ b/netex/models/assistance_booking_services_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .assistance_booking_service import AssistanceBookingService @@ -15,7 +15,7 @@ class AssistanceBookingServicesRelStructure(ContainmentAggregationStructure): class Meta: name = "assistanceBookingServices_RelStructure" - assistance_booking_service_ref_or_assistance_booking_service: Iterable[ + assistance_booking_service_ref_or_assistance_booking_service: Sequence[ AssistanceBookingServiceRef | AssistanceBookingService ] = field( default_factory=list, diff --git a/netex/models/assistance_facility_list.py b/netex/models/assistance_facility_list.py index 3613f1fd5..91b83680f 100644 --- a/netex/models/assistance_facility_list.py +++ b/netex/models/assistance_facility_list.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .assistance_facility_enumeration import AssistanceFacilityEnumeration @@ -13,7 +13,7 @@ class AssistanceFacilityList: class Meta: namespace = "http://www.netex.org.uk/netex" - value: Iterable[AssistanceFacilityEnumeration] = field( + value: Sequence[AssistanceFacilityEnumeration] = field( default_factory=list, metadata={ "tokens": True, diff --git a/netex/models/assistance_service_version_structure.py b/netex/models/assistance_service_version_structure.py index f3621eb0d..9f2b29db7 100644 --- a/netex/models/assistance_service_version_structure.py +++ b/netex/models/assistance_service_version_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .accessibility_tool_enumeration import AccessibilityToolEnumeration @@ -45,7 +45,7 @@ class Meta: "namespace": "http://www.netex.org.uk/netex", }, ) - accessibility_tool_list: Iterable[AccessibilityToolEnumeration] = field( + accessibility_tool_list: Sequence[AccessibilityToolEnumeration] = field( default_factory=list, metadata={ "name": "AccessibilityToolList", @@ -54,7 +54,7 @@ class Meta: "tokens": True, }, ) - languages: Iterable[str] = field( + languages: Sequence[str] = field( default_factory=list, metadata={ "name": "Languages", @@ -71,7 +71,7 @@ class Meta: "namespace": "http://www.netex.org.uk/netex", }, ) - emergency_service_list: Iterable[EmergencyServiceEnumeration] = field( + emergency_service_list: Sequence[EmergencyServiceEnumeration] = field( default_factory=list, metadata={ "name": "EmergencyServiceList", @@ -80,7 +80,7 @@ class Meta: "tokens": True, }, ) - safety_facility_list: Iterable[SafetyFacilityEnumeration] = field( + safety_facility_list: Sequence[SafetyFacilityEnumeration] = field( default_factory=list, metadata={ "name": "SafetyFacilityList", diff --git a/netex/models/availability_conditions_rel_structure.py b/netex/models/availability_conditions_rel_structure.py index 9de4d1f83..ec0aef39a 100644 --- a/netex/models/availability_conditions_rel_structure.py +++ b/netex/models/availability_conditions_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .availability_condition_ref import AvailabilityConditionRef @@ -19,7 +19,7 @@ class AvailabilityConditionsRelStructure(ContainmentAggregationStructure): class Meta: name = "availabilityConditions_RelStructure" - choice: Iterable[ + choice: Sequence[ AvailabilityConditionRef | AvailabilityCondition | ValidDuring diff --git a/netex/models/blacklist_refs_rel_structure.py b/netex/models/blacklist_refs_rel_structure.py index 974492f96..2e4705448 100644 --- a/netex/models/blacklist_refs_rel_structure.py +++ b/netex/models/blacklist_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .blacklist_ref import BlacklistRef @@ -14,7 +14,7 @@ class BlacklistRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "blacklistRefs_RelStructure" - blacklist_ref: Iterable[BlacklistRef] = field( + blacklist_ref: Sequence[BlacklistRef] = field( default_factory=list, metadata={ "name": "BlacklistRef", diff --git a/netex/models/blacklists_in_frame_rel_structure.py b/netex/models/blacklists_in_frame_rel_structure.py index afc9d1cb6..56aec59e1 100644 --- a/netex/models/blacklists_in_frame_rel_structure.py +++ b/netex/models/blacklists_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .blacklist import Blacklist @@ -14,7 +14,7 @@ class BlacklistsInFrameRelStructure(FrameContainmentStructure): class Meta: name = "blacklistsInFrame_RelStructure" - blacklist: Iterable[Blacklist] = field( + blacklist: Sequence[Blacklist] = field( default_factory=list, metadata={ "name": "Blacklist", diff --git a/netex/models/blacklists_rel_structure.py b/netex/models/blacklists_rel_structure.py index 46a5844e8..6338d2fab 100644 --- a/netex/models/blacklists_rel_structure.py +++ b/netex/models/blacklists_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .blacklist import Blacklist @@ -15,7 +15,7 @@ class BlacklistsRelStructure(ContainmentAggregationStructure): class Meta: name = "blacklists_RelStructure" - blacklist_ref_or_blacklist: Iterable[BlacklistRef | Blacklist] = field( + blacklist_ref_or_blacklist: Sequence[BlacklistRef | Blacklist] = field( default_factory=list, metadata={ "type": "Elements", diff --git a/netex/models/block_parts_rel_structure.py b/netex/models/block_parts_rel_structure.py index dc3aad16c..084c1de80 100644 --- a/netex/models/block_parts_rel_structure.py +++ b/netex/models/block_parts_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .block_part import BlockPart @@ -17,7 +17,7 @@ class BlockPartsRelStructure(ContainmentAggregationStructure): class Meta: name = "blockParts_RelStructure" - choice: Iterable[ + choice: Sequence[ TrainBlockPartRef | BlockPartRef | BlockPart | TrainBlockPart ] = field( default_factory=list, diff --git a/netex/models/blocks_in_frame_rel_structure.py b/netex/models/blocks_in_frame_rel_structure.py index 9a661ceb9..b4335e0e0 100644 --- a/netex/models/blocks_in_frame_rel_structure.py +++ b/netex/models/blocks_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .block import Block @@ -16,7 +16,7 @@ class BlocksInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "blocksInFrame_RelStructure" - block_or_compound_block_or_train_block: Iterable[ + block_or_compound_block_or_train_block: Sequence[ Block | CompoundBlock | TrainBlock ] = field( default_factory=list, diff --git a/netex/models/boarding_position_refs_rel_structure.py b/netex/models/boarding_position_refs_rel_structure.py index 2ea46e2af..d51927775 100644 --- a/netex/models/boarding_position_refs_rel_structure.py +++ b/netex/models/boarding_position_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .boarding_position_ref import BoardingPositionRef @@ -14,7 +14,7 @@ class BoardingPositionRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "boardingPositionRefs_RelStructure" - boarding_position_ref: Iterable[BoardingPositionRef] = field( + boarding_position_ref: Sequence[BoardingPositionRef] = field( default_factory=list, metadata={ "name": "BoardingPositionRef", diff --git a/netex/models/boarding_positions_rel_structure.py b/netex/models/boarding_positions_rel_structure.py index 916c70e52..3cfa4e510 100644 --- a/netex/models/boarding_positions_rel_structure.py +++ b/netex/models/boarding_positions_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .boarding_position import BoardingPosition @@ -15,7 +15,7 @@ class BoardingPositionsRelStructure(ContainmentAggregationStructure): class Meta: name = "boardingPositions_RelStructure" - boarding_position_ref_or_boarding_position: Iterable[ + boarding_position_ref_or_boarding_position: Sequence[ BoardingPositionRef | BoardingPosition ] = field( default_factory=list, diff --git a/netex/models/booking_arrangements_structure.py b/netex/models/booking_arrangements_structure.py index db67ea314..4348cec1f 100644 --- a/netex/models/booking_arrangements_structure.py +++ b/netex/models/booking_arrangements_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from xsdata.models.datatype import XmlDuration, XmlTime @@ -25,7 +25,7 @@ class BookingArrangementsStructure: "namespace": "http://www.netex.org.uk/netex", }, ) - booking_methods: Iterable[BookingMethodEnumeration] = field( + booking_methods: Sequence[BookingMethodEnumeration] = field( default_factory=list, metadata={ "name": "BookingMethods", @@ -50,7 +50,7 @@ class BookingArrangementsStructure: "namespace": "http://www.netex.org.uk/netex", }, ) - buy_when: Iterable[PurchaseMomentEnumeration] = field( + buy_when: Sequence[PurchaseMomentEnumeration] = field( default_factory=list, metadata={ "name": "BuyWhen", diff --git a/netex/models/booking_policy_version_structure.py b/netex/models/booking_policy_version_structure.py index fe0900e4f..b0df3d0e7 100644 --- a/netex/models/booking_policy_version_structure.py +++ b/netex/models/booking_policy_version_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .booking_method_enumeration import BookingMethodEnumeration @@ -14,7 +14,7 @@ class BookingPolicyVersionStructure(UsageParameterVersionStructure): class Meta: name = "BookingPolicy_VersionStructure" - booking_methods: Iterable[BookingMethodEnumeration] = field( + booking_methods: Sequence[BookingMethodEnumeration] = field( default_factory=list, metadata={ "name": "BookingMethods", diff --git a/netex/models/booking_process_facility_list.py b/netex/models/booking_process_facility_list.py index c9ed5407d..e16ab2f14 100644 --- a/netex/models/booking_process_facility_list.py +++ b/netex/models/booking_process_facility_list.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .booking_process_enumeration import BookingProcessEnumeration @@ -13,7 +13,7 @@ class BookingProcessFacilityList: class Meta: namespace = "http://www.netex.org.uk/netex" - value: Iterable[BookingProcessEnumeration] = field( + value: Sequence[BookingProcessEnumeration] = field( default_factory=list, metadata={ "tokens": True, diff --git a/netex/models/border_points_in_frame_rel_structure.py b/netex/models/border_points_in_frame_rel_structure.py index 66e1e9521..5d4d2a03e 100644 --- a/netex/models/border_points_in_frame_rel_structure.py +++ b/netex/models/border_points_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .border_point import BorderPoint @@ -14,7 +14,7 @@ class BorderPointsInFrameRelStructure(FrameContainmentStructure): class Meta: name = "borderPointsInFrame_RelStructure" - border_point: Iterable[BorderPoint] = field( + border_point: Sequence[BorderPoint] = field( default_factory=list, metadata={ "name": "BorderPoint", diff --git a/netex/models/calls_rel_structure.py b/netex/models/calls_rel_structure.py index 4ed403be3..24c9bb24c 100644 --- a/netex/models/calls_rel_structure.py +++ b/netex/models/calls_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .call import Call @@ -17,7 +17,7 @@ class CallsRelStructure(StrictContainmentAggregationStructure): class Meta: name = "calls_RelStructure" - call: Iterable[DatedCall | Call] = field( + call: Sequence[DatedCall | Call] = field( default_factory=list, metadata={ "type": "Elements", diff --git a/netex/models/capability_request_policy_structure.py b/netex/models/capability_request_policy_structure.py index 4cb68a038..ed1fdda3f 100644 --- a/netex/models/capability_request_policy_structure.py +++ b/netex/models/capability_request_policy_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .empty_type_1 import EmptyType1 @@ -10,7 +10,7 @@ @dataclass(kw_only=True) class CapabilityRequestPolicyStructure: - national_language: Iterable[str] = field( + national_language: Sequence[str] = field( default_factory=list, metadata={ "name": "NationalLanguage", diff --git a/netex/models/capping_rule_prices_rel_structure.py b/netex/models/capping_rule_prices_rel_structure.py index 5bc5eb52d..e13a155f4 100644 --- a/netex/models/capping_rule_prices_rel_structure.py +++ b/netex/models/capping_rule_prices_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .capping_rule_price import CappingRulePrice @@ -18,7 +18,7 @@ class CappingRulePricesRelStructure(StrictContainmentAggregationStructure): class Meta: name = "cappingRulePrices_RelStructure" - capping_rule_price_ref_or_cell_ref_or_capping_rule_price: Iterable[ + capping_rule_price_ref_or_cell_ref_or_capping_rule_price: Sequence[ CappingRulePriceRef | CellRef | CappingRulePrice ] = field( default_factory=list, diff --git a/netex/models/capping_rule_versioned_child_structure.py b/netex/models/capping_rule_versioned_child_structure.py index fd898f6a1..201ee55d7 100644 --- a/netex/models/capping_rule_versioned_child_structure.py +++ b/netex/models/capping_rule_versioned_child_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from decimal import Decimal @@ -41,7 +41,7 @@ class Meta: "namespace": "http://www.netex.org.uk/netex", }, ) - capped_discount_right_ref: Iterable[CappedDiscountRightRef] = field( + capped_discount_right_ref: Sequence[CappedDiscountRightRef] = field( default_factory=list, metadata={ "name": "CappedDiscountRightRef", @@ -49,7 +49,7 @@ class Meta: "namespace": "http://www.netex.org.uk/netex", }, ) - preassigned_fare_product_ref: Iterable[ + preassigned_fare_product_ref: Sequence[ SupplementProductRef | PreassignedFareProductRef ] = field( default_factory=list, diff --git a/netex/models/capping_rules_rel_structure.py b/netex/models/capping_rules_rel_structure.py index 1648bedbf..be1f9367e 100644 --- a/netex/models/capping_rules_rel_structure.py +++ b/netex/models/capping_rules_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .capping_rule import CappingRule @@ -16,7 +16,7 @@ class CappingRulesRelStructure(StrictContainmentAggregationStructure): class Meta: name = "cappingRules_RelStructure" - capping_rule: Iterable[CappingRule] = field( + capping_rule: Sequence[CappingRule] = field( default_factory=list, metadata={ "name": "CappingRule", diff --git a/netex/models/car_service_facility_list.py b/netex/models/car_service_facility_list.py index c3371a0f3..39acb1f1b 100644 --- a/netex/models/car_service_facility_list.py +++ b/netex/models/car_service_facility_list.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .car_service_facility_enumeration import CarServiceFacilityEnumeration @@ -13,7 +13,7 @@ class CarServiceFacilityList: class Meta: namespace = "http://www.netex.org.uk/netex" - value: Iterable[CarServiceFacilityEnumeration] = field( + value: Sequence[CarServiceFacilityEnumeration] = field( default_factory=list, metadata={ "tokens": True, diff --git a/netex/models/catering_facility_list.py b/netex/models/catering_facility_list.py index 81109c50b..71350c6b9 100644 --- a/netex/models/catering_facility_list.py +++ b/netex/models/catering_facility_list.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .catering_facility_enumeration import CateringFacilityEnumeration @@ -13,7 +13,7 @@ class CateringFacilityList: class Meta: namespace = "http://www.netex.org.uk/netex" - value: Iterable[CateringFacilityEnumeration] = field( + value: Sequence[CateringFacilityEnumeration] = field( default_factory=list, metadata={ "tokens": True, diff --git a/netex/models/catering_service_version_structure.py b/netex/models/catering_service_version_structure.py index 08bb18e2c..d691b2c36 100644 --- a/netex/models/catering_service_version_structure.py +++ b/netex/models/catering_service_version_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .catering_service_enumeration import CateringServiceEnumeration @@ -14,7 +14,7 @@ class CateringServiceVersionStructure(LocalServiceVersionStructure): class Meta: name = "CateringService_VersionStructure" - service_list: Iterable[CateringServiceEnumeration] = field( + service_list: Sequence[CateringServiceEnumeration] = field( default_factory=list, metadata={ "name": "ServiceList", diff --git a/netex/models/cell_refs_rel_structure.py b/netex/models/cell_refs_rel_structure.py index d01858ad8..6536e4dbf 100644 --- a/netex/models/cell_refs_rel_structure.py +++ b/netex/models/cell_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .cell_ref import CellRef @@ -16,7 +16,7 @@ class CellRefsRelStructure(StrictContainmentAggregationStructure): class Meta: name = "cellRefs_RelStructure" - cell_ref: Iterable[CellRef] = field( + cell_ref: Sequence[CellRef] = field( default_factory=list, metadata={ "name": "CellRef", diff --git a/netex/models/charging_equipmen_profiles_in_frame_rel_structure.py b/netex/models/charging_equipmen_profiles_in_frame_rel_structure.py index 269a9ab26..014120242 100644 --- a/netex/models/charging_equipmen_profiles_in_frame_rel_structure.py +++ b/netex/models/charging_equipmen_profiles_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .charging_equipment_profile import ChargingEquipmentProfile @@ -16,7 +16,7 @@ class ChargingEquipmenProfilesInFrameRelStructure( class Meta: name = "chargingEquipmenProfilesInFrame_RelStructure" - charging_equipment_profile: Iterable[ChargingEquipmentProfile] = field( + charging_equipment_profile: Sequence[ChargingEquipmentProfile] = field( default_factory=list, metadata={ "name": "ChargingEquipmentProfile", diff --git a/netex/models/check_constraint_delays_in_frame_rel_structure.py b/netex/models/check_constraint_delays_in_frame_rel_structure.py index e375c3aef..f91414a21 100644 --- a/netex/models/check_constraint_delays_in_frame_rel_structure.py +++ b/netex/models/check_constraint_delays_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .check_constraint_delay import CheckConstraintDelay @@ -16,7 +16,7 @@ class CheckConstraintDelaysInFrameRelStructure( class Meta: name = "checkConstraintDelaysInFrame_RelStructure" - check_constraint_delay: Iterable[CheckConstraintDelay] = field( + check_constraint_delay: Sequence[CheckConstraintDelay] = field( default_factory=list, metadata={ "name": "CheckConstraintDelay", diff --git a/netex/models/check_constraint_delays_rel_structure.py b/netex/models/check_constraint_delays_rel_structure.py index 7c981e84f..c0420f7bc 100644 --- a/netex/models/check_constraint_delays_rel_structure.py +++ b/netex/models/check_constraint_delays_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .check_constraint_delay import CheckConstraintDelay @@ -17,7 +17,7 @@ class CheckConstraintDelaysRelStructure(StrictContainmentAggregationStructure): class Meta: name = "checkConstraintDelays_RelStructure" - check_constraint_delay_ref_or_check_constraint_delay: Iterable[ + check_constraint_delay_ref_or_check_constraint_delay: Sequence[ CheckConstraintDelayRef | CheckConstraintDelay ] = field( default_factory=list, diff --git a/netex/models/check_constraint_in_frame_rel_structure.py b/netex/models/check_constraint_in_frame_rel_structure.py index 6e46d8691..5f636aed0 100644 --- a/netex/models/check_constraint_in_frame_rel_structure.py +++ b/netex/models/check_constraint_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .check_constraint import CheckConstraint @@ -14,7 +14,7 @@ class CheckConstraintInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "checkConstraintInFrame_RelStructure" - check_constraint: Iterable[CheckConstraint] = field( + check_constraint: Sequence[CheckConstraint] = field( default_factory=list, metadata={ "name": "CheckConstraint", diff --git a/netex/models/check_constraint_throughputs_in_frame_rel_structure.py b/netex/models/check_constraint_throughputs_in_frame_rel_structure.py index a16020222..cc4850fb3 100644 --- a/netex/models/check_constraint_throughputs_in_frame_rel_structure.py +++ b/netex/models/check_constraint_throughputs_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .check_constraint_delay import CheckConstraintDelay @@ -16,7 +16,7 @@ class CheckConstraintThroughputsInFrameRelStructure( class Meta: name = "checkConstraintThroughputsInFrame_RelStructure" - check_constraint_delay: Iterable[CheckConstraintDelay] = field( + check_constraint_delay: Sequence[CheckConstraintDelay] = field( default_factory=list, metadata={ "name": "CheckConstraintDelay", diff --git a/netex/models/check_constraint_throughputs_rel_structure.py b/netex/models/check_constraint_throughputs_rel_structure.py index 3c47696f3..2749c1898 100644 --- a/netex/models/check_constraint_throughputs_rel_structure.py +++ b/netex/models/check_constraint_throughputs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .check_constraint_throughput import CheckConstraintThroughput @@ -19,7 +19,7 @@ class CheckConstraintThroughputsRelStructure( class Meta: name = "checkConstraintThroughputs_RelStructure" - check_constraint_throughput_ref_or_check_constraint_throughput: Iterable[ + check_constraint_throughput_ref_or_check_constraint_throughput: Sequence[ CheckConstraintThroughputRef | CheckConstraintThroughput ] = field( default_factory=list, diff --git a/netex/models/check_constraints_rel_structure.py b/netex/models/check_constraints_rel_structure.py index 7477ffca9..fbfed276e 100644 --- a/netex/models/check_constraints_rel_structure.py +++ b/netex/models/check_constraints_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .check_constraint import CheckConstraint @@ -15,7 +15,7 @@ class CheckConstraintsRelStructure(ContainmentAggregationStructure): class Meta: name = "checkConstraints_RelStructure" - check_constraint_ref_or_check_constraint: Iterable[ + check_constraint_ref_or_check_constraint: Sequence[ CheckConstraintRef | CheckConstraint ] = field( default_factory=list, diff --git a/netex/models/class_in_frame_refs_rel_structure.py b/netex/models/class_in_frame_refs_rel_structure.py index 74cc05379..b5a29a177 100644 --- a/netex/models/class_in_frame_refs_rel_structure.py +++ b/netex/models/class_in_frame_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .class_in_frame_ref import ClassInFrameRef @@ -14,7 +14,7 @@ class ClassInFrameRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "ClassInFrameRefs_RelStructure" - class_in_frame_ref: Iterable[ClassInFrameRef] = field( + class_in_frame_ref: Sequence[ClassInFrameRef] = field( default_factory=list, metadata={ "name": "ClassInFrameRef", diff --git a/netex/models/class_in_frame_structure.py b/netex/models/class_in_frame_structure.py index 7a20c8c53..b9543e938 100644 --- a/netex/models/class_in_frame_structure.py +++ b/netex/models/class_in_frame_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .class_attribute_in_frame import ClassAttributeInFrame @@ -62,7 +62,7 @@ class ClassInFrameStructure: @dataclass(kw_only=True) class Attributes: - class_attribute_in_frame: Iterable[ClassAttributeInFrame] = field( + class_attribute_in_frame: Sequence[ClassAttributeInFrame] = field( default_factory=list, metadata={ "name": "ClassAttributeInFrame", @@ -74,7 +74,7 @@ class Attributes: @dataclass(kw_only=True) class Relationships: - class_relationship_in_frame: Iterable[ClassRelationshipInFrame] = ( + class_relationship_in_frame: Sequence[ClassRelationshipInFrame] = ( field( default_factory=list, metadata={ diff --git a/netex/models/class_refs_rel_structure.py b/netex/models/class_refs_rel_structure.py index 87be8493c..dc4fed7e3 100644 --- a/netex/models/class_refs_rel_structure.py +++ b/netex/models/class_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .class_in_frame_ref import ClassInFrameRef @@ -15,7 +15,7 @@ class ClassRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "classRefs_RelStructure" - class_ref: Iterable[ClassInFrameRef | ClassRef] = field( + class_ref: Sequence[ClassInFrameRef | ClassRef] = field( default_factory=list, metadata={ "type": "Elements", diff --git a/netex/models/classes_in_repository_rel_structure.py b/netex/models/classes_in_repository_rel_structure.py index c82d1af25..7316637d5 100644 --- a/netex/models/classes_in_repository_rel_structure.py +++ b/netex/models/classes_in_repository_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .class_in_frame import ClassInFrame @@ -15,7 +15,7 @@ class ClassesInRepositoryRelStructure(OneToManyRelationshipStructure): class Meta: name = "classesInRepository_RelStructure" - class_in_frame_ref_or_class_in_frame: Iterable[ + class_in_frame_ref_or_class_in_frame: Sequence[ ClassInFrameRef | ClassInFrame ] = field( default_factory=list, diff --git a/netex/models/classification_descriptors_rel_structure.py b/netex/models/classification_descriptors_rel_structure.py index 1f19fae9d..a28cabce2 100644 --- a/netex/models/classification_descriptors_rel_structure.py +++ b/netex/models/classification_descriptors_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .classification_descriptor_version_structure import ( @@ -20,7 +20,7 @@ class ClassificationDescriptorsRelStructure( class Meta: name = "classificationDescriptors_RelStructure" - classification_descriptor: Iterable[ + classification_descriptor: Sequence[ ClassificationDescriptorVersionStructure ] = field( default_factory=list, diff --git a/netex/models/code_list_type.py b/netex/models/code_list_type.py index 6cac2b610..ad8fe86d2 100644 --- a/netex/models/code_list_type.py +++ b/netex/models/code_list_type.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field __NAMESPACE__ = "http://www.opengis.net/gml/3.2" @@ -8,7 +8,7 @@ @dataclass(kw_only=True) class CodeListType: - value: Iterable[str] = field( + value: Sequence[str] = field( default_factory=list, metadata={ "tokens": True, diff --git a/netex/models/code_or_nil_reason_list_type.py b/netex/models/code_or_nil_reason_list_type.py index bdbc84725..c969314b9 100644 --- a/netex/models/code_or_nil_reason_list_type.py +++ b/netex/models/code_or_nil_reason_list_type.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .nil_reason_enumeration_value import NilReasonEnumerationValue @@ -10,7 +10,7 @@ @dataclass(kw_only=True) class CodeOrNilReasonListType: - value: Iterable[str | NilReasonEnumerationValue] = field( + value: Sequence[str | NilReasonEnumerationValue] = field( default_factory=list, metadata={ "pattern": r"other:\w{2,}", diff --git a/netex/models/codespace_assignment_versioned_child_structure.py b/netex/models/codespace_assignment_versioned_child_structure.py index d1d3ec4cf..c29af70e8 100644 --- a/netex/models/codespace_assignment_versioned_child_structure.py +++ b/netex/models/codespace_assignment_versioned_child_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from typing import ForwardRef @@ -71,7 +71,7 @@ class Meta: "namespace": "http://www.netex.org.uk/netex", }, ) - code_prefix: Iterable[str] = field( + code_prefix: Sequence[str] = field( default_factory=list, metadata={ "name": "CodePrefix", @@ -79,7 +79,7 @@ class Meta: "namespace": "http://www.netex.org.uk/netex", }, ) - start_value_or_end_value: Iterable[ + start_value_or_end_value: Sequence[ CodespaceAssignmentVersionedChildStructure.StartValue | CodespaceAssignmentVersionedChildStructure.EndValue ] = field( diff --git a/netex/models/codespace_assignments_rel_structure.py b/netex/models/codespace_assignments_rel_structure.py index 80b613969..48db7d1a4 100644 --- a/netex/models/codespace_assignments_rel_structure.py +++ b/netex/models/codespace_assignments_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .codespace_assignment_versioned_child_structure import ( @@ -18,7 +18,7 @@ class CodespaceAssignmentsRelStructure(StrictContainmentAggregationStructure): class Meta: name = "codespaceAssignments_RelStructure" - codespace_assignment: Iterable[ + codespace_assignment: Sequence[ CodespaceAssignmentVersionedChildStructure ] = field( default_factory=list, diff --git a/netex/models/codespaces_in_frame_rel_structure.py b/netex/models/codespaces_in_frame_rel_structure.py index d003e53e5..8076fc1d6 100644 --- a/netex/models/codespaces_in_frame_rel_structure.py +++ b/netex/models/codespaces_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .codespace import Codespace @@ -14,7 +14,7 @@ class CodespacesInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "codespacesInFrame_RelStructure" - codespace: Iterable[Codespace] = field( + codespace: Sequence[Codespace] = field( default_factory=list, metadata={ "name": "Codespace", diff --git a/netex/models/codespaces_rel_structure.py b/netex/models/codespaces_rel_structure.py index 70b7ea04b..aaeb1e5c3 100644 --- a/netex/models/codespaces_rel_structure.py +++ b/netex/models/codespaces_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .codespace import Codespace @@ -15,7 +15,7 @@ class CodespacesRelStructure(OneToManyRelationshipStructure): class Meta: name = "codespaces_RelStructure" - codespace_ref_or_codespace: Iterable[CodespaceRef | Codespace] = field( + codespace_ref_or_codespace: Sequence[CodespaceRef | Codespace] = field( default_factory=list, metadata={ "type": "Elements", diff --git a/netex/models/common_section_point_members_rel_structure.py b/netex/models/common_section_point_members_rel_structure.py index 47ec6fcb6..5b29fb0f6 100644 --- a/netex/models/common_section_point_members_rel_structure.py +++ b/netex/models/common_section_point_members_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .common_section_point_member import CommonSectionPointMember @@ -19,7 +19,7 @@ class CommonSectionPointMembersRelStructure( class Meta: name = "commonSectionPointMembers_RelStructure" - common_section_point_member: Iterable[ + common_section_point_member: Sequence[ LineSectionPointMember | CommonSectionPointMember ] = field( default_factory=list, diff --git a/netex/models/common_sections_in_frame_rel_structure.py b/netex/models/common_sections_in_frame_rel_structure.py index a5be6756a..bbe63aa94 100644 --- a/netex/models/common_sections_in_frame_rel_structure.py +++ b/netex/models/common_sections_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class CommonSectionsInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "commonSectionsInFrame_RelStructure" - common_section: Iterable[CommonSection] = field( + common_section: Sequence[CommonSection] = field( default_factory=list, metadata={ "name": "CommonSection", diff --git a/netex/models/common_vehicle_service_refs_rel_structure.py b/netex/models/common_vehicle_service_refs_rel_structure.py index 5a2b5c5b3..d08350bb2 100644 --- a/netex/models/common_vehicle_service_refs_rel_structure.py +++ b/netex/models/common_vehicle_service_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .car_pooling_service_ref import CarPoolingServiceRef @@ -18,7 +18,7 @@ class CommonVehicleServiceRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "commonVehicleServiceRefs_RelStructure" - common_vehicle_service_ref_or_vehicle_pooling_service_ref: Iterable[ + common_vehicle_service_ref_or_vehicle_pooling_service_ref: Sequence[ VehicleRentalServiceRef | VehicleSharingServiceRef | ChauffeuredVehicleServiceRef diff --git a/netex/models/communication_service_version_structure.py b/netex/models/communication_service_version_structure.py index 3914ab37c..7ee6cd9a0 100644 --- a/netex/models/communication_service_version_structure.py +++ b/netex/models/communication_service_version_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .communication_service_enumeration import CommunicationServiceEnumeration @@ -14,7 +14,7 @@ class CommunicationServiceVersionStructure(LocalServiceVersionStructure): class Meta: name = "CommunicationService_VersionStructure" - service_list: Iterable[CommunicationServiceEnumeration] = field( + service_list: Sequence[CommunicationServiceEnumeration] = field( default_factory=list, metadata={ "name": "ServiceList", diff --git a/netex/models/companion_profiles_rel_structure.py b/netex/models/companion_profiles_rel_structure.py index 00552db7f..ab30ca9b6 100644 --- a/netex/models/companion_profiles_rel_structure.py +++ b/netex/models/companion_profiles_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .companion_profile import CompanionProfile @@ -15,7 +15,7 @@ class CompanionProfilesRelStructure(OneToManyRelationshipStructure): class Meta: name = "companionProfiles_RelStructure" - companion_profile_ref_or_companion_profile: Iterable[ + companion_profile_ref_or_companion_profile: Sequence[ CompanionProfileRef | CompanionProfile ] = field( default_factory=list, diff --git a/netex/models/complex_feature_members_rel_structure.py b/netex/models/complex_feature_members_rel_structure.py index 18421cffc..4729b3e4e 100644 --- a/netex/models/complex_feature_members_rel_structure.py +++ b/netex/models/complex_feature_members_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .complex_feature_member_versioned_child_structure import ( @@ -16,7 +16,7 @@ class ComplexFeatureMembersRelStructure(ContainmentAggregationStructure): class Meta: name = "complexFeatureMembers_RelStructure" - complex_feature_member: Iterable[ + complex_feature_member: Sequence[ ComplexFeatureMemberVersionedChildStructure ] = field( default_factory=list, diff --git a/netex/models/complex_feature_projection_version_structure.py b/netex/models/complex_feature_projection_version_structure.py index ce745087e..239160b41 100644 --- a/netex/models/complex_feature_projection_version_structure.py +++ b/netex/models/complex_feature_projection_version_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .activation_point_ref import ActivationPointRef @@ -47,7 +47,7 @@ class Meta: "namespace": "http://www.netex.org.uk/netex", }, ) - choice: Iterable[ + choice: Sequence[ VehicleMeetingPointRef | WirePointRef | RoadPointRef diff --git a/netex/models/composite_prices_rel_structure.py b/netex/models/composite_prices_rel_structure.py index 9f2ad99c4..bd317b4e0 100644 --- a/netex/models/composite_prices_rel_structure.py +++ b/netex/models/composite_prices_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .capping_rule_price import CappingRulePrice @@ -56,7 +56,7 @@ class CompositePricesRelStructure(StrictContainmentAggregationStructure): class Meta: name = "compositePrices_RelStructure" - choice: Iterable[ + choice: Sequence[ CustomerPurchasePackagePriceRef | ParkingPriceRef | TimeIntervalPriceRef diff --git a/netex/models/contact_refs_rel_structure.py b/netex/models/contact_refs_rel_structure.py index 30b117b7d..946a8f402 100644 --- a/netex/models/contact_refs_rel_structure.py +++ b/netex/models/contact_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .contact_ref import ContactRef @@ -14,7 +14,7 @@ class ContactRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "contactRefs_RelStructure" - contact_ref: Iterable[ContactRef] = field( + contact_ref: Sequence[ContactRef] = field( default_factory=list, metadata={ "name": "ContactRef", diff --git a/netex/models/contained_availability_conditions_rel_structure.py b/netex/models/contained_availability_conditions_rel_structure.py index 82f7011f1..b0a49d6a0 100644 --- a/netex/models/contained_availability_conditions_rel_structure.py +++ b/netex/models/contained_availability_conditions_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -16,7 +16,7 @@ class ContainedAvailabilityConditionsRelStructure( class Meta: name = "containedAvailabilityConditions_RelStructure" - availability_condition: Iterable[AvailabilityCondition] = field( + availability_condition: Sequence[AvailabilityCondition] = field( default_factory=list, metadata={ "name": "AvailabilityCondition", diff --git a/netex/models/contract_refs_rel_structure.py b/netex/models/contract_refs_rel_structure.py index 6fde33015..152db8cd4 100644 --- a/netex/models/contract_refs_rel_structure.py +++ b/netex/models/contract_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .fare_contract_ref import FareContractRef @@ -14,7 +14,7 @@ class ContractRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "contractRefs_RelStructure" - fare_contract_ref: Iterable[FareContractRef] = field( + fare_contract_ref: Sequence[FareContractRef] = field( default_factory=list, metadata={ "name": "FareContractRef", diff --git a/netex/models/control_centres_in_frame_rel_structure.py b/netex/models/control_centres_in_frame_rel_structure.py index 75a1bacbb..0316ff6cf 100644 --- a/netex/models/control_centres_in_frame_rel_structure.py +++ b/netex/models/control_centres_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class ControlCentresInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "controlCentresInFrame_RelStructure" - control_centre: Iterable[ControlCentre] = field( + control_centre: Sequence[ControlCentre] = field( default_factory=list, metadata={ "name": "ControlCentre", diff --git a/netex/models/control_centres_rel_structure.py b/netex/models/control_centres_rel_structure.py index 66be70b88..c3da6dfe3 100644 --- a/netex/models/control_centres_rel_structure.py +++ b/netex/models/control_centres_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -15,7 +15,7 @@ class ControlCentresRelStructure(ContainmentAggregationStructure): class Meta: name = "ControlCentres_RelStructure" - control_centre_ref_or_control_centre: Iterable[ + control_centre_ref_or_control_centre: Sequence[ ControlCentreRef | ControlCentre ] = field( default_factory=list, diff --git a/netex/models/controllable_element_prices_rel_structure.py b/netex/models/controllable_element_prices_rel_structure.py index a60eef0e2..f5512ab14 100644 --- a/netex/models/controllable_element_prices_rel_structure.py +++ b/netex/models/controllable_element_prices_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .cell_ref import CellRef @@ -20,7 +20,7 @@ class ControllableElementPricesRelStructure( class Meta: name = "controllableElementPrices_RelStructure" - controllable_element_price_ref_or_cell_ref_or_controllable_element_price: Iterable[ + controllable_element_price_ref_or_cell_ref_or_controllable_element_price: Sequence[ ControllableElementPriceRef | CellRef | ControllableElementPrice ] = field( default_factory=list, diff --git a/netex/models/controllable_elements_in_frame_rel_structure.py b/netex/models/controllable_elements_in_frame_rel_structure.py index 633c4c086..4c4012a33 100644 --- a/netex/models/controllable_elements_in_frame_rel_structure.py +++ b/netex/models/controllable_elements_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .controllable_element import ControllableElement @@ -14,7 +14,7 @@ class ControllableElementsInFrameRelStructure(FrameContainmentStructure): class Meta: name = "controllableElementsInFrame_RelStructure" - controllable_element: Iterable[ControllableElement] = field( + controllable_element: Sequence[ControllableElement] = field( default_factory=list, metadata={ "name": "ControllableElement", diff --git a/netex/models/controllable_elements_in_sequence_rel_structure.py b/netex/models/controllable_elements_in_sequence_rel_structure.py index d17552750..981c53277 100644 --- a/netex/models/controllable_elements_in_sequence_rel_structure.py +++ b/netex/models/controllable_elements_in_sequence_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .controllable_element_in_sequence import ControllableElementInSequence @@ -21,7 +21,7 @@ class ControllableElementsInSequenceRelStructure( class Meta: name = "controllableElementsInSequence_RelStructure" - controllable_element_in_sequence_ref_or_controllable_element_in_sequence: Iterable[ + controllable_element_in_sequence_ref_or_controllable_element_in_sequence: Sequence[ ControllableElementInSequenceRef | ControllableElementInSequence ] = field( default_factory=list, diff --git a/netex/models/controllable_elements_rel_structure.py b/netex/models/controllable_elements_rel_structure.py index e8068358a..ff2dc236a 100644 --- a/netex/models/controllable_elements_rel_structure.py +++ b/netex/models/controllable_elements_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .controllable_element import ControllableElement @@ -17,7 +17,7 @@ class ControllableElementsRelStructure(StrictContainmentAggregationStructure): class Meta: name = "controllableElements_RelStructure" - controllable_element_ref_or_controllable_element: Iterable[ + controllable_element_ref_or_controllable_element: Sequence[ ControllableElementRef | ControllableElement ] = field( default_factory=list, diff --git a/netex/models/coordinates_structure.py b/netex/models/coordinates_structure.py index a0c637f44..1b1988c72 100644 --- a/netex/models/coordinates_structure.py +++ b/netex/models/coordinates_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field __NAMESPACE__ = "http://www.siri.org.uk/siri" @@ -8,7 +8,7 @@ @dataclass(kw_only=True) class CoordinatesStructure: - value: Iterable[str] = field( + value: Sequence[str] = field( default_factory=list, metadata={ "tokens": True, diff --git a/netex/models/couchette_facility_list.py b/netex/models/couchette_facility_list.py index 055d729d2..29fdcb22d 100644 --- a/netex/models/couchette_facility_list.py +++ b/netex/models/couchette_facility_list.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .couchette_facility_enumeration import CouchetteFacilityEnumeration @@ -13,7 +13,7 @@ class CouchetteFacilityList: class Meta: namespace = "http://www.netex.org.uk/netex" - value: Iterable[CouchetteFacilityEnumeration] = field( + value: Sequence[CouchetteFacilityEnumeration] = field( default_factory=lambda: [ CouchetteFacilityEnumeration.UNKNOWN, ], diff --git a/netex/models/countries_in_frame_rel_structure.py b/netex/models/countries_in_frame_rel_structure.py index d3d6b9131..d976d0224 100644 --- a/netex/models/countries_in_frame_rel_structure.py +++ b/netex/models/countries_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class CountriesInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "countriesInFrame_RelStructure" - country: Iterable[Country] = field( + country: Sequence[Country] = field( default_factory=list, metadata={ "name": "Country", diff --git a/netex/models/country_refs_rel_structure.py b/netex/models/country_refs_rel_structure.py index a7462b293..2c33e433c 100644 --- a/netex/models/country_refs_rel_structure.py +++ b/netex/models/country_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .country_ref import CountryRef @@ -14,7 +14,7 @@ class CountryRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "countryRefs_RelStructure" - country_ref: Iterable[CountryRef] = field( + country_ref: Sequence[CountryRef] = field( default_factory=list, metadata={ "name": "CountryRef", diff --git a/netex/models/coupled_journeys_in_frame_rel_structure.py b/netex/models/coupled_journeys_in_frame_rel_structure.py index aef791f50..c3c7d4494 100644 --- a/netex/models/coupled_journeys_in_frame_rel_structure.py +++ b/netex/models/coupled_journeys_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class CoupledJourneysInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "coupledJourneysInFrame_RelStructure" - coupled_journey: Iterable[CoupledJourney] = field( + coupled_journey: Sequence[CoupledJourney] = field( default_factory=list, metadata={ "name": "CoupledJourney", diff --git a/netex/models/coupled_journeys_rel_structure.py b/netex/models/coupled_journeys_rel_structure.py index c7479b36f..88f0715f8 100644 --- a/netex/models/coupled_journeys_rel_structure.py +++ b/netex/models/coupled_journeys_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class CoupledJourneysRelStructure(ContainmentAggregationStructure): class Meta: name = "coupledJourneys_RelStructure" - coupled_journey_ref: Iterable[CoupledJourneyRef] = field( + coupled_journey_ref: Sequence[CoupledJourneyRef] = field( default_factory=list, metadata={ "name": "CoupledJourneyRef", diff --git a/netex/models/courses_of_journeys_in_frame_rel_structure.py b/netex/models/courses_of_journeys_in_frame_rel_structure.py index f170b0534..7657911f6 100644 --- a/netex/models/courses_of_journeys_in_frame_rel_structure.py +++ b/netex/models/courses_of_journeys_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class CoursesOfJourneysInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "coursesOfJourneysInFrame_RelStructure" - course_of_journeys: Iterable[CourseOfJourneys] = field( + course_of_journeys: Sequence[CourseOfJourneys] = field( default_factory=list, metadata={ "name": "CourseOfJourneys", diff --git a/netex/models/courses_of_journeys_rel_structure.py b/netex/models/courses_of_journeys_rel_structure.py index c04daf889..a8be7cc30 100644 --- a/netex/models/courses_of_journeys_rel_structure.py +++ b/netex/models/courses_of_journeys_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -15,7 +15,7 @@ class CoursesOfJourneysRelStructure(ContainmentAggregationStructure): class Meta: name = "coursesOfJourneys_RelStructure" - course_of_journeys_ref_or_course_of_journeys: Iterable[ + course_of_journeys_ref_or_course_of_journeys: Sequence[ CourseOfJourneysRef | CourseOfJourneys ] = field( default_factory=list, diff --git a/netex/models/crew_base_refs_rel_structure.py b/netex/models/crew_base_refs_rel_structure.py index 178be8222..c0351eb74 100644 --- a/netex/models/crew_base_refs_rel_structure.py +++ b/netex/models/crew_base_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .crew_base_ref import CrewBaseRef @@ -16,7 +16,7 @@ class CrewBaseRefsRelStructure(StrictContainmentAggregationStructure): class Meta: name = "crewBaseRefs_RelStructure" - crew_base_ref: Iterable[CrewBaseRef] = field( + crew_base_ref: Sequence[CrewBaseRef] = field( default_factory=list, metadata={ "name": "CrewBaseRef", diff --git a/netex/models/crew_bases_in_frame_rel_structure.py b/netex/models/crew_bases_in_frame_rel_structure.py index d076c115b..e5e88f16f 100644 --- a/netex/models/crew_bases_in_frame_rel_structure.py +++ b/netex/models/crew_bases_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class CrewBasesInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "crewBasesInFrame_RelStructure" - crew_base: Iterable[CrewBase] = field( + crew_base: Sequence[CrewBase] = field( default_factory=list, metadata={ "name": "CrewBase", diff --git a/netex/models/curve_array_property_type.py b/netex/models/curve_array_property_type.py index de3fd0c6b..6f3d4d690 100644 --- a/netex/models/curve_array_property_type.py +++ b/netex/models/curve_array_property_type.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .line_string import LineString @@ -10,7 +10,7 @@ @dataclass(kw_only=True) class CurveArrayPropertyType: - line_string: Iterable[LineString] = field( + line_string: Sequence[LineString] = field( default_factory=list, metadata={ "name": "LineString", diff --git a/netex/models/customer_account_refs_rel_structure.py b/netex/models/customer_account_refs_rel_structure.py index 5ef5af59d..b3227156d 100644 --- a/netex/models/customer_account_refs_rel_structure.py +++ b/netex/models/customer_account_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .customer_account_ref import CustomerAccountRef @@ -14,7 +14,7 @@ class CustomerAccountRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "customerAccountRefs_RelStructure" - customer_account_ref: Iterable[CustomerAccountRef] = field( + customer_account_ref: Sequence[CustomerAccountRef] = field( default_factory=list, metadata={ "name": "CustomerAccountRef", diff --git a/netex/models/customer_account_security_listing_refs_rel_structure.py b/netex/models/customer_account_security_listing_refs_rel_structure.py index 6d7b11587..86fc896ed 100644 --- a/netex/models/customer_account_security_listing_refs_rel_structure.py +++ b/netex/models/customer_account_security_listing_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .customer_account_security_listing_ref import ( @@ -18,7 +18,7 @@ class CustomerAccountSecurityListingRefsRelStructure( class Meta: name = "customerAccountSecurityListingRefs_RelStructure" - customer_account_security_listing_ref: Iterable[ + customer_account_security_listing_ref: Sequence[ CustomerAccountSecurityListingRef ] = field( default_factory=list, diff --git a/netex/models/customer_account_status_refs_rel_structure.py b/netex/models/customer_account_status_refs_rel_structure.py index 924119232..bef43fca4 100644 --- a/netex/models/customer_account_status_refs_rel_structure.py +++ b/netex/models/customer_account_status_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .customer_account_status_ref import CustomerAccountStatusRef @@ -14,7 +14,7 @@ class CustomerAccountStatusRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "customerAccountStatusRefs_RelStructure" - customer_account_status_ref: Iterable[CustomerAccountStatusRef] = field( + customer_account_status_ref: Sequence[CustomerAccountStatusRef] = field( default_factory=list, metadata={ "name": "CustomerAccountStatusRef", diff --git a/netex/models/customer_accounts_in_frame_rel_structure.py b/netex/models/customer_accounts_in_frame_rel_structure.py index 07351556c..ec941864f 100644 --- a/netex/models/customer_accounts_in_frame_rel_structure.py +++ b/netex/models/customer_accounts_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .customer_account import CustomerAccount @@ -14,7 +14,7 @@ class CustomerAccountsInFrameRelStructure(FrameContainmentStructure): class Meta: name = "customerAccountsInFrame_RelStructure" - customer_account: Iterable[CustomerAccount] = field( + customer_account: Sequence[CustomerAccount] = field( default_factory=list, metadata={ "name": "CustomerAccount", diff --git a/netex/models/customer_accounts_rel_structure.py b/netex/models/customer_accounts_rel_structure.py index 383619348..c5b7aad25 100644 --- a/netex/models/customer_accounts_rel_structure.py +++ b/netex/models/customer_accounts_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -15,7 +15,7 @@ class CustomerAccountsRelStructure(ContainmentAggregationStructure): class Meta: name = "customerAccounts_RelStructure" - customer_account_ref_or_customer_account: Iterable[ + customer_account_ref_or_customer_account: Sequence[ CustomerAccountRef | CustomerAccount ] = field( default_factory=list, diff --git a/netex/models/customer_eligibilities_rel_structure.py b/netex/models/customer_eligibilities_rel_structure.py index 0db9e8ceb..51ee52bd8 100644 --- a/netex/models/customer_eligibilities_rel_structure.py +++ b/netex/models/customer_eligibilities_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .commercial_profile_eligibility import CommercialProfileEligibility @@ -18,7 +18,7 @@ class CustomerEligibilitiesRelStructure(ContainmentAggregationStructure): class Meta: name = "customerEligibilities_RelStructure" - customer_eligibility: Iterable[ + customer_eligibility: Sequence[ ResidentialQualificationEligibility | CommercialProfileEligibility | UserProfileEligibility diff --git a/netex/models/customer_eligibility_refs_rel_structure.py b/netex/models/customer_eligibility_refs_rel_structure.py index fed0efac1..d37601aae 100644 --- a/netex/models/customer_eligibility_refs_rel_structure.py +++ b/netex/models/customer_eligibility_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .commercial_profile_eligibility_ref import CommercialProfileEligibilityRef @@ -18,7 +18,7 @@ class CustomerEligibilityRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "customerEligibilityRefs_RelStructure" - customer_eligibility_ref: Iterable[ + customer_eligibility_ref: Sequence[ ResidentialQualificationEligibilityRef | CommercialProfileEligibilityRef | UserProfileEligibilityRef diff --git a/netex/models/customer_payment_mean_refs_rel_structure.py b/netex/models/customer_payment_mean_refs_rel_structure.py index 06223ddc3..a0458d34c 100644 --- a/netex/models/customer_payment_mean_refs_rel_structure.py +++ b/netex/models/customer_payment_mean_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .customer_payment_means_ref import CustomerPaymentMeansRef @@ -14,7 +14,7 @@ class CustomerPaymentMeanRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "customerPaymentMeanRefs_RelStructure" - customer_payment_means_ref: Iterable[CustomerPaymentMeansRef] = field( + customer_payment_means_ref: Sequence[CustomerPaymentMeansRef] = field( default_factory=list, metadata={ "name": "CustomerPaymentMeansRef", diff --git a/netex/models/customer_payment_means_rel_structure.py b/netex/models/customer_payment_means_rel_structure.py index 23d641c43..b6c792d20 100644 --- a/netex/models/customer_payment_means_rel_structure.py +++ b/netex/models/customer_payment_means_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class CustomerPaymentMeansRelStructure(ContainmentAggregationStructure): class Meta: name = "customerPaymentMeans_RelStructure" - customer_payment_means: Iterable[CustomerPaymentMeans] = field( + customer_payment_means: Sequence[CustomerPaymentMeans] = field( default_factory=list, metadata={ "name": "CustomerPaymentMeans", diff --git a/netex/models/customer_purchase_package_element_accesses_rel_structure.py b/netex/models/customer_purchase_package_element_accesses_rel_structure.py index acaba3d8d..83c313cd5 100644 --- a/netex/models/customer_purchase_package_element_accesses_rel_structure.py +++ b/netex/models/customer_purchase_package_element_accesses_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .customer_purchase_package_element_access import ( @@ -20,7 +20,7 @@ class CustomerPurchasePackageElementAccessesRelStructure( class Meta: name = "customerPurchasePackageElementAccesses_RelStructure" - customer_purchase_package_element_access: Iterable[ + customer_purchase_package_element_access: Sequence[ CustomerPurchasePackageElementAccess ] = field( default_factory=list, diff --git a/netex/models/customer_purchase_package_elements_rel_structure.py b/netex/models/customer_purchase_package_elements_rel_structure.py index 44621f403..87965d63f 100644 --- a/netex/models/customer_purchase_package_elements_rel_structure.py +++ b/netex/models/customer_purchase_package_elements_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -16,7 +16,7 @@ class CustomerPurchasePackageElementsRelStructure( class Meta: name = "customerPurchasePackageElements_RelStructure" - customer_purchase_package_element: Iterable[ + customer_purchase_package_element: Sequence[ CustomerPurchasePackageElement ] = field( default_factory=list, diff --git a/netex/models/customer_purchase_package_prices_rel_structure.py b/netex/models/customer_purchase_package_prices_rel_structure.py index 0be23cfc3..725237d00 100644 --- a/netex/models/customer_purchase_package_prices_rel_structure.py +++ b/netex/models/customer_purchase_package_prices_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .cell_ref import CellRef @@ -24,7 +24,7 @@ class CustomerPurchasePackagePricesRelStructure( class Meta: name = "customerPurchasePackagePrices_RelStructure" - customer_purchase_package_price_ref_or_customer_purchase_package_price_or_cell_ref: Iterable[ + customer_purchase_package_price_ref_or_customer_purchase_package_price_or_cell_ref: Sequence[ CustomerPurchasePackagePriceRef | CustomerPurchasePackagePriceVersionedChildStructure | CellRef diff --git a/netex/models/customer_purchase_package_refs_rel_structure.py b/netex/models/customer_purchase_package_refs_rel_structure.py index 212cd7add..494db082b 100644 --- a/netex/models/customer_purchase_package_refs_rel_structure.py +++ b/netex/models/customer_purchase_package_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .customer_purchase_package_ref import CustomerPurchasePackageRef @@ -14,7 +14,7 @@ class CustomerPurchasePackageRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "customerPurchasePackageRefs_RelStructure" - customer_purchase_package_ref: Iterable[CustomerPurchasePackageRef] = ( + customer_purchase_package_ref: Sequence[CustomerPurchasePackageRef] = ( field( default_factory=list, metadata={ diff --git a/netex/models/customer_purchase_packages_in_frame_rel_structure.py b/netex/models/customer_purchase_packages_in_frame_rel_structure.py index ce634549d..cfcdb0111 100644 --- a/netex/models/customer_purchase_packages_in_frame_rel_structure.py +++ b/netex/models/customer_purchase_packages_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .customer_purchase_package import CustomerPurchasePackage @@ -14,7 +14,7 @@ class CustomerPurchasePackagesInFrameRelStructure(FrameContainmentStructure): class Meta: name = "customerPurchasePackagesInFrame_RelStructure" - customer_purchase_package: Iterable[CustomerPurchasePackage] = field( + customer_purchase_package: Sequence[CustomerPurchasePackage] = field( default_factory=list, metadata={ "name": "CustomerPurchasePackage", diff --git a/netex/models/customer_purchase_packages_rel_structure.py b/netex/models/customer_purchase_packages_rel_structure.py index e6ab306cf..0554aae04 100644 --- a/netex/models/customer_purchase_packages_rel_structure.py +++ b/netex/models/customer_purchase_packages_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .customer_purchase_package import CustomerPurchasePackage @@ -15,7 +15,7 @@ class CustomerPurchasePackagesRelStructure(OneToManyRelationshipStructure): class Meta: name = "customerPurchasePackages_RelStructure" - customer_purchase_package_or_customer_purchase_package_ref: Iterable[ + customer_purchase_package_or_customer_purchase_package_ref: Sequence[ CustomerPurchasePackage | CustomerPurchasePackageRef ] = field( default_factory=list, diff --git a/netex/models/customer_purchase_parameter_assignments_rel_structure.py b/netex/models/customer_purchase_parameter_assignments_rel_structure.py index 1b3f3a7e8..d31468773 100644 --- a/netex/models/customer_purchase_parameter_assignments_rel_structure.py +++ b/netex/models/customer_purchase_parameter_assignments_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -18,7 +18,7 @@ class CustomerPurchaseParameterAssignmentsRelStructure( class Meta: name = "customerPurchaseParameterAssignments_RelStructure" - customer_purchase_parameter_assignment: Iterable[ + customer_purchase_parameter_assignment: Sequence[ CustomerPurchaseParameterAssignment ] = field( default_factory=list, diff --git a/netex/models/customer_refs_rel_structure.py b/netex/models/customer_refs_rel_structure.py index fc792f8d5..e6f14f82a 100644 --- a/netex/models/customer_refs_rel_structure.py +++ b/netex/models/customer_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .customer_ref import CustomerRef @@ -14,7 +14,7 @@ class CustomerRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "customerRefs_RelStructure" - customer_ref: Iterable[CustomerRef] = field( + customer_ref: Sequence[CustomerRef] = field( default_factory=list, metadata={ "name": "CustomerRef", diff --git a/netex/models/customer_security_listing_refs_rel_structure.py b/netex/models/customer_security_listing_refs_rel_structure.py index 11a0bfe83..2b8656d75 100644 --- a/netex/models/customer_security_listing_refs_rel_structure.py +++ b/netex/models/customer_security_listing_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .customer_security_listing_ref import CustomerSecurityListingRef @@ -14,7 +14,7 @@ class CustomerSecurityListingRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "CustomerSecurityListingRefs_RelStructure" - customer_security_listing_ref: Iterable[CustomerSecurityListingRef] = ( + customer_security_listing_ref: Sequence[CustomerSecurityListingRef] = ( field( default_factory=list, metadata={ diff --git a/netex/models/customers_in_frame_rel_structure.py b/netex/models/customers_in_frame_rel_structure.py index 68e2f61cf..494f95d8b 100644 --- a/netex/models/customers_in_frame_rel_structure.py +++ b/netex/models/customers_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .customer import Customer @@ -14,7 +14,7 @@ class CustomersInFrameRelStructure(FrameContainmentStructure): class Meta: name = "customersInFrame_RelStructure" - customer: Iterable[Customer] = field( + customer: Sequence[Customer] = field( default_factory=list, metadata={ "name": "Customer", diff --git a/netex/models/customers_rel_structure.py b/netex/models/customers_rel_structure.py index b473d4a2d..e143f8987 100644 --- a/netex/models/customers_rel_structure.py +++ b/netex/models/customers_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -15,7 +15,7 @@ class CustomersRelStructure(ContainmentAggregationStructure): class Meta: name = "customers_RelStructure" - customer_ref_or_customer: Iterable[CustomerRef | Customer] = field( + customer_ref_or_customer: Sequence[CustomerRef | Customer] = field( default_factory=list, metadata={ "type": "Elements", diff --git a/netex/models/data_object_permissions.py b/netex/models/data_object_permissions.py index 39599c147..fe8bb05ea 100644 --- a/netex/models/data_object_permissions.py +++ b/netex/models/data_object_permissions.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .data_object_service_permission_structure import ( @@ -15,7 +15,7 @@ class DataObjectPermissions: class Meta: namespace = "http://www.netex.org.uk/netex" - data_object_permission: Iterable[DataObjectServicePermissionStructure] = ( + data_object_permission: Sequence[DataObjectServicePermissionStructure] = ( field( default_factory=list, metadata={ diff --git a/netex/models/data_objects_rel_structure.py b/netex/models/data_objects_rel_structure.py index 98f1d31dd..4a691852f 100644 --- a/netex/models/data_objects_rel_structure.py +++ b/netex/models/data_objects_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .driver_schedule_frame import DriverScheduleFrame @@ -28,7 +28,7 @@ class DataObjectsRelStructure: class Meta: name = "dataObjects_RelStructure" - choice: Iterable[ + choice: Sequence[ CompositeFrame | MobilityJourneyFrame | MobilityServiceFrame diff --git a/netex/models/data_sources_in_frame_rel_structure.py b/netex/models/data_sources_in_frame_rel_structure.py index 96df5dde0..a722ff1cb 100644 --- a/netex/models/data_sources_in_frame_rel_structure.py +++ b/netex/models/data_sources_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class DataSourcesInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "dataSourcesInFrame_RelStructure" - data_source: Iterable[DataSource] = field( + data_source: Sequence[DataSource] = field( default_factory=list, metadata={ "name": "DataSource", diff --git a/netex/models/data_sources_rel_structure.py b/netex/models/data_sources_rel_structure.py index 5f1b1e7a4..78e9c24ca 100644 --- a/netex/models/data_sources_rel_structure.py +++ b/netex/models/data_sources_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -15,7 +15,7 @@ class DataSourcesRelStructure(ContainmentAggregationStructure): class Meta: name = "dataSources_RelStructure" - data_source_ref_or_data_source: Iterable[DataSourceRef | DataSource] = ( + data_source_ref_or_data_source: Sequence[DataSourceRef | DataSource] = ( field( default_factory=list, metadata={ diff --git a/netex/models/dated_calls_rel_structure.py b/netex/models/dated_calls_rel_structure.py index 8918da3ae..1981cb914 100644 --- a/netex/models/dated_calls_rel_structure.py +++ b/netex/models/dated_calls_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .dated_call import DatedCall @@ -16,7 +16,7 @@ class DatedCallsRelStructure(StrictContainmentAggregationStructure): class Meta: name = "datedCalls_RelStructure" - dated_call: Iterable[DatedCall] = field( + dated_call: Sequence[DatedCall] = field( default_factory=list, metadata={ "name": "DatedCall", diff --git a/netex/models/day_type_assignment_version_structure.py b/netex/models/day_type_assignment_version_structure.py index b0f063f52..db7e844d4 100644 --- a/netex/models/day_type_assignment_version_structure.py +++ b/netex/models/day_type_assignment_version_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from xsdata.models.datatype import XmlDate @@ -82,7 +82,7 @@ class Meta: ), }, ) - timeband_ref: Iterable[TimebandRef] = field( + timeband_ref: Sequence[TimebandRef] = field( default_factory=list, metadata={ "name": "TimebandRef", diff --git a/netex/models/day_type_assignments_in_frame_rel_structure.py b/netex/models/day_type_assignments_in_frame_rel_structure.py index 6556cad02..74802bf5a 100644 --- a/netex/models/day_type_assignments_in_frame_rel_structure.py +++ b/netex/models/day_type_assignments_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class DayTypeAssignmentsInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "dayTypeAssignmentsInFrame_RelStructure" - day_type_assignment: Iterable[DayTypeAssignment] = field( + day_type_assignment: Sequence[DayTypeAssignment] = field( default_factory=list, metadata={ "name": "DayTypeAssignment", diff --git a/netex/models/day_type_assignments_rel_structure.py b/netex/models/day_type_assignments_rel_structure.py index 21a699e4f..f1e04458a 100644 --- a/netex/models/day_type_assignments_rel_structure.py +++ b/netex/models/day_type_assignments_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .day_type_assignment import DayTypeAssignment @@ -16,7 +16,7 @@ class DayTypeAssignmentsRelStructure(StrictContainmentAggregationStructure): class Meta: name = "dayTypeAssignments_RelStructure" - day_type_assignment: Iterable[DayTypeAssignment] = field( + day_type_assignment: Sequence[DayTypeAssignment] = field( default_factory=list, metadata={ "name": "DayTypeAssignment", diff --git a/netex/models/day_type_refs_rel_structure.py b/netex/models/day_type_refs_rel_structure.py index 6335cb2ec..892a38889 100644 --- a/netex/models/day_type_refs_rel_structure.py +++ b/netex/models/day_type_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .day_type_ref import DayTypeRef @@ -15,7 +15,7 @@ class DayTypeRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "dayTypeRefs_RelStructure" - day_type_ref: Iterable[FareDayTypeRef | DayTypeRef] = field( + day_type_ref: Sequence[FareDayTypeRef | DayTypeRef] = field( default_factory=list, metadata={ "type": "Elements", diff --git a/netex/models/day_types_in_frame_rel_structure.py b/netex/models/day_types_in_frame_rel_structure.py index 7215a026d..f8cac6df9 100644 --- a/netex/models/day_types_in_frame_rel_structure.py +++ b/netex/models/day_types_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -18,7 +18,7 @@ class DayTypesInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "dayTypesInFrame_RelStructure" - day_type: Iterable[FareDayType | OrganisationDayType | DayType] = field( + day_type: Sequence[FareDayType | OrganisationDayType | DayType] = field( default_factory=list, metadata={ "type": "Elements", diff --git a/netex/models/dead_run_calls_rel_structure.py b/netex/models/dead_run_calls_rel_structure.py index 99ef592d7..3dfba0e87 100644 --- a/netex/models/dead_run_calls_rel_structure.py +++ b/netex/models/dead_run_calls_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .dead_run_call_versioned_child_structure import ( @@ -18,7 +18,7 @@ class DeadRunCallsRelStructure(StrictContainmentAggregationStructure): class Meta: name = "deadRunCalls_RelStructure" - dead_run_call: Iterable[DeadRunCallVersionedChildStructure] = field( + dead_run_call: Sequence[DeadRunCallVersionedChildStructure] = field( default_factory=list, metadata={ "name": "DeadRunCall", diff --git a/netex/models/default_dead_run_run_times_rel_structure.py b/netex/models/default_dead_run_run_times_rel_structure.py index 458add9cf..983c45f61 100644 --- a/netex/models/default_dead_run_run_times_rel_structure.py +++ b/netex/models/default_dead_run_run_times_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .default_dead_run_run_time import DefaultDeadRunRunTime @@ -18,7 +18,7 @@ class DefaultDeadRunRunTimesRelStructure( class Meta: name = "defaultDeadRunRunTimes_RelStructure" - default_dead_run_run_time: Iterable[DefaultDeadRunRunTime] = field( + default_dead_run_run_time: Sequence[DefaultDeadRunRunTime] = field( default_factory=list, metadata={ "name": "DefaultDeadRunRunTime", diff --git a/netex/models/default_interchanges_in_frame_rel_structure.py b/netex/models/default_interchanges_in_frame_rel_structure.py index f04c61291..5adfc162e 100644 --- a/netex/models/default_interchanges_in_frame_rel_structure.py +++ b/netex/models/default_interchanges_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class DefaultInterchangesInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "defaultInterchangesInFrame_RelStructure" - default_interchange: Iterable[DefaultInterchange] = field( + default_interchange: Sequence[DefaultInterchange] = field( default_factory=list, metadata={ "name": "DefaultInterchange", diff --git a/netex/models/default_service_journey_run_times_rel_structure.py b/netex/models/default_service_journey_run_times_rel_structure.py index 60bbe66c4..aa36dd4d0 100644 --- a/netex/models/default_service_journey_run_times_rel_structure.py +++ b/netex/models/default_service_journey_run_times_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .default_service_journey_run_time import DefaultServiceJourneyRunTime @@ -18,7 +18,7 @@ class DefaultServiceJourneyRunTimesRelStructure( class Meta: name = "defaultServiceJourneyRunTimes_RelStructure" - default_service_journey_run_time: Iterable[ + default_service_journey_run_time: Sequence[ DefaultServiceJourneyRunTime ] = field( default_factory=list, diff --git a/netex/models/deliveries_structure.py b/netex/models/deliveries_structure.py index 955c7bfcb..a7731e285 100644 --- a/netex/models/deliveries_structure.py +++ b/netex/models/deliveries_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .data_object_delivery import DataObjectDelivery @@ -10,7 +10,7 @@ @dataclass(kw_only=True) class DeliveriesStructure: - data_object_delivery: Iterable[DataObjectDelivery] = field( + data_object_delivery: Sequence[DataObjectDelivery] = field( default_factory=list, metadata={ "name": "DataObjectDelivery", diff --git a/netex/models/delivery_variants_rel_structure.py b/netex/models/delivery_variants_rel_structure.py index 8e1d98c41..3ed5b2f66 100644 --- a/netex/models/delivery_variants_rel_structure.py +++ b/netex/models/delivery_variants_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .delivery_variant import DeliveryVariant @@ -16,7 +16,7 @@ class DeliveryVariantsRelStructure(StrictContainmentAggregationStructure): class Meta: name = "deliveryVariants_RelStructure" - delivery_variant: Iterable[DeliveryVariant] = field( + delivery_variant: Sequence[DeliveryVariant] = field( default_factory=list, metadata={ "name": "DeliveryVariant", diff --git a/netex/models/delta_values_rel_structure.py b/netex/models/delta_values_rel_structure.py index 9d5d052c8..62f738f16 100644 --- a/netex/models/delta_values_rel_structure.py +++ b/netex/models/delta_values_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .delta_value import DeltaValue @@ -13,7 +13,7 @@ class DeltaValuesRelStructure: class Meta: name = "deltaValues_RelStructure" - delta_value: Iterable[DeltaValue] = field( + delta_value: Sequence[DeltaValue] = field( default_factory=list, metadata={ "name": "DeltaValue", diff --git a/netex/models/deltas_rel_structure.py b/netex/models/deltas_rel_structure.py index 6e0976c71..9fcc8fa59 100644 --- a/netex/models/deltas_rel_structure.py +++ b/netex/models/deltas_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .delta import Delta @@ -13,7 +13,7 @@ class DeltasRelStructure: class Meta: name = "deltas_RelStructure" - delta: Iterable[Delta] = field( + delta: Sequence[Delta] = field( default_factory=list, metadata={ "name": "Delta", diff --git a/netex/models/department_refs_rel_structure.py b/netex/models/department_refs_rel_structure.py index 2b7dc9d9e..84bbc925c 100644 --- a/netex/models/department_refs_rel_structure.py +++ b/netex/models/department_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .department_ref import DepartmentRef @@ -14,7 +14,7 @@ class DepartmentRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "departmentRefs_RelStructure" - department_ref: Iterable[DepartmentRef] = field( + department_ref: Sequence[DepartmentRef] = field( default_factory=list, metadata={ "name": "DepartmentRef", diff --git a/netex/models/departments_in_frame_rel_structure.py b/netex/models/departments_in_frame_rel_structure.py index a174767d3..43d65b910 100644 --- a/netex/models/departments_in_frame_rel_structure.py +++ b/netex/models/departments_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class DepartmentsInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "departmentsInFrame_RelStructure" - department: Iterable[Department] = field( + department: Sequence[Department] = field( default_factory=list, metadata={ "name": "Department", diff --git a/netex/models/departments_rel_structure.py b/netex/models/departments_rel_structure.py index 10e379cd5..5dcfe6b77 100644 --- a/netex/models/departments_rel_structure.py +++ b/netex/models/departments_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -15,7 +15,7 @@ class DepartmentsRelStructure(ContainmentAggregationStructure): class Meta: name = "departments_RelStructure" - department_ref_or_department: Iterable[DepartmentRef | Department] = field( + department_ref_or_department: Sequence[DepartmentRef | Department] = field( default_factory=list, metadata={ "type": "Elements", diff --git a/netex/models/destination_display_refs_rel_structure.py b/netex/models/destination_display_refs_rel_structure.py index 10d4053d8..07d172a97 100644 --- a/netex/models/destination_display_refs_rel_structure.py +++ b/netex/models/destination_display_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .destination_display_ref import DestinationDisplayRef @@ -14,7 +14,7 @@ class DestinationDisplayRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "destinationDisplayRefs_RelStructure" - destination_display_ref: Iterable[DestinationDisplayRef] = field( + destination_display_ref: Sequence[DestinationDisplayRef] = field( default_factory=list, metadata={ "name": "DestinationDisplayRef", diff --git a/netex/models/destination_display_variant_refs_rel_structure.py b/netex/models/destination_display_variant_refs_rel_structure.py index 452b6ceb2..83325079c 100644 --- a/netex/models/destination_display_variant_refs_rel_structure.py +++ b/netex/models/destination_display_variant_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .destination_display_variant_ref import DestinationDisplayVariantRef @@ -16,7 +16,7 @@ class DestinationDisplayVariantRefsRelStructure( class Meta: name = "destinationDisplayVariantRefs_RelStructure" - destination_display_variant_ref: Iterable[DestinationDisplayVariantRef] = ( + destination_display_variant_ref: Sequence[DestinationDisplayVariantRef] = ( field( default_factory=list, metadata={ diff --git a/netex/models/destination_display_variants_rel_structure.py b/netex/models/destination_display_variants_rel_structure.py index 8edbf2727..2f48994b7 100644 --- a/netex/models/destination_display_variants_rel_structure.py +++ b/netex/models/destination_display_variants_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .destination_display_variant import DestinationDisplayVariant @@ -18,7 +18,7 @@ class DestinationDisplayVariantsRelStructure( class Meta: name = "destinationDisplayVariants_RelStructure" - destination_display_variant: Iterable[DestinationDisplayVariant] = field( + destination_display_variant: Sequence[DestinationDisplayVariant] = field( default_factory=list, metadata={ "name": "DestinationDisplayVariant", diff --git a/netex/models/destination_display_views_rel_structure.py b/netex/models/destination_display_views_rel_structure.py index 115488120..ff7b0bd86 100644 --- a/netex/models/destination_display_views_rel_structure.py +++ b/netex/models/destination_display_views_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -15,7 +15,7 @@ class DestinationDisplayViewsRelStructure(ContainmentAggregationStructure): class Meta: name = "destinationDisplayViews_RelStructure" - destination_display_ref_or_destination_display_view: Iterable[ + destination_display_ref_or_destination_display_view: Sequence[ DestinationDisplayRef | DestinationDisplayView ] = field( default_factory=list, diff --git a/netex/models/destination_displays_in_frame_rel_structure.py b/netex/models/destination_displays_in_frame_rel_structure.py index cfb4ff5ff..9f10f694a 100644 --- a/netex/models/destination_displays_in_frame_rel_structure.py +++ b/netex/models/destination_displays_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class DestinationDisplaysInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "destinationDisplaysInFrame_RelStructure" - destination_display: Iterable[DestinationDisplay] = field( + destination_display: Sequence[DestinationDisplay] = field( default_factory=list, metadata={ "name": "DestinationDisplay", diff --git a/netex/models/direct_position_list_type.py b/netex/models/direct_position_list_type.py index cebdf561c..f7694f420 100644 --- a/netex/models/direct_position_list_type.py +++ b/netex/models/direct_position_list_type.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field __NAMESPACE__ = "http://www.opengis.net/gml/3.2" @@ -8,7 +8,7 @@ @dataclass(kw_only=True) class DirectPositionListType: - value: Iterable[float] = field( + value: Sequence[float] = field( default_factory=list, metadata={ "tokens": True, diff --git a/netex/models/direct_position_type.py b/netex/models/direct_position_type.py index 764e097d5..ad31dd62d 100644 --- a/netex/models/direct_position_type.py +++ b/netex/models/direct_position_type.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field __NAMESPACE__ = "http://www.opengis.net/gml/3.2" @@ -8,7 +8,7 @@ @dataclass(kw_only=True) class DirectPositionType: - value: Iterable[float] = field( + value: Sequence[float] = field( default_factory=list, metadata={ "tokens": True, diff --git a/netex/models/directions_in_frame_rel_structure.py b/netex/models/directions_in_frame_rel_structure.py index efe73a473..3db5607fb 100644 --- a/netex/models/directions_in_frame_rel_structure.py +++ b/netex/models/directions_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class DirectionsInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "directionsInFrame_RelStructure" - direction: Iterable[Direction] = field( + direction: Sequence[Direction] = field( default_factory=list, metadata={ "name": "Direction", diff --git a/netex/models/discount_right_refs_rel_structure.py b/netex/models/discount_right_refs_rel_structure.py index 0095fe618..22be2d2d8 100644 --- a/netex/models/discount_right_refs_rel_structure.py +++ b/netex/models/discount_right_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .capped_discount_right_ref import CappedDiscountRightRef @@ -16,7 +16,7 @@ class DiscountRightRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "discountRightRefs_RelStructure" - capped_discount_right_ref_or_sale_discount_right_ref_or_usage_discount_right_ref: Iterable[ + capped_discount_right_ref_or_sale_discount_right_ref_or_usage_discount_right_ref: Sequence[ CappedDiscountRightRef | SaleDiscountRightRef | UsageDiscountRightRef ] = field( default_factory=list, diff --git a/netex/models/display_assignments_in_frame_rel_structure.py b/netex/models/display_assignments_in_frame_rel_structure.py index d5c81ee91..b657b8ec8 100644 --- a/netex/models/display_assignments_in_frame_rel_structure.py +++ b/netex/models/display_assignments_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class DisplayAssignmentsInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "displayAssignmentsInFrame_RelStructure" - display_assignment: Iterable[DisplayAssignment] = field( + display_assignment: Sequence[DisplayAssignment] = field( default_factory=list, metadata={ "name": "DisplayAssignment", diff --git a/netex/models/display_assignments_rel_structure.py b/netex/models/display_assignments_rel_structure.py index 8d9cb4b19..d7e91642f 100644 --- a/netex/models/display_assignments_rel_structure.py +++ b/netex/models/display_assignments_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -15,7 +15,7 @@ class DisplayAssignmentsRelStructure(ContainmentAggregationStructure): class Meta: name = "displayAssignments_RelStructure" - display_assignment_ref_or_display_assignment: Iterable[ + display_assignment_ref_or_display_assignment: Sequence[ DisplayAssignmentRef | DisplayAssignment ] = field( default_factory=list, diff --git a/netex/models/distance_matrix_element_prices_rel_structure.py b/netex/models/distance_matrix_element_prices_rel_structure.py index 0628a84ee..b4ada335f 100644 --- a/netex/models/distance_matrix_element_prices_rel_structure.py +++ b/netex/models/distance_matrix_element_prices_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .cell_ref import CellRef @@ -20,7 +20,7 @@ class DistanceMatrixElementPricesRelStructure( class Meta: name = "distanceMatrixElementPrices_RelStructure" - distance_matrix_element_price_ref_or_distance_matrix_element_price_or_cell_ref: Iterable[ + distance_matrix_element_price_ref_or_distance_matrix_element_price_or_cell_ref: Sequence[ DistanceMatrixElementPriceRef | DistanceMatrixElementPrice | CellRef ] = field( default_factory=list, diff --git a/netex/models/distance_matrix_element_refs_rel_structure.py b/netex/models/distance_matrix_element_refs_rel_structure.py index 207818f60..1a95713eb 100644 --- a/netex/models/distance_matrix_element_refs_rel_structure.py +++ b/netex/models/distance_matrix_element_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .distance_matrix_element_inverse_ref import ( @@ -17,7 +17,7 @@ class DistanceMatrixElementRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "distanceMatrixElementRefs_RelStructure" - distance_matrix_element_ref_or_distance_matrix_element_inverse_ref: Iterable[ + distance_matrix_element_ref_or_distance_matrix_element_inverse_ref: Sequence[ DistanceMatrixElementRef | DistanceMatrixElementInverseRef ] = field( default_factory=list, diff --git a/netex/models/distance_matrix_elements_in_frame_rel_structure.py b/netex/models/distance_matrix_elements_in_frame_rel_structure.py index 7b69fdfcb..dda6294dd 100644 --- a/netex/models/distance_matrix_elements_in_frame_rel_structure.py +++ b/netex/models/distance_matrix_elements_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .distance_matrix_element import DistanceMatrixElement @@ -14,7 +14,7 @@ class DistanceMatrixElementsInFrameRelStructure(FrameContainmentStructure): class Meta: name = "distanceMatrixElementsInFrame_RelStructure" - distance_matrix_element: Iterable[DistanceMatrixElement] = field( + distance_matrix_element: Sequence[DistanceMatrixElement] = field( default_factory=list, metadata={ "name": "DistanceMatrixElement", diff --git a/netex/models/distance_matrix_elements_rel_structure.py b/netex/models/distance_matrix_elements_rel_structure.py index 034e11a7a..fb7728cc1 100644 --- a/netex/models/distance_matrix_elements_rel_structure.py +++ b/netex/models/distance_matrix_elements_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -15,7 +15,7 @@ class DistanceMatrixElementsRelStructure(ContainmentAggregationStructure): class Meta: name = "distanceMatrixElements_RelStructure" - distance_matrix_element_ref_or_distance_matrix_element: Iterable[ + distance_matrix_element_ref_or_distance_matrix_element: Sequence[ DistanceMatrixElementRef | DistanceMatrixElement ] = field( default_factory=list, diff --git a/netex/models/distribution_assignment_version_structure.py b/netex/models/distribution_assignment_version_structure.py index 0b5190977..c5ce7171c 100644 --- a/netex/models/distribution_assignment_version_structure.py +++ b/netex/models/distribution_assignment_version_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .all_authorities_ref import AllAuthoritiesRef @@ -145,7 +145,7 @@ class Meta: }, ) ) - distribution_rights: Iterable[DistributionRightsEnumeration] = field( + distribution_rights: Sequence[DistributionRightsEnumeration] = field( default_factory=list, metadata={ "name": "DistributionRights", @@ -394,7 +394,7 @@ class Meta: }, ) ) - payment_methods: Iterable[PaymentMethodEnumeration] = field( + payment_methods: Sequence[PaymentMethodEnumeration] = field( default_factory=list, metadata={ "name": "PaymentMethods", diff --git a/netex/models/distribution_assignments_in_frame_rel_structure.py b/netex/models/distribution_assignments_in_frame_rel_structure.py index 399baa40a..bd839a4eb 100644 --- a/netex/models/distribution_assignments_in_frame_rel_structure.py +++ b/netex/models/distribution_assignments_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .distribution_assignment import DistributionAssignment @@ -14,7 +14,7 @@ class DistributionAssignmentsInFrameRelStructure(FrameContainmentStructure): class Meta: name = "distributionAssignmentsInFrame_RelStructure" - distribution_assignment: Iterable[DistributionAssignment] = field( + distribution_assignment: Sequence[DistributionAssignment] = field( default_factory=list, metadata={ "name": "DistributionAssignment", diff --git a/netex/models/distribution_assignments_rel_structure.py b/netex/models/distribution_assignments_rel_structure.py index e4363b530..068f5f4c1 100644 --- a/netex/models/distribution_assignments_rel_structure.py +++ b/netex/models/distribution_assignments_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -15,7 +15,7 @@ class DistributionAssignmentsRelStructure(ContainmentAggregationStructure): class Meta: name = "distributionAssignments_RelStructure" - distribution_assignment_ref_or_distribution_assignment: Iterable[ + distribution_assignment_ref_or_distribution_assignment: Sequence[ DistributionAssignmentRef | DistributionAssignment ] = field( default_factory=list, diff --git a/netex/models/distribution_channel_refs_rel_structure.py b/netex/models/distribution_channel_refs_rel_structure.py index 046cc7b2b..bf7b224b1 100644 --- a/netex/models/distribution_channel_refs_rel_structure.py +++ b/netex/models/distribution_channel_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .distribution_channel_ref import DistributionChannelRef @@ -14,7 +14,7 @@ class DistributionChannelRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "distributionChannelRefs_RelStructure" - distribution_channel_ref: Iterable[DistributionChannelRef] = field( + distribution_channel_ref: Sequence[DistributionChannelRef] = field( default_factory=list, metadata={ "name": "DistributionChannelRef", diff --git a/netex/models/distribution_channel_version_structure.py b/netex/models/distribution_channel_version_structure.py index cb3e60ca0..02a50bdf6 100644 --- a/netex/models/distribution_channel_version_structure.py +++ b/netex/models/distribution_channel_version_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .alternative_names_rel_structure import AlternativeNamesRelStructure @@ -149,7 +149,7 @@ class Meta: ), }, ) - payment_methods: Iterable[PaymentMethodEnumeration] = field( + payment_methods: Sequence[PaymentMethodEnumeration] = field( default_factory=list, metadata={ "name": "PaymentMethods", @@ -168,7 +168,7 @@ class Meta: }, ) ) - distribution_rights: Iterable[DistributionRightsEnumeration] = field( + distribution_rights: Sequence[DistributionRightsEnumeration] = field( default_factory=list, metadata={ "name": "DistributionRights", diff --git a/netex/models/distribution_channels_in_frame_rel_structure.py b/netex/models/distribution_channels_in_frame_rel_structure.py index d8c4c2597..c718bd478 100644 --- a/netex/models/distribution_channels_in_frame_rel_structure.py +++ b/netex/models/distribution_channels_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .distribution_channel import DistributionChannel @@ -14,7 +14,7 @@ class DistributionChannelsInFrameRelStructure(FrameContainmentStructure): class Meta: name = "distributionChannelsInFrame_RelStructure" - distribution_channel: Iterable[DistributionChannel] = field( + distribution_channel: Sequence[DistributionChannel] = field( default_factory=list, metadata={ "name": "DistributionChannel", diff --git a/netex/models/driver_trip_times_rel_structure.py b/netex/models/driver_trip_times_rel_structure.py index cbacd3a64..cb8f58b64 100644 --- a/netex/models/driver_trip_times_rel_structure.py +++ b/netex/models/driver_trip_times_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -15,7 +15,7 @@ class DriverTripTimesRelStructure(ContainmentAggregationStructure): class Meta: name = "driverTripTimes_RelStructure" - driver_trip_time_ref_or_driver_trip_time: Iterable[ + driver_trip_time_ref_or_driver_trip_time: Sequence[ DriverTripTimeRef | DriverTripTime ] = field( default_factory=list, diff --git a/netex/models/driver_trips_in_frame_rel_structure.py b/netex/models/driver_trips_in_frame_rel_structure.py index 6bbec193f..12278e83c 100644 --- a/netex/models/driver_trips_in_frame_rel_structure.py +++ b/netex/models/driver_trips_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class DriverTripsInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "driverTripsInFrame_RelStructure" - driver_trip: Iterable[DriverTrip] = field( + driver_trip: Sequence[DriverTrip] = field( default_factory=list, metadata={ "name": "DriverTrip", diff --git a/netex/models/dummy_place_refs_rel_structure.py b/netex/models/dummy_place_refs_rel_structure.py index a98322eea..2ad83fce5 100644 --- a/netex/models/dummy_place_refs_rel_structure.py +++ b/netex/models/dummy_place_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .access_space_ref import AccessSpaceRef @@ -65,7 +65,7 @@ class DummyPlaceRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "dummyPlaceRefs_RelStructure" - choice: Iterable[ + choice: Sequence[ HailAndRideAreaRef | FlexibleAreaRef | FlexibleQuayRef diff --git a/netex/models/duties_in_frame_rel_structure.py b/netex/models/duties_in_frame_rel_structure.py index d06640416..aa46a6f42 100644 --- a/netex/models/duties_in_frame_rel_structure.py +++ b/netex/models/duties_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class DutiesInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "dutiesInFrame_RelStructure" - duty: Iterable[Duty] = field( + duty: Sequence[Duty] = field( default_factory=list, metadata={ "name": "Duty", diff --git a/netex/models/duty_parts_in_frame_rel_structure.py b/netex/models/duty_parts_in_frame_rel_structure.py index 0789988bd..7b9fe8269 100644 --- a/netex/models/duty_parts_in_frame_rel_structure.py +++ b/netex/models/duty_parts_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class DutyPartsInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "dutyPartsInFrame_RelStructure" - duty_part: Iterable[DutyPart] = field( + duty_part: Sequence[DutyPart] = field( default_factory=list, metadata={ "name": "DutyPart", diff --git a/netex/models/duty_parts_rel_structure.py b/netex/models/duty_parts_rel_structure.py index 0f77d9666..b47eb4f96 100644 --- a/netex/models/duty_parts_rel_structure.py +++ b/netex/models/duty_parts_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -15,7 +15,7 @@ class DutyPartsRelStructure(ContainmentAggregationStructure): class Meta: name = "dutyParts_RelStructure" - duty_part_ref_or_duty_part: Iterable[DutyPartRef | DutyPart] = field( + duty_part_ref_or_duty_part: Sequence[DutyPartRef | DutyPart] = field( default_factory=list, metadata={ "type": "Elements", diff --git a/netex/models/emergency_service_list.py b/netex/models/emergency_service_list.py index e485dc1c5..dee2cf166 100644 --- a/netex/models/emergency_service_list.py +++ b/netex/models/emergency_service_list.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .emergency_service_enumeration import EmergencyServiceEnumeration @@ -13,7 +13,7 @@ class EmergencyServiceList: class Meta: namespace = "http://www.netex.org.uk/netex" - value: Iterable[EmergencyServiceEnumeration] = field( + value: Sequence[EmergencyServiceEnumeration] = field( default_factory=list, metadata={ "tokens": True, diff --git a/netex/models/entitlement_given_refs_rel_structure.py b/netex/models/entitlement_given_refs_rel_structure.py index 47e919190..fd361c30b 100644 --- a/netex/models/entitlement_given_refs_rel_structure.py +++ b/netex/models/entitlement_given_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .entitlement_given_ref import EntitlementGivenRef @@ -14,7 +14,7 @@ class EntitlementGivenRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "entitlementGivenRefs_RelStructure" - entitlement_given_ref: Iterable[EntitlementGivenRef] = field( + entitlement_given_ref: Sequence[EntitlementGivenRef] = field( default_factory=list, metadata={ "name": "EntitlementGivenRef", diff --git a/netex/models/entitlement_required_refs_rel_structure.py b/netex/models/entitlement_required_refs_rel_structure.py index 4c198e22a..c8ef05da0 100644 --- a/netex/models/entitlement_required_refs_rel_structure.py +++ b/netex/models/entitlement_required_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .entitlement_required_ref import EntitlementRequiredRef @@ -14,7 +14,7 @@ class EntitlementRequiredRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "entitlementRequiredRefs_RelStructure" - entitlement_required_ref: Iterable[EntitlementRequiredRef] = field( + entitlement_required_ref: Sequence[EntitlementRequiredRef] = field( default_factory=list, metadata={ "name": "EntitlementRequiredRef", diff --git a/netex/models/entity_in_version_in_frame_rel_structure.py b/netex/models/entity_in_version_in_frame_rel_structure.py index 8ff1dbefe..8d97f76b3 100644 --- a/netex/models/entity_in_version_in_frame_rel_structure.py +++ b/netex/models/entity_in_version_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .accepted_driver_permit_ref import AcceptedDriverPermitRef @@ -588,7 +588,7 @@ class EntityInVersionInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "entityInVersionInFrame_RelStructure" - choice: Iterable[ + choice: Sequence[ TripLegRef | IndividualPassengerInfoRef | VehiclePoolingDriverInfoRef diff --git a/netex/models/entity_in_version_structure.py b/netex/models/entity_in_version_structure.py index 98ed60e09..aa8812682 100644 --- a/netex/models/entity_in_version_structure.py +++ b/netex/models/entity_in_version_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from typing import Any, ForwardRef @@ -40,7 +40,7 @@ @dataclass(kw_only=True) class EntityInVersionStructure(EntityStructure): - validity_conditions_or_valid_between: Iterable[ + validity_conditions_or_valid_between: Sequence[ ValidityConditionsRelStructure | ValidBetween ] = field( default_factory=list, @@ -321,7 +321,7 @@ class Meta: ), }, ) - choice: Iterable[XmlTime | TimeOfDayEnumeration | int | XmlDuration] = ( + choice: Sequence[XmlTime | TimeOfDayEnumeration | int | XmlDuration] = ( field( default_factory=list, metadata={ @@ -484,7 +484,7 @@ class Meta: "namespace": "http://www.netex.org.uk/netex", }, ) - choice: Iterable[ + choice: Sequence[ str | RelativeOperatorEnumeration | ValidityRuleParameterVersionStructure.AttributeValue @@ -578,7 +578,7 @@ class TimebandsRelStructure(ContainmentAggregationStructure): class Meta: name = "timebands_RelStructure" - timeband_ref_or_timeband: Iterable[ + timeband_ref_or_timeband: Sequence[ TimebandRef | TimebandVersionedChildStructure ] = field( default_factory=list, @@ -748,7 +748,7 @@ class Meta: None | FareDayTypeRef | DayTypeRef - | Iterable[DayOfWeekEnumeration] + | Sequence[DayOfWeekEnumeration] | str ) = field( default=None, @@ -767,7 +767,7 @@ class Meta: }, { "name": "DaysOfWeek", - "type": Iterable[DayOfWeekEnumeration], + "type": Sequence[DayOfWeekEnumeration], "namespace": "http://www.netex.org.uk/netex", "default_factory": list, "tokens": True, @@ -839,7 +839,7 @@ class AlternativeTextsRelStructure(StrictContainmentAggregationStructure): class Meta: name = "alternativeTexts_RelStructure" - alternative_text: Iterable[AlternativeText] = field( + alternative_text: Sequence[AlternativeText] = field( default_factory=list, metadata={ "name": "AlternativeText", @@ -855,7 +855,7 @@ class OperatingDaysRelStructure(ContainmentAggregationStructure): class Meta: name = "operatingDays_RelStructure" - operating_day_ref_or_operating_day: Iterable[ + operating_day_ref_or_operating_day: Sequence[ OperatingDayRef | OperatingDay ] = field( default_factory=list, @@ -977,7 +977,7 @@ class DayTypesRelStructure(ContainmentAggregationStructure): class Meta: name = "dayTypes_RelStructure" - day_type_ref_or_day_type: Iterable[ + day_type_ref_or_day_type: Sequence[ FareDayTypeRef | DayTypeRef | FareDayType @@ -1090,7 +1090,7 @@ class ValidityConditionsRelStructure(ContainmentAggregationStructure): class Meta: name = "validityConditions_RelStructure" - choice: Iterable[ + choice: Sequence[ AvailabilityConditionRef | ValidityRuleParameterRef | ValidityTriggerRef diff --git a/netex/models/entrance_refs_rel_structure.py b/netex/models/entrance_refs_rel_structure.py index 4715d0e87..ba4cd6d38 100644 --- a/netex/models/entrance_refs_rel_structure.py +++ b/netex/models/entrance_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .entrance_ref import EntranceRef @@ -24,7 +24,7 @@ class EntranceRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "entranceRefs_RelStructure" - entrance_ref_or_parking_entrance_ref: Iterable[ + entrance_ref_or_parking_entrance_ref: Sequence[ StopPlaceVehicleEntranceRef | StopPlaceEntranceRef | ParkingEntranceForVehiclesRef diff --git a/netex/models/envelope_type.py b/netex/models/envelope_type.py index 05ebeeda9..140cc5a4d 100644 --- a/netex/models/envelope_type.py +++ b/netex/models/envelope_type.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from typing import ForwardRef @@ -12,7 +12,7 @@ @dataclass(kw_only=True) class EnvelopeType: - lower_corner_or_upper_corner_or_pos: Iterable[ + lower_corner_or_upper_corner_or_pos: Sequence[ EnvelopeType.LowerCorner | EnvelopeType.UpperCorner | Pos ] = field( default_factory=list, diff --git a/netex/models/equipment_places_rel_structure.py b/netex/models/equipment_places_rel_structure.py index 76db0ee4e..8c42fcd91 100644 --- a/netex/models/equipment_places_rel_structure.py +++ b/netex/models/equipment_places_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -15,7 +15,7 @@ class EquipmentPlacesRelStructure(ContainmentAggregationStructure): class Meta: name = "equipmentPlaces_RelStructure" - equipment_place_ref_or_equipment_place: Iterable[ + equipment_place_ref_or_equipment_place: Sequence[ EquipmentPlaceRef | EquipmentPlace ] = field( default_factory=list, diff --git a/netex/models/equipment_positions_rel_structure.py b/netex/models/equipment_positions_rel_structure.py index 4137f6d07..01618a4b8 100644 --- a/netex/models/equipment_positions_rel_structure.py +++ b/netex/models/equipment_positions_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .equipment_position import EquipmentPosition @@ -16,7 +16,7 @@ class EquipmentPositionsRelStructure(StrictContainmentAggregationStructure): class Meta: name = "equipmentPositions_RelStructure" - equipment_position: Iterable[EquipmentPosition] = field( + equipment_position: Sequence[EquipmentPosition] = field( default_factory=list, metadata={ "name": "EquipmentPosition", diff --git a/netex/models/equipments_in_frame_rel_structure.py b/netex/models/equipments_in_frame_rel_structure.py index 2dd274158..ffd04097c 100644 --- a/netex/models/equipments_in_frame_rel_structure.py +++ b/netex/models/equipments_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .access_vehicle_equipment import AccessVehicleEquipment @@ -69,7 +69,7 @@ class EquipmentsInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "equipmentsInFrame_RelStructure" - choice: Iterable[ + choice: Sequence[ OnlineService | VehicleRentalService | VehicleSharingService diff --git a/netex/models/equipments_rel_structure.py b/netex/models/equipments_rel_structure.py index 28c29dec0..d5286287c 100644 --- a/netex/models/equipments_rel_structure.py +++ b/netex/models/equipments_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .access_vehicle_equipment import AccessVehicleEquipment @@ -134,7 +134,7 @@ class EquipmentsRelStructure(ContainmentAggregationStructure): class Meta: name = "equipments_RelStructure" - choice: Iterable[ + choice: Sequence[ RetailDeviceRef | OnlineServiceRef | VehicleRentalServiceRef diff --git a/netex/models/estimated_passing_time_versioned_child_structure.py b/netex/models/estimated_passing_time_versioned_child_structure.py index 0ead9b380..2084f3a7d 100644 --- a/netex/models/estimated_passing_time_versioned_child_structure.py +++ b/netex/models/estimated_passing_time_versioned_child_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from typing import ForwardRef @@ -21,7 +21,7 @@ class EstimatedPassingTimeVersionedChildStructure( class Meta: name = "EstimatedPassingTime_VersionedChildStructure" - choice_1: Iterable[ + choice_1: Sequence[ EstimatedPassingTimeVersionedChildStructure.ExpectedArrivalTime | EstimatedPassingTimeVersionedChildStructure.ArrivalDayOffset | EstimatedPassingTimeVersionedChildStructure.ExpectedDepartureTime diff --git a/netex/models/estimated_passing_time_view_structure.py b/netex/models/estimated_passing_time_view_structure.py index 22edc5161..8f8c28ad8 100644 --- a/netex/models/estimated_passing_time_view_structure.py +++ b/netex/models/estimated_passing_time_view_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from typing import ForwardRef @@ -17,7 +17,7 @@ class EstimatedPassingTimeViewStructure(PassingTimeViewStructure): class Meta: name = "EstimatedPassingTime_ViewStructure" - choice: Iterable[ + choice: Sequence[ EstimatedPassingTimeViewStructure.ExpectedArrivalTime | EstimatedPassingTimeViewStructure.ArrivalDayOffset | EstimatedPassingTimeViewStructure.ExpectedDepartureTime diff --git a/netex/models/estimated_passing_times_rel_structure.py b/netex/models/estimated_passing_times_rel_structure.py index 17c2922d2..9a7217876 100644 --- a/netex/models/estimated_passing_times_rel_structure.py +++ b/netex/models/estimated_passing_times_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .estimated_passing_time import EstimatedPassingTime @@ -16,7 +16,7 @@ class EstimatedPassingTimesRelStructure(StrictContainmentAggregationStructure): class Meta: name = "estimatedPassingTimes_RelStructure" - estimated_passing_time: Iterable[EstimatedPassingTime] = field( + estimated_passing_time: Sequence[EstimatedPassingTime] = field( default_factory=list, metadata={ "name": "EstimatedPassingTime", diff --git a/netex/models/explicit_equipments_rel_structure.py b/netex/models/explicit_equipments_rel_structure.py index baac07403..8fd81a1cf 100644 --- a/netex/models/explicit_equipments_rel_structure.py +++ b/netex/models/explicit_equipments_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .access_vehicle_equipment import AccessVehicleEquipment @@ -114,7 +114,7 @@ class ExplicitEquipmentsRelStructure(ContainmentAggregationStructure): class Meta: name = "explicitEquipments_RelStructure" - choice: Iterable[ + choice: Sequence[ PassengerInformationEquipmentRef | CycleStorageEquipmentRef | TrolleyStandEquipmentRef diff --git a/netex/models/explicit_journey_refs_rel_structure.py b/netex/models/explicit_journey_refs_rel_structure.py index 5572384dc..c9430ab81 100644 --- a/netex/models/explicit_journey_refs_rel_structure.py +++ b/netex/models/explicit_journey_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .dead_run_ref import DeadRunRef @@ -17,7 +17,7 @@ class ExplicitJourneyRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "explicitJourneyRefs_RelStructure" - service_journey_ref_or_vehicle_journey_ref: Iterable[ + service_journey_ref_or_vehicle_journey_ref: Sequence[ TemplateServiceJourneyRef | ServiceJourneyRef | DeadRunRef diff --git a/netex/models/explicit_local_services_rel_structure.py b/netex/models/explicit_local_services_rel_structure.py index b336ea092..ade56d1c9 100644 --- a/netex/models/explicit_local_services_rel_structure.py +++ b/netex/models/explicit_local_services_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .assistance_booking_service import AssistanceBookingService @@ -42,7 +42,7 @@ class ExplicitLocalServicesRelStructure(ContainmentAggregationStructure): class Meta: name = "explicitLocalServices_RelStructure" - local_service_ref_or_local_service_or_customer_service: Iterable[ + local_service_ref_or_local_service_or_customer_service: Sequence[ AssistanceBookingServiceRef | CateringServiceRef | RetailServiceRef diff --git a/netex/models/explicit_place_equipments_rel_structure.py b/netex/models/explicit_place_equipments_rel_structure.py index e4ef58b99..9d62efd82 100644 --- a/netex/models/explicit_place_equipments_rel_structure.py +++ b/netex/models/explicit_place_equipments_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -34,7 +34,7 @@ class ExplicitPlaceEquipmentsRelStructure(ContainmentAggregationStructure): class Meta: name = "explicitPlaceEquipments_RelStructure" - choice: Iterable[ + choice: Sequence[ OtherPlaceEquipment | RoughSurface | EntranceEquipment diff --git a/netex/models/extensions_structure_2.py b/netex/models/extensions_structure_2.py index 81cf5380f..f30431e94 100644 --- a/netex/models/extensions_structure_2.py +++ b/netex/models/extensions_structure_2.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field __NAMESPACE__ = "http://www.netex.org.uk/netex" @@ -11,7 +11,7 @@ class ExtensionsStructure2: class Meta: name = "ExtensionsStructure" - any_element: Iterable[object] = field( + any_element: Sequence[object] = field( default_factory=list, metadata={ "type": "Wildcard", diff --git a/netex/models/facility_requirements_rel_structure.py b/netex/models/facility_requirements_rel_structure.py index 0d4ad99e3..c53bda1c5 100644 --- a/netex/models/facility_requirements_rel_structure.py +++ b/netex/models/facility_requirements_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -15,7 +15,7 @@ class FacilityRequirementsRelStructure(ContainmentAggregationStructure): class Meta: name = "facilityRequirements_RelStructure" - facility_requirement_ref_or_facility_requirement: Iterable[ + facility_requirement_ref_or_facility_requirement: Sequence[ FacilityRequirementRef | FacilityRequirement ] = field( default_factory=list, diff --git a/netex/models/facility_set_version_structure.py b/netex/models/facility_set_version_structure.py index bd78b90e3..5ffa8b791 100644 --- a/netex/models/facility_set_version_structure.py +++ b/netex/models/facility_set_version_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .accessibility_info_facility_list import AccessibilityInfoFacilityList @@ -179,7 +179,7 @@ class Meta: "namespace": "http://www.netex.org.uk/netex", }, ) - passenger_information_equipment_list: Iterable[ + passenger_information_equipment_list: Sequence[ PassengerInformationEquipmentEnumeration ] = field( default_factory=list, diff --git a/netex/models/family_facility_list.py b/netex/models/family_facility_list.py index c82442ca6..5b153a645 100644 --- a/netex/models/family_facility_list.py +++ b/netex/models/family_facility_list.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .family_facility_enumeration import FamilyFacilityEnumeration @@ -13,7 +13,7 @@ class FamilyFacilityList: class Meta: namespace = "http://www.netex.org.uk/netex" - value: Iterable[FamilyFacilityEnumeration] = field( + value: Sequence[FamilyFacilityEnumeration] = field( default_factory=list, metadata={ "tokens": True, diff --git a/netex/models/fare_classes.py b/netex/models/fare_classes.py index 5a6f31b42..5ede6339b 100644 --- a/netex/models/fare_classes.py +++ b/netex/models/fare_classes.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .fare_class_enumeration import FareClassEnumeration @@ -13,7 +13,7 @@ class FareClasses: class Meta: namespace = "http://www.netex.org.uk/netex" - value: Iterable[FareClassEnumeration] = field( + value: Sequence[FareClassEnumeration] = field( default_factory=list, metadata={ "tokens": True, diff --git a/netex/models/fare_contract_entries_rel_structure.py b/netex/models/fare_contract_entries_rel_structure.py index 68bec0a4c..2227399c9 100644 --- a/netex/models/fare_contract_entries_rel_structure.py +++ b/netex/models/fare_contract_entries_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -24,7 +24,7 @@ class FareContractEntriesRelStructure(ContainmentAggregationStructure): class Meta: name = "fareContractEntries_RelStructure" - choice: Iterable[ + choice: Sequence[ SalesTransactionRef | OfferedTravelSpecificationRef | RequestedTravelSpecificationRef diff --git a/netex/models/fare_contract_security_listing_refs_rel_structure.py b/netex/models/fare_contract_security_listing_refs_rel_structure.py index 875c79849..cc4eedf9b 100644 --- a/netex/models/fare_contract_security_listing_refs_rel_structure.py +++ b/netex/models/fare_contract_security_listing_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .fare_contract_security_listing_ref import FareContractSecurityListingRef @@ -16,7 +16,7 @@ class FareContractSecurityListingRefsRelStructure( class Meta: name = "FareContractSecurityListingRefs_RelStructure" - fare_contract_security_listing_ref: Iterable[ + fare_contract_security_listing_ref: Sequence[ FareContractSecurityListingRef ] = field( default_factory=list, diff --git a/netex/models/fare_contracts_in_frame_rel_structure.py b/netex/models/fare_contracts_in_frame_rel_structure.py index f6343b245..bb4ded2c2 100644 --- a/netex/models/fare_contracts_in_frame_rel_structure.py +++ b/netex/models/fare_contracts_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .fare_contract import FareContract @@ -14,7 +14,7 @@ class FareContractsInFrameRelStructure(FrameContainmentStructure): class Meta: name = "fareContractsInFrame_RelStructure" - fare_contract: Iterable[FareContract] = field( + fare_contract: Sequence[FareContract] = field( default_factory=list, metadata={ "name": "FareContract", diff --git a/netex/models/fare_contracts_rel_structure.py b/netex/models/fare_contracts_rel_structure.py index 4eb5b720a..390d39f5a 100644 --- a/netex/models/fare_contracts_rel_structure.py +++ b/netex/models/fare_contracts_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -15,7 +15,7 @@ class FareContractsRelStructure(ContainmentAggregationStructure): class Meta: name = "fareContracts_RelStructure" - fare_contract_ref_or_fare_contract: Iterable[ + fare_contract_ref_or_fare_contract: Sequence[ FareContractRef | FareContract ] = field( default_factory=list, diff --git a/netex/models/fare_demand_factors_rel_structure.py b/netex/models/fare_demand_factors_rel_structure.py index 94f186401..41ae2431b 100644 --- a/netex/models/fare_demand_factors_rel_structure.py +++ b/netex/models/fare_demand_factors_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .fare_demand_factor import FareDemandFactor @@ -17,7 +17,7 @@ class FareDemandFactorsRelStructure(StrictContainmentAggregationStructure): class Meta: name = "fareDemandFactors_RelStructure" - fare_demand_factor_ref_or_fare_demand_factor: Iterable[ + fare_demand_factor_ref_or_fare_demand_factor: Sequence[ FareDemandFactorRef | FareDemandFactor ] = field( default_factory=list, diff --git a/netex/models/fare_element_in_sequence_refs_rel_structure.py b/netex/models/fare_element_in_sequence_refs_rel_structure.py index 1d2f48610..4f1fd1ec2 100644 --- a/netex/models/fare_element_in_sequence_refs_rel_structure.py +++ b/netex/models/fare_element_in_sequence_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .access_right_in_product_ref import AccessRightInProductRef @@ -20,7 +20,7 @@ class FareElementInSequenceRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "fareElementInSequenceRefs_RelStructure" - fare_element_in_sequence_ref: Iterable[ + fare_element_in_sequence_ref: Sequence[ ControllableElementInSequenceRef | FareStructureElementInSequenceRef | AccessRightInProductRef diff --git a/netex/models/fare_points_in_pattern_rel_structure.py b/netex/models/fare_points_in_pattern_rel_structure.py index d4f51eb6f..e17999f42 100644 --- a/netex/models/fare_points_in_pattern_rel_structure.py +++ b/netex/models/fare_points_in_pattern_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -15,7 +15,7 @@ class FarePointsInPatternRelStructure(ContainmentAggregationStructure): class Meta: name = "farePointsInPattern_RelStructure" - fare_point_in_pattern_ref_or_fare_point_in_pattern: Iterable[ + fare_point_in_pattern_ref_or_fare_point_in_pattern: Sequence[ FarePointInPatternRef | FarePointInPattern ] = field( default_factory=list, diff --git a/netex/models/fare_prices_in_frame_rel_structure.py b/netex/models/fare_prices_in_frame_rel_structure.py index 13b050956..53917aeb3 100644 --- a/netex/models/fare_prices_in_frame_rel_structure.py +++ b/netex/models/fare_prices_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .frame_containment_structure import FrameContainmentStructure @@ -14,7 +14,7 @@ class FarePricesInFrameRelStructure(FrameContainmentStructure): class Meta: name = "farePricesInFrame_RelStructure" - price_group: Iterable[PriceGroup] = field( + price_group: Sequence[PriceGroup] = field( default_factory=list, metadata={ "name": "PriceGroup", diff --git a/netex/models/fare_product_prices_rel_structure.py b/netex/models/fare_product_prices_rel_structure.py index 65680845a..3cbf8c527 100644 --- a/netex/models/fare_product_prices_rel_structure.py +++ b/netex/models/fare_product_prices_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .cell_ref import CellRef @@ -18,7 +18,7 @@ class FareProductPricesRelStructure(StrictContainmentAggregationStructure): class Meta: name = "fareProductPrices_RelStructure" - fare_product_price_ref_or_cell_ref_or_fare_product_price: Iterable[ + fare_product_price_ref_or_cell_ref_or_fare_product_price: Sequence[ FareProductPriceRef | CellRef | FareProductPrice ] = field( default_factory=list, diff --git a/netex/models/fare_product_refs_rel_structure.py b/netex/models/fare_product_refs_rel_structure.py index e2634885e..ab7474075 100644 --- a/netex/models/fare_product_refs_rel_structure.py +++ b/netex/models/fare_product_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .amount_of_price_unit_product_ref import AmountOfPriceUnitProductRef @@ -21,7 +21,7 @@ class FareProductRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "fareProductRefs_RelStructure" - preassigned_fare_product_ref_or_fare_product_ref_or_sale_discount_right_ref: Iterable[ + preassigned_fare_product_ref_or_fare_product_ref_or_sale_discount_right_ref: Sequence[ SupplementProductRef | PreassignedFareProductRef | AmountOfPriceUnitProductRef diff --git a/netex/models/fare_products_in_frame_rel_structure.py b/netex/models/fare_products_in_frame_rel_structure.py index 14205c174..d1b44eed2 100644 --- a/netex/models/fare_products_in_frame_rel_structure.py +++ b/netex/models/fare_products_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .amount_of_price_unit_product import AmountOfPriceUnitProduct @@ -20,7 +20,7 @@ class FareProductsInFrameRelStructure(FrameContainmentStructure): class Meta: name = "fareProductsInFrame_RelStructure" - fare_product: Iterable[ + fare_product: Sequence[ SupplementProduct | PreassignedFareProduct | AmountOfPriceUnitProduct diff --git a/netex/models/fare_quota_factors_rel_structure.py b/netex/models/fare_quota_factors_rel_structure.py index 7e6768d48..03b3576e5 100644 --- a/netex/models/fare_quota_factors_rel_structure.py +++ b/netex/models/fare_quota_factors_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .fare_quota_factor import FareQuotaFactor @@ -17,7 +17,7 @@ class FareQuotaFactorsRelStructure(StrictContainmentAggregationStructure): class Meta: name = "fareQuotaFactors_RelStructure" - fare_quota_factor_ref_or_fare_quota_factor: Iterable[ + fare_quota_factor_ref_or_fare_quota_factor: Sequence[ FareQuotaFactorRef | FareQuotaFactor ] = field( default_factory=list, diff --git a/netex/models/fare_scheduled_stop_point_refs_rel_structure.py b/netex/models/fare_scheduled_stop_point_refs_rel_structure.py index 75a03a9ba..7c74eebf8 100644 --- a/netex/models/fare_scheduled_stop_point_refs_rel_structure.py +++ b/netex/models/fare_scheduled_stop_point_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .fare_scheduled_stop_point_ref import FareScheduledStopPointRef @@ -14,7 +14,7 @@ class FareScheduledStopPointRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "fareScheduledStopPointRefs_RelStructure" - fare_scheduled_stop_point_ref: Iterable[FareScheduledStopPointRef] = field( + fare_scheduled_stop_point_ref: Sequence[FareScheduledStopPointRef] = field( default_factory=list, metadata={ "name": "FareScheduledStopPointRef", diff --git a/netex/models/fare_scheduled_stop_points_in_frame_rel_structure.py b/netex/models/fare_scheduled_stop_points_in_frame_rel_structure.py index 742525904..6390be66e 100644 --- a/netex/models/fare_scheduled_stop_points_in_frame_rel_structure.py +++ b/netex/models/fare_scheduled_stop_points_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .fare_scheduled_stop_point import FareScheduledStopPoint @@ -15,7 +15,7 @@ class FareScheduledStopPointsInFrameRelStructure(FrameContainmentStructure): class Meta: name = "fareScheduledStopPointsInFrame_RelStructure" - scheduled_stop_point_or_fare_scheduled_stop_point: Iterable[ + scheduled_stop_point_or_fare_scheduled_stop_point: Sequence[ ScheduledStopPoint | FareScheduledStopPoint ] = field( default_factory=list, diff --git a/netex/models/fare_sections_in_frame_rel_structure.py b/netex/models/fare_sections_in_frame_rel_structure.py index 5db4c1047..d2f0bf0e0 100644 --- a/netex/models/fare_sections_in_frame_rel_structure.py +++ b/netex/models/fare_sections_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .frame_containment_structure import FrameContainmentStructure @@ -14,7 +14,7 @@ class FareSectionsInFrameRelStructure(FrameContainmentStructure): class Meta: name = "fareSectionsInFrame_RelStructure" - fare_section: Iterable[FareSection] = field( + fare_section: Sequence[FareSection] = field( default_factory=list, metadata={ "name": "FareSection", diff --git a/netex/models/fare_sections_rel_structure.py b/netex/models/fare_sections_rel_structure.py index 6b58342c7..f369d1a45 100644 --- a/netex/models/fare_sections_rel_structure.py +++ b/netex/models/fare_sections_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -15,7 +15,7 @@ class FareSectionsRelStructure(ContainmentAggregationStructure): class Meta: name = "fareSections_RelStructure" - fare_section_ref_or_fare_section: Iterable[ + fare_section_ref_or_fare_section: Sequence[ FareSectionRef | FareSection ] = field( default_factory=list, diff --git a/netex/models/fare_series_in_frame_rel_structure.py b/netex/models/fare_series_in_frame_rel_structure.py index bf6e40ec1..92666e8e8 100644 --- a/netex/models/fare_series_in_frame_rel_structure.py +++ b/netex/models/fare_series_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .frame_containment_structure import FrameContainmentStructure @@ -14,7 +14,7 @@ class FareSeriesInFrameRelStructure(FrameContainmentStructure): class Meta: name = "fareSeriesInFrame_RelStructure" - series_constraint: Iterable[SeriesConstraint] = field( + series_constraint: Sequence[SeriesConstraint] = field( default_factory=list, metadata={ "name": "SeriesConstraint", diff --git a/netex/models/fare_structure_element_prices_rel_structure.py b/netex/models/fare_structure_element_prices_rel_structure.py index 27519e8a6..b1b4b4a9f 100644 --- a/netex/models/fare_structure_element_prices_rel_structure.py +++ b/netex/models/fare_structure_element_prices_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .cell_ref import CellRef @@ -22,7 +22,7 @@ class FareStructureElementPricesRelStructure( class Meta: name = "fareStructureElementPrices_RelStructure" - fare_structure_element_price_ref_or_fare_structure_element_price_or_cell_ref: Iterable[ + fare_structure_element_price_ref_or_fare_structure_element_price_or_cell_ref: Sequence[ FareStructureElementPriceRef | FareStructureElementPriceVersionedChildStructure | CellRef diff --git a/netex/models/fare_structure_element_refs_rel_structure.py b/netex/models/fare_structure_element_refs_rel_structure.py index 685598fa5..ddda4bd8e 100644 --- a/netex/models/fare_structure_element_refs_rel_structure.py +++ b/netex/models/fare_structure_element_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .fare_structure_element_ref import FareStructureElementRef @@ -14,7 +14,7 @@ class FareStructureElementRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "fareStructureElementRefs_RelStructure" - fare_structure_element_ref: Iterable[FareStructureElementRef] = field( + fare_structure_element_ref: Sequence[FareStructureElementRef] = field( default_factory=list, metadata={ "name": "FareStructureElementRef", diff --git a/netex/models/fare_structure_elements_in_frame_rel_structure.py b/netex/models/fare_structure_elements_in_frame_rel_structure.py index 5a03a9983..5b1fe67cb 100644 --- a/netex/models/fare_structure_elements_in_frame_rel_structure.py +++ b/netex/models/fare_structure_elements_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .fare_structure_element import FareStructureElement @@ -14,7 +14,7 @@ class FareStructureElementsInFrameRelStructure(FrameContainmentStructure): class Meta: name = "fareStructureElementsInFrame_RelStructure" - fare_structure_element: Iterable[FareStructureElement] = field( + fare_structure_element: Sequence[FareStructureElement] = field( default_factory=list, metadata={ "name": "FareStructureElement", diff --git a/netex/models/fare_structure_elements_in_sequence_rel_structure.py b/netex/models/fare_structure_elements_in_sequence_rel_structure.py index 325f97fa0..e899d19d8 100644 --- a/netex/models/fare_structure_elements_in_sequence_rel_structure.py +++ b/netex/models/fare_structure_elements_in_sequence_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .controllable_element_in_sequence import ControllableElementInSequence @@ -19,7 +19,7 @@ class FareStructureElementsInSequenceRelStructure( class Meta: name = "fareStructureElementsInSequence_RelStructure" - fare_structure_element_in_sequence_or_controllable_element_in_sequence: Iterable[ + fare_structure_element_in_sequence_or_controllable_element_in_sequence: Sequence[ FareStructureElementInSequence | ControllableElementInSequence ] = field( default_factory=list, diff --git a/netex/models/fare_structure_elements_rel_structure.py b/netex/models/fare_structure_elements_rel_structure.py index b637369f0..6826c9b3d 100644 --- a/netex/models/fare_structure_elements_rel_structure.py +++ b/netex/models/fare_structure_elements_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -15,7 +15,7 @@ class FareStructureElementsRelStructure(ContainmentAggregationStructure): class Meta: name = "fareStructureElements_RelStructure" - fare_structure_element_ref_or_fare_structure_element: Iterable[ + fare_structure_element_ref_or_fare_structure_element: Sequence[ FareStructureElementRef | FareStructureElement ] = field( default_factory=list, diff --git a/netex/models/fare_structure_factors_rel_structure.py b/netex/models/fare_structure_factors_rel_structure.py index efaf279d8..3d559f6a8 100644 --- a/netex/models/fare_structure_factors_rel_structure.py +++ b/netex/models/fare_structure_factors_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -20,7 +20,7 @@ class FareStructureFactorsRelStructure(ContainmentAggregationStructure): class Meta: name = "fareStructureFactors_RelStructure" - choice: Iterable[ + choice: Sequence[ ParkingChargeBandRef | TimeStructureFactorRef | FareQuotaFactorRef diff --git a/netex/models/fare_table_columns_rel_structure.py b/netex/models/fare_table_columns_rel_structure.py index abbc0c6fb..965c4c8e2 100644 --- a/netex/models/fare_table_columns_rel_structure.py +++ b/netex/models/fare_table_columns_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from typing import Any @@ -22,7 +22,7 @@ class FareTableColumnsRelStructure(StrictContainmentAggregationStructure): class Meta: name = "fareTableColumns_RelStructure" - fare_table_column: Iterable[FareTableColumn] = field( + fare_table_column: Sequence[FareTableColumn] = field( default_factory=list, metadata={ "name": "FareTableColumn", diff --git a/netex/models/fare_table_refs_rel_structure.py b/netex/models/fare_table_refs_rel_structure.py index 541c05069..b4ca0a50f 100644 --- a/netex/models/fare_table_refs_rel_structure.py +++ b/netex/models/fare_table_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .fare_table_ref import FareTableRef @@ -15,7 +15,7 @@ class FareTableRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "fareTableRefs_RelStructure" - fare_table_ref: Iterable[StandardFareTableRef | FareTableRef] = field( + fare_table_ref: Sequence[StandardFareTableRef | FareTableRef] = field( default_factory=list, metadata={ "type": "Elements", diff --git a/netex/models/fare_table_rows_rel_structure.py b/netex/models/fare_table_rows_rel_structure.py index 6b4e2051e..abdaa195d 100644 --- a/netex/models/fare_table_rows_rel_structure.py +++ b/netex/models/fare_table_rows_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from typing import Any @@ -22,7 +22,7 @@ class FareTableRowsRelStructure(StrictContainmentAggregationStructure): class Meta: name = "fareTableRows_RelStructure" - fare_table_row: Iterable[FareTableRow] = field( + fare_table_row: Sequence[FareTableRow] = field( default_factory=list, metadata={ "name": "FareTableRow", diff --git a/netex/models/fare_tables_in_frame_rel_structure.py b/netex/models/fare_tables_in_frame_rel_structure.py index 331015831..d62ac527e 100644 --- a/netex/models/fare_tables_in_frame_rel_structure.py +++ b/netex/models/fare_tables_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .frame_containment_structure import FrameContainmentStructure @@ -18,7 +18,7 @@ class FareTablesInFrameRelStructure(FrameContainmentStructure): class Meta: name = "fareTablesInFrame_RelStructure" - fare_table: Iterable[ + fare_table: Sequence[ StandardFareTable | FareTableInContext | FareTable ] = field( default_factory=list, diff --git a/netex/models/fare_zone_refs_rel_structure.py b/netex/models/fare_zone_refs_rel_structure.py index 7f47b8647..15d82bcf2 100644 --- a/netex/models/fare_zone_refs_rel_structure.py +++ b/netex/models/fare_zone_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .fare_zone_ref import FareZoneRef @@ -14,7 +14,7 @@ class FareZoneRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "fareZoneRefs_RelStructure" - fare_zone_ref: Iterable[FareZoneRef] = field( + fare_zone_ref: Sequence[FareZoneRef] = field( default_factory=list, metadata={ "name": "FareZoneRef", diff --git a/netex/models/fare_zones_in_frame_rel_structure.py b/netex/models/fare_zones_in_frame_rel_structure.py index cbd9831ca..3015f9e30 100644 --- a/netex/models/fare_zones_in_frame_rel_structure.py +++ b/netex/models/fare_zones_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .fare_zone import FareZone @@ -14,7 +14,7 @@ class FareZonesInFrameRelStructure(FrameContainmentStructure): class Meta: name = "fareZonesInFrame_RelStructure" - fare_zone: Iterable[FareZone] = field( + fare_zone: Sequence[FareZone] = field( default_factory=list, metadata={ "name": "FareZone", diff --git a/netex/models/feature_type_refs_rel_structure.py b/netex/models/feature_type_refs_rel_structure.py index 7db3e214d..b5cd34bb9 100644 --- a/netex/models/feature_type_refs_rel_structure.py +++ b/netex/models/feature_type_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .one_to_many_relationship_structure import OneToManyRelationshipStructure @@ -14,7 +14,7 @@ class FeatureTypeRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "featureTypeRefs_RelStructure" - type_of_feature_ref: Iterable[TypeOfFeatureRef] = field( + type_of_feature_ref: Sequence[TypeOfFeatureRef] = field( default_factory=list, metadata={ "name": "TypeOfFeatureRef", diff --git a/netex/models/fleet_refs_rel_structure.py b/netex/models/fleet_refs_rel_structure.py index 9dfb29ae2..0c4ccd240 100644 --- a/netex/models/fleet_refs_rel_structure.py +++ b/netex/models/fleet_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .fleet_ref import FleetRef @@ -14,7 +14,7 @@ class FleetRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "fleetRefs_RelStructure" - fleet_ref: Iterable[FleetRef] = field( + fleet_ref: Sequence[FleetRef] = field( default_factory=list, metadata={ "name": "FleetRef", diff --git a/netex/models/fleets_rel_structure.py b/netex/models/fleets_rel_structure.py index 59deb3985..bf43d4dc8 100644 --- a/netex/models/fleets_rel_structure.py +++ b/netex/models/fleets_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class FleetsRelStructure(ContainmentAggregationStructure): class Meta: name = "fleets_RelStructure" - fleet: Iterable[Fleet] = field( + fleet: Sequence[Fleet] = field( default_factory=list, metadata={ "name": "Fleet", diff --git a/netex/models/flexible_areas_rel_structure.py b/netex/models/flexible_areas_rel_structure.py index 505de06ff..27b930440 100644 --- a/netex/models/flexible_areas_rel_structure.py +++ b/netex/models/flexible_areas_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -15,7 +15,7 @@ class FlexibleAreasRelStructure(ContainmentAggregationStructure): class Meta: name = "flexibleAreas_RelStructure" - flexible_area_ref_or_flexible_area: Iterable[ + flexible_area_ref_or_flexible_area: Sequence[ FlexibleAreaRef | FlexibleArea ] = field( default_factory=list, diff --git a/netex/models/flexible_line_derived_view_structure.py b/netex/models/flexible_line_derived_view_structure.py index 1f39229b5..313a63431 100644 --- a/netex/models/flexible_line_derived_view_structure.py +++ b/netex/models/flexible_line_derived_view_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from xsdata.models.datatype import XmlDuration, XmlTime @@ -38,7 +38,7 @@ class Meta: "namespace": "http://www.netex.org.uk/netex", }, ) - booking_methods: Iterable[BookingMethodEnumeration] = field( + booking_methods: Sequence[BookingMethodEnumeration] = field( default_factory=list, metadata={ "name": "BookingMethods", @@ -63,7 +63,7 @@ class Meta: "namespace": "http://www.netex.org.uk/netex", }, ) - buy_when: Iterable[PurchaseMomentEnumeration] = field( + buy_when: Sequence[PurchaseMomentEnumeration] = field( default_factory=list, metadata={ "name": "BuyWhen", diff --git a/netex/models/flexible_line_refs_rel_structure.py b/netex/models/flexible_line_refs_rel_structure.py index f7af9ee85..91dea7f33 100644 --- a/netex/models/flexible_line_refs_rel_structure.py +++ b/netex/models/flexible_line_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .flexible_line_ref import FlexibleLineRef @@ -14,7 +14,7 @@ class FlexibleLineRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "flexibleLineRefs_RelStructure" - flexible_line_ref: Iterable[FlexibleLineRef] = field( + flexible_line_ref: Sequence[FlexibleLineRef] = field( default_factory=list, metadata={ "name": "FlexibleLineRef", diff --git a/netex/models/flexible_line_version_structure.py b/netex/models/flexible_line_version_structure.py index 2713489da..1b14e82a8 100644 --- a/netex/models/flexible_line_version_structure.py +++ b/netex/models/flexible_line_version_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from xsdata.models.datatype import XmlDuration, XmlTime @@ -38,7 +38,7 @@ class Meta: "namespace": "http://www.netex.org.uk/netex", }, ) - booking_methods: Iterable[BookingMethodEnumeration] = field( + booking_methods: Sequence[BookingMethodEnumeration] = field( default_factory=list, metadata={ "name": "BookingMethods", @@ -63,7 +63,7 @@ class Meta: "namespace": "http://www.netex.org.uk/netex", }, ) - buy_when: Iterable[PurchaseMomentEnumeration] = field( + buy_when: Sequence[PurchaseMomentEnumeration] = field( default_factory=list, metadata={ "name": "BuyWhen", diff --git a/netex/models/flexible_link_properties_rel_structure.py b/netex/models/flexible_link_properties_rel_structure.py index adf4b03cc..18e7f94c1 100644 --- a/netex/models/flexible_link_properties_rel_structure.py +++ b/netex/models/flexible_link_properties_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class FlexibleLinkPropertiesRelStructure(ContainmentAggregationStructure): class Meta: name = "flexibleLinkProperties_RelStructure" - flexible_link_properties: Iterable[FlexibleLinkProperties] = field( + flexible_link_properties: Sequence[FlexibleLinkProperties] = field( default_factory=list, metadata={ "name": "FlexibleLinkProperties", diff --git a/netex/models/flexible_point_properties_rel_structure.py b/netex/models/flexible_point_properties_rel_structure.py index d411ad7a5..7d135c453 100644 --- a/netex/models/flexible_point_properties_rel_structure.py +++ b/netex/models/flexible_point_properties_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class FlexiblePointPropertiesRelStructure(ContainmentAggregationStructure): class Meta: name = "flexiblePointProperties_RelStructure" - flexible_point_properties: Iterable[FlexiblePointProperties] = field( + flexible_point_properties: Sequence[FlexiblePointProperties] = field( default_factory=list, metadata={ "name": "FlexiblePointProperties", diff --git a/netex/models/flexible_quays_rel_structure.py b/netex/models/flexible_quays_rel_structure.py index a5c86b03c..d9f348e0a 100644 --- a/netex/models/flexible_quays_rel_structure.py +++ b/netex/models/flexible_quays_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -17,7 +17,7 @@ class FlexibleQuaysRelStructure(ContainmentAggregationStructure): class Meta: name = "flexibleQuays_RelStructure" - choice: Iterable[ + choice: Sequence[ HailAndRideAreaRef | FlexibleAreaRef | FlexibleQuayRef | FlexibleQuay ] = field( default_factory=list, diff --git a/netex/models/flexible_service_properties_in_frame_rel_structure.py b/netex/models/flexible_service_properties_in_frame_rel_structure.py index b7185980e..16d112fe7 100644 --- a/netex/models/flexible_service_properties_in_frame_rel_structure.py +++ b/netex/models/flexible_service_properties_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -16,7 +16,7 @@ class FlexibleServicePropertiesInFrameRelStructure( class Meta: name = "flexibleServicePropertiesInFrame_RelStructure" - flexible_service_properties: Iterable[FlexibleServiceProperties] = field( + flexible_service_properties: Sequence[FlexibleServiceProperties] = field( default_factory=list, metadata={ "name": "FlexibleServiceProperties", diff --git a/netex/models/flexible_service_properties_rel_structure.py b/netex/models/flexible_service_properties_rel_structure.py index e47247814..1a1464bc0 100644 --- a/netex/models/flexible_service_properties_rel_structure.py +++ b/netex/models/flexible_service_properties_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .flexible_service_properties import FlexibleServiceProperties @@ -15,7 +15,7 @@ class FlexibleServicePropertiesRelStructure(OneToManyRelationshipStructure): class Meta: name = "flexibleServiceProperties_RelStructure" - flexible_service_properties_ref_or_flexible_service_properties: Iterable[ + flexible_service_properties_ref_or_flexible_service_properties: Sequence[ FlexibleServicePropertiesRef | FlexibleServiceProperties ] = field( default_factory=list, diff --git a/netex/models/flexible_service_properties_version_structure.py b/netex/models/flexible_service_properties_version_structure.py index 5a4ca3aec..820d197a7 100644 --- a/netex/models/flexible_service_properties_version_structure.py +++ b/netex/models/flexible_service_properties_version_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from xsdata.models.datatype import XmlDuration, XmlTime @@ -129,7 +129,7 @@ class Meta: "namespace": "http://www.netex.org.uk/netex", }, ) - booking_methods: Iterable[BookingMethodEnumeration] = field( + booking_methods: Sequence[BookingMethodEnumeration] = field( default_factory=list, metadata={ "name": "BookingMethods", @@ -154,7 +154,7 @@ class Meta: "namespace": "http://www.netex.org.uk/netex", }, ) - buy_when: Iterable[PurchaseMomentEnumeration] = field( + buy_when: Sequence[PurchaseMomentEnumeration] = field( default_factory=list, metadata={ "name": "BuyWhen", diff --git a/netex/models/flexible_stop_place_refs_rel_structure.py b/netex/models/flexible_stop_place_refs_rel_structure.py index d3e2c961f..0f57b65ba 100644 --- a/netex/models/flexible_stop_place_refs_rel_structure.py +++ b/netex/models/flexible_stop_place_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .flexible_stop_place_ref import FlexibleStopPlaceRef @@ -14,7 +14,7 @@ class FlexibleStopPlaceRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "flexibleStopPlaceRefs_RelStructure" - flexible_stop_place_ref: Iterable[FlexibleStopPlaceRef] = field( + flexible_stop_place_ref: Sequence[FlexibleStopPlaceRef] = field( default_factory=list, metadata={ "name": "FlexibleStopPlaceRef", diff --git a/netex/models/flexible_stop_place_version_structure.py b/netex/models/flexible_stop_place_version_structure.py index e4d76b0c9..65476bff1 100644 --- a/netex/models/flexible_stop_place_version_structure.py +++ b/netex/models/flexible_stop_place_version_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .all_vehicle_modes_of_transport_enumeration import ( @@ -72,7 +72,7 @@ class Meta: @dataclass(kw_only=True) class Areas: - choice: Iterable[ + choice: Sequence[ FlexibleArea | FlexibleAreaRef | HailAndRideArea diff --git a/netex/models/flexible_stop_places_in_frame_rel_structure.py b/netex/models/flexible_stop_places_in_frame_rel_structure.py index 61014ec57..1f359f5e8 100644 --- a/netex/models/flexible_stop_places_in_frame_rel_structure.py +++ b/netex/models/flexible_stop_places_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class FlexibleStopPlacesInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "flexibleStopPlacesInFrame_RelStructure" - flexible_stop_place: Iterable[FlexibleStopPlace] = field( + flexible_stop_place: Sequence[FlexibleStopPlace] = field( default_factory=list, metadata={ "name": "FlexibleStopPlace", diff --git a/netex/models/flexible_stop_places_rel_structure.py b/netex/models/flexible_stop_places_rel_structure.py index ba574a287..1dc515415 100644 --- a/netex/models/flexible_stop_places_rel_structure.py +++ b/netex/models/flexible_stop_places_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -15,7 +15,7 @@ class FlexibleStopPlacesRelStructure(ContainmentAggregationStructure): class Meta: name = "flexibleStopPlaces_RelStructure" - flexible_stop_place_ref_or_flexible_stop_place: Iterable[ + flexible_stop_place_ref_or_flexible_stop_place: Sequence[ FlexibleStopPlaceRef | FlexibleStopPlace ] = field( default_factory=list, diff --git a/netex/models/frequency_groups_in_frame_rel_structure.py b/netex/models/frequency_groups_in_frame_rel_structure.py index dd855688b..1f6bb09d0 100644 --- a/netex/models/frequency_groups_in_frame_rel_structure.py +++ b/netex/models/frequency_groups_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -15,7 +15,7 @@ class FrequencyGroupsInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "frequencyGroupsInFrame_RelStructure" - headway_journey_group_or_rhythmical_journey_group: Iterable[ + headway_journey_group_or_rhythmical_journey_group: Sequence[ HeadwayJourneyGroup | RhythmicalJourneyGroup ] = field( default_factory=list, diff --git a/netex/models/frequency_groups_rel_structure.py b/netex/models/frequency_groups_rel_structure.py index 79349f039..ddd2b4d58 100644 --- a/netex/models/frequency_groups_rel_structure.py +++ b/netex/models/frequency_groups_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -17,7 +17,7 @@ class FrequencyGroupsRelStructure(ContainmentAggregationStructure): class Meta: name = "frequencyGroups_RelStructure" - choice: Iterable[ + choice: Sequence[ HeadwayJourneyGroupRef | HeadwayJourneyGroup | RhythmicalJourneyGroupRef diff --git a/netex/models/fulfilment_method_prices_rel_structure.py b/netex/models/fulfilment_method_prices_rel_structure.py index 6c8bcb153..b289937b4 100644 --- a/netex/models/fulfilment_method_prices_rel_structure.py +++ b/netex/models/fulfilment_method_prices_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .cell_ref import CellRef @@ -22,7 +22,7 @@ class FulfilmentMethodPricesRelStructure( class Meta: name = "fulfilmentMethodPrices_RelStructure" - fulfilment_method_price_ref_or_fulfilment_method_price_or_cell_ref: Iterable[ + fulfilment_method_price_ref_or_fulfilment_method_price_or_cell_ref: Sequence[ FulfilmentMethodPriceRef | FulfilmentMethodPriceVersionedChildStructure | CellRef diff --git a/netex/models/fulfilment_method_refs_rel_structure.py b/netex/models/fulfilment_method_refs_rel_structure.py index 44b8dceea..fd39324ae 100644 --- a/netex/models/fulfilment_method_refs_rel_structure.py +++ b/netex/models/fulfilment_method_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .fulfilment_method_ref import FulfilmentMethodRef @@ -14,7 +14,7 @@ class FulfilmentMethodRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "fulfilmentMethodRefs_RelStructure" - fulfilment_method_ref: Iterable[FulfilmentMethodRef] = field( + fulfilment_method_ref: Sequence[FulfilmentMethodRef] = field( default_factory=list, metadata={ "name": "FulfilmentMethodRef", diff --git a/netex/models/fulfilment_methods_in_frame_rel_structure.py b/netex/models/fulfilment_methods_in_frame_rel_structure.py index d3467d82d..1bf2a5451 100644 --- a/netex/models/fulfilment_methods_in_frame_rel_structure.py +++ b/netex/models/fulfilment_methods_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .frame_containment_structure import FrameContainmentStructure @@ -14,7 +14,7 @@ class FulfilmentMethodsInFrameRelStructure(FrameContainmentStructure): class Meta: name = "fulfilmentMethodsInFrame_RelStructure" - fulfilment_method: Iterable[FulfilmentMethod] = field( + fulfilment_method: Sequence[FulfilmentMethod] = field( default_factory=list, metadata={ "name": "FulfilmentMethod", diff --git a/netex/models/fulfilment_methods_rel_structure.py b/netex/models/fulfilment_methods_rel_structure.py index be62e6a6a..639139088 100644 --- a/netex/models/fulfilment_methods_rel_structure.py +++ b/netex/models/fulfilment_methods_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -15,7 +15,7 @@ class FulfilmentMethodsRelStructure(ContainmentAggregationStructure): class Meta: name = "fulfilmentMethods_RelStructure" - fulfilment_method_ref_or_fulfilment_method: Iterable[ + fulfilment_method_ref_or_fulfilment_method: Sequence[ FulfilmentMethodRef | FulfilmentMethod ] = field( default_factory=list, diff --git a/netex/models/garage_points_rel_structure.py b/netex/models/garage_points_rel_structure.py index 69fe210dc..4e9611820 100644 --- a/netex/models/garage_points_rel_structure.py +++ b/netex/models/garage_points_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .garage_point import GaragePoint @@ -17,7 +17,7 @@ class GaragePointsRelStructure(StrictContainmentAggregationStructure): class Meta: name = "garagePoints_RelStructure" - garage_point_ref_or_garage_point: Iterable[ + garage_point_ref_or_garage_point: Sequence[ GaragePointRef | GaragePoint ] = field( default_factory=list, diff --git a/netex/models/garage_refs_rel_structure.py b/netex/models/garage_refs_rel_structure.py index 65c8672b8..f0ae86a1b 100644 --- a/netex/models/garage_refs_rel_structure.py +++ b/netex/models/garage_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .garage_ref import GarageRef @@ -14,7 +14,7 @@ class GarageRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "garageRefs_RelStructure" - garage_ref: Iterable[GarageRef] = field( + garage_ref: Sequence[GarageRef] = field( default_factory=list, metadata={ "name": "GarageRef", diff --git a/netex/models/garages_in_frame_rel_structure.py b/netex/models/garages_in_frame_rel_structure.py index a7aed4f2a..6618189f7 100644 --- a/netex/models/garages_in_frame_rel_structure.py +++ b/netex/models/garages_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class GaragesInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "garagesInFrame_RelStructure" - garage: Iterable[Garage] = field( + garage: Sequence[Garage] = field( default_factory=list, metadata={ "name": "Garage", diff --git a/netex/models/general_sections_in_frame_rel_structure.py b/netex/models/general_sections_in_frame_rel_structure.py index d6d8c89f2..5645698ad 100644 --- a/netex/models/general_sections_in_frame_rel_structure.py +++ b/netex/models/general_sections_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class GeneralSectionsInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "generalSectionsInFrame_RelStructure" - general_section: Iterable[GeneralSection] = field( + general_section: Sequence[GeneralSection] = field( default_factory=list, metadata={ "name": "GeneralSection", diff --git a/netex/models/general_version_frame_structure.py b/netex/models/general_version_frame_structure.py index 7bcd3e18c..fbf6376e2 100644 --- a/netex/models/general_version_frame_structure.py +++ b/netex/models/general_version_frame_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from typing import ForwardRef @@ -684,7 +684,7 @@ class EntitiesInVersionRelStructure(ContainmentAggregationStructure): class Meta: name = "entitiesInVersion_RelStructure" - choice: Iterable[ + choice: Sequence[ VehicleTypeZoneRestriction | MediumApplicationInstance | CustomerPaymentMeans @@ -4402,7 +4402,7 @@ class FramesRelStructure(ContainmentAggregationStructure): class Meta: name = "frames_RelStructure" - common_frame: Iterable[ + common_frame: Sequence[ MobilityJourneyFrame | MobilityServiceFrame | SalesTransactionFrame @@ -4555,7 +4555,7 @@ class GeneralFrameMembersRelStructure(ContainmentAggregationStructure): class Meta: name = "generalFrameMembers_RelStructure" - choice: Iterable[ + choice: Sequence[ GeneralFrameMember | Fleet | IndividualPassengerInfo diff --git a/netex/models/generic_parameter_assignments_rel_structure.py b/netex/models/generic_parameter_assignments_rel_structure.py index b84b8bc5c..571edbd45 100644 --- a/netex/models/generic_parameter_assignments_rel_structure.py +++ b/netex/models/generic_parameter_assignments_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from typing import ForwardRef @@ -18,7 +18,7 @@ class GenericParameterAssignmentsRelStructure(ContainmentAggregationStructure): class Meta: name = "genericParameterAssignments_RelStructure" - generic_parameter_assignment_or_generic_parameter_assignment_in_context: Iterable[ + generic_parameter_assignment_or_generic_parameter_assignment_in_context: Sequence[ GenericParameterAssignment | GenericParameterAssignmentInContext ] = field( default_factory=list, diff --git a/netex/models/geographical_interval_prices_rel_structure.py b/netex/models/geographical_interval_prices_rel_structure.py index b40912328..f169e2e41 100644 --- a/netex/models/geographical_interval_prices_rel_structure.py +++ b/netex/models/geographical_interval_prices_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .cell_ref import CellRef @@ -22,7 +22,7 @@ class GeographicalIntervalPricesRelStructure( class Meta: name = "geographicalIntervalPrices_RelStructure" - geographical_interval_price_ref_or_geographical_interval_price_or_cell_ref: Iterable[ + geographical_interval_price_ref_or_geographical_interval_price_or_cell_ref: Sequence[ GeographicalIntervalPriceRef | GeographicalIntervalPriceVersionedChildStructure | CellRef diff --git a/netex/models/geographical_intervals_rel_structure.py b/netex/models/geographical_intervals_rel_structure.py index b707b590d..7de6f8a61 100644 --- a/netex/models/geographical_intervals_rel_structure.py +++ b/netex/models/geographical_intervals_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -15,7 +15,7 @@ class GeographicalIntervalsRelStructure(ContainmentAggregationStructure): class Meta: name = "geographicalIntervals_RelStructure" - geographical_interval_ref_or_geographical_interval: Iterable[ + geographical_interval_ref_or_geographical_interval: Sequence[ GeographicalIntervalRef | GeographicalInterval ] = field( default_factory=list, diff --git a/netex/models/geographical_structure_factors_rel_structure.py b/netex/models/geographical_structure_factors_rel_structure.py index 6f260180c..2c0787f92 100644 --- a/netex/models/geographical_structure_factors_rel_structure.py +++ b/netex/models/geographical_structure_factors_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .geographical_structure_factor import GeographicalStructureFactor @@ -19,7 +19,7 @@ class GeographicalStructureFactorsRelStructure( class Meta: name = "geographicalStructureFactors_RelStructure" - geographical_structure_factor_ref_or_geographical_structure_factor: Iterable[ + geographical_structure_factor_ref_or_geographical_structure_factor: Sequence[ GeographicalStructureFactorRef | GeographicalStructureFactor ] = field( default_factory=list, diff --git a/netex/models/geographical_unit_prices_rel_structure.py b/netex/models/geographical_unit_prices_rel_structure.py index e56cd474f..11602e108 100644 --- a/netex/models/geographical_unit_prices_rel_structure.py +++ b/netex/models/geographical_unit_prices_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from typing import ForwardRef @@ -24,7 +24,7 @@ class GeographicalUnitPricesRelStructure( class Meta: name = "geographicalUnitPrices_RelStructure" - geographical_unit_price_ref_or_geographical_unit_price_or_cell_ref: Iterable[ + geographical_unit_price_ref_or_geographical_unit_price_or_cell_ref: Sequence[ GeographicalUnitPriceRef | GeographicalUnitPriceVersionedChildStructure | CellRef diff --git a/netex/models/geographical_units_rel_structure.py b/netex/models/geographical_units_rel_structure.py index f140b450b..29ef95a2e 100644 --- a/netex/models/geographical_units_rel_structure.py +++ b/netex/models/geographical_units_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -15,7 +15,7 @@ class GeographicalUnitsRelStructure(ContainmentAggregationStructure): class Meta: name = "geographicalUnits_RelStructure" - geographical_unit_ref_or_geographical_unit: Iterable[ + geographical_unit_ref_or_geographical_unit: Sequence[ GeographicalUnitRef | GeographicalUnit ] = field( default_factory=list, diff --git a/netex/models/geometry_array_property_type.py b/netex/models/geometry_array_property_type.py index 3169c48e3..715cb8104 100644 --- a/netex/models/geometry_array_property_type.py +++ b/netex/models/geometry_array_property_type.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .line_string import LineString @@ -13,7 +13,7 @@ @dataclass(kw_only=True) class GeometryArrayPropertyType: - choice: Iterable[MultiSurface | Polygon | LineString | Point1] = field( + choice: Sequence[MultiSurface | Polygon | LineString | Point1] = field( default_factory=list, metadata={ "type": "Elements", diff --git a/netex/models/group_membership_refs_rel_structure.py b/netex/models/group_membership_refs_rel_structure.py index 9fdc388cf..33dc7a2bf 100644 --- a/netex/models/group_membership_refs_rel_structure.py +++ b/netex/models/group_membership_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .access_zone_ref import AccessZoneRef @@ -23,7 +23,7 @@ class GroupMembershipRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "groupMembershipRefs_RelStructure" - zone_ref_or_tariff_zone_ref: Iterable[ + zone_ref_or_tariff_zone_ref: Sequence[ MobilityServiceConstraintZoneRef | StopAreaRef | TransportAdministrativeZoneRef diff --git a/netex/models/group_of_distance_matrix_elements_refs_rel_structure.py b/netex/models/group_of_distance_matrix_elements_refs_rel_structure.py index 7908edb31..3e47eff3a 100644 --- a/netex/models/group_of_distance_matrix_elements_refs_rel_structure.py +++ b/netex/models/group_of_distance_matrix_elements_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .group_of_distance_matrix_elements_ref import ( @@ -18,7 +18,7 @@ class GroupOfDistanceMatrixElementsRefsRelStructure( class Meta: name = "groupOfDistanceMatrixElementsRefs_RelStructure" - group_of_distance_matrix_elements_ref: Iterable[ + group_of_distance_matrix_elements_ref: Sequence[ GroupOfDistanceMatrixElementsRef ] = field( default_factory=list, diff --git a/netex/models/group_of_entities_in_frame_rel_structure.py b/netex/models/group_of_entities_in_frame_rel_structure.py index 5f019fbb1..ab1e0570e 100644 --- a/netex/models/group_of_entities_in_frame_rel_structure.py +++ b/netex/models/group_of_entities_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .access_space import AccessSpace @@ -94,7 +94,7 @@ class GroupOfEntitiesInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "groupOfEntitiesInFrame_RelStructure" - choice: Iterable[ + choice: Sequence[ PoolOfVehicles | GroupOfSingleJourneys | GroupOfDistributionChannels diff --git a/netex/models/group_of_lines_version_structure.py b/netex/models/group_of_lines_version_structure.py index 49bd05091..0df0717c6 100644 --- a/netex/models/group_of_lines_version_structure.py +++ b/netex/models/group_of_lines_version_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .all_vehicle_modes_of_transport_enumeration import ( @@ -126,7 +126,7 @@ class Meta: "namespace": "http://www.netex.org.uk/netex", }, ) - payment_methods: Iterable[PaymentMethodEnumeration] = field( + payment_methods: Sequence[PaymentMethodEnumeration] = field( default_factory=list, metadata={ "name": "PaymentMethods", @@ -143,7 +143,7 @@ class Meta: "namespace": "http://www.netex.org.uk/netex", }, ) - purchase_moment: Iterable[PurchaseMomentEnumeration] = field( + purchase_moment: Sequence[PurchaseMomentEnumeration] = field( default_factory=list, metadata={ "name": "PurchaseMoment", diff --git a/netex/models/group_of_link_sequences_rel_structure.py b/netex/models/group_of_link_sequences_rel_structure.py index 8687fb64d..837b2c569 100644 --- a/netex/models/group_of_link_sequences_rel_structure.py +++ b/netex/models/group_of_link_sequences_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .group_of_link_sequences import GroupOfLinkSequences @@ -16,7 +16,7 @@ class GroupOfLinkSequencesRelStructure(StrictContainmentAggregationStructure): class Meta: name = "groupOfLinkSequences_RelStructure" - group_of_link_sequences: Iterable[GroupOfLinkSequences] = field( + group_of_link_sequences: Sequence[GroupOfLinkSequences] = field( default_factory=list, metadata={ "name": "GroupOfLinkSequences", diff --git a/netex/models/group_of_links_in_frame_rel_structure.py b/netex/models/group_of_links_in_frame_rel_structure.py index 493de3b4f..5eea89da6 100644 --- a/netex/models/group_of_links_in_frame_rel_structure.py +++ b/netex/models/group_of_links_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class GroupOfLinksInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "groupOfLinksInFrame_RelStructure" - group_of_links: Iterable[GroupOfLinks] = field( + group_of_links: Sequence[GroupOfLinks] = field( default_factory=list, metadata={ "name": "GroupOfLinks", diff --git a/netex/models/group_of_links_rel_structure.py b/netex/models/group_of_links_rel_structure.py index d53169a8d..0ce867329 100644 --- a/netex/models/group_of_links_rel_structure.py +++ b/netex/models/group_of_links_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .group_of_links import GroupOfLinks @@ -16,7 +16,7 @@ class GroupOfLinksRelStructure(StrictContainmentAggregationStructure): class Meta: name = "groupOfLinks_RelStructure" - group_of_links: Iterable[GroupOfLinks] = field( + group_of_links: Sequence[GroupOfLinks] = field( default_factory=list, metadata={ "name": "GroupOfLinks", diff --git a/netex/models/group_of_points_rel_structure.py b/netex/models/group_of_points_rel_structure.py index c14fcfa19..03fdde6c4 100644 --- a/netex/models/group_of_points_rel_structure.py +++ b/netex/models/group_of_points_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .group_of_points import GroupOfPoints @@ -16,7 +16,7 @@ class GroupOfPointsRelStructure(StrictContainmentAggregationStructure): class Meta: name = "groupOfPoints_RelStructure" - group_of_points: Iterable[GroupOfPoints] = field( + group_of_points: Sequence[GroupOfPoints] = field( default_factory=list, metadata={ "name": "GroupOfPoints", diff --git a/netex/models/group_of_sales_offer_package_refs_rel_structure.py b/netex/models/group_of_sales_offer_package_refs_rel_structure.py index 245c44f19..faac11d87 100644 --- a/netex/models/group_of_sales_offer_package_refs_rel_structure.py +++ b/netex/models/group_of_sales_offer_package_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .group_of_sales_offer_packages_ref import GroupOfSalesOfferPackagesRef @@ -14,7 +14,7 @@ class GroupOfSalesOfferPackageRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "groupOfSalesOfferPackageRefs_RelStructure" - group_of_sales_offer_packages_ref: Iterable[ + group_of_sales_offer_packages_ref: Sequence[ GroupOfSalesOfferPackagesRef ] = field( default_factory=list, diff --git a/netex/models/group_of_services_members_rel_structure.py b/netex/models/group_of_services_members_rel_structure.py index eab0d6334..99c1a2640 100644 --- a/netex/models/group_of_services_members_rel_structure.py +++ b/netex/models/group_of_services_members_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .group_of_services_member_structure import GroupOfServicesMemberStructure @@ -18,7 +18,7 @@ class GroupOfServicesMembersRelStructure( class Meta: name = "groupOfServicesMembers_RelStructure" - group_of_services_member: Iterable[GroupOfServicesMemberStructure] = field( + group_of_services_member: Sequence[GroupOfServicesMemberStructure] = field( default_factory=list, metadata={ "name": "GroupOfServicesMember", diff --git a/netex/models/group_of_services_refs_rel_structure.py b/netex/models/group_of_services_refs_rel_structure.py index 73c32756e..9d92f34db 100644 --- a/netex/models/group_of_services_refs_rel_structure.py +++ b/netex/models/group_of_services_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .group_of_services_ref import GroupOfServicesRef @@ -14,7 +14,7 @@ class GroupOfServicesRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "groupOfServicesRefs_RelStructure" - group_of_services_ref: Iterable[GroupOfServicesRef] = field( + group_of_services_ref: Sequence[GroupOfServicesRef] = field( default_factory=list, metadata={ "name": "GroupOfServicesRef", diff --git a/netex/models/group_of_services_version_structure.py b/netex/models/group_of_services_version_structure.py index bfe3553ce..6dce29b11 100644 --- a/netex/models/group_of_services_version_structure.py +++ b/netex/models/group_of_services_version_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .day_type_ref_structure import DayTypeRefStructure @@ -107,7 +107,7 @@ class Meta: @dataclass(kw_only=True) class DayTypes: - day_type_ref: Iterable[DayTypeRefStructure] = field( + day_type_ref: Sequence[DayTypeRefStructure] = field( default_factory=list, metadata={ "name": "DayTypeRef", diff --git a/netex/models/group_of_timebands_in_frame_rel_structure.py b/netex/models/group_of_timebands_in_frame_rel_structure.py index 5cf382385..dde24e43c 100644 --- a/netex/models/group_of_timebands_in_frame_rel_structure.py +++ b/netex/models/group_of_timebands_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class GroupOfTimebandsInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "groupOfTimebandsInFrame_RelStructure" - group_of_timebands: Iterable[GroupOfTimebands] = field( + group_of_timebands: Sequence[GroupOfTimebands] = field( default_factory=list, metadata={ "name": "GroupOfTimebands", diff --git a/netex/models/group_of_timebands_rel_structure.py b/netex/models/group_of_timebands_rel_structure.py index dda81e99d..66363c3f7 100644 --- a/netex/models/group_of_timebands_rel_structure.py +++ b/netex/models/group_of_timebands_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -17,7 +17,7 @@ class GroupOfTimebandsRelStructure(ContainmentAggregationStructure): class Meta: name = "groupOfTimebands_RelStructure" - group_of_timebands_ref_or_group_of_timebands: Iterable[ + group_of_timebands_ref_or_group_of_timebands: Sequence[ GroupOfTimebandsRef | GroupOfTimebandsVersionedChildStructure ] = field( default_factory=list, diff --git a/netex/models/group_of_timing_links_in_frame_rel_structure.py b/netex/models/group_of_timing_links_in_frame_rel_structure.py index cbdeb4b47..4b5406684 100644 --- a/netex/models/group_of_timing_links_in_frame_rel_structure.py +++ b/netex/models/group_of_timing_links_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class GroupOfTimingLinksInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "groupOfTimingLinksInFrame_RelStructure" - group_of_timing_links: Iterable[GroupOfTimingLinks] = field( + group_of_timing_links: Sequence[GroupOfTimingLinks] = field( default_factory=list, metadata={ "name": "GroupOfTimingLinks", diff --git a/netex/models/group_ofcustomer_purchase_package_refs_rel_structure.py b/netex/models/group_ofcustomer_purchase_package_refs_rel_structure.py index 7fd89a007..f45e41491 100644 --- a/netex/models/group_ofcustomer_purchase_package_refs_rel_structure.py +++ b/netex/models/group_ofcustomer_purchase_package_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .group_of_customer_purchase_packages_ref import ( @@ -18,7 +18,7 @@ class GroupOfcustomerPurchasePackageRefsRelStructure( class Meta: name = "groupOfcustomerPurchasePackageRefs_RelStructure" - group_of_customer_purchase_packages_ref: Iterable[ + group_of_customer_purchase_packages_ref: Sequence[ GroupOfCustomerPurchasePackagesRef ] = field( default_factory=list, diff --git a/netex/models/groups_of_distance_matrix_elements_in_frame_rel_structure.py b/netex/models/groups_of_distance_matrix_elements_in_frame_rel_structure.py index 5a05a6bf1..f8e33f936 100644 --- a/netex/models/groups_of_distance_matrix_elements_in_frame_rel_structure.py +++ b/netex/models/groups_of_distance_matrix_elements_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .distance_matrix_element import DistanceMatrixElement @@ -16,7 +16,7 @@ class GroupsOfDistanceMatrixElementsInFrameRelStructure( class Meta: name = "groupsOfDistanceMatrixElementsInFrame_RelStructure" - distance_matrix_element: Iterable[DistanceMatrixElement] = field( + distance_matrix_element: Sequence[DistanceMatrixElement] = field( default_factory=list, metadata={ "name": "DistanceMatrixElement", diff --git a/netex/models/groups_of_distance_matrix_elements_rel_structure.py b/netex/models/groups_of_distance_matrix_elements_rel_structure.py index 96778851f..faf18b5d3 100644 --- a/netex/models/groups_of_distance_matrix_elements_rel_structure.py +++ b/netex/models/groups_of_distance_matrix_elements_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -19,7 +19,7 @@ class GroupsOfDistanceMatrixElementsRelStructure( class Meta: name = "groupsOfDistanceMatrixElements_RelStructure" - group_of_distance_matrix_elements_ref_or_group_of_distance_matrix_elements: Iterable[ + group_of_distance_matrix_elements_ref_or_group_of_distance_matrix_elements: Sequence[ GroupOfDistanceMatrixElementsRef | GroupOfDistanceMatrixElements ] = field( default_factory=list, diff --git a/netex/models/groups_of_distribution_channels_in_frame_rel_structure.py b/netex/models/groups_of_distribution_channels_in_frame_rel_structure.py index b1cf802cc..fae21c30a 100644 --- a/netex/models/groups_of_distribution_channels_in_frame_rel_structure.py +++ b/netex/models/groups_of_distribution_channels_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .frame_containment_structure import FrameContainmentStructure @@ -16,7 +16,7 @@ class GroupsOfDistributionChannelsInFrameRelStructure( class Meta: name = "groupsOfDistributionChannelsInFrame_RelStructure" - group_of_distribution_channels: Iterable[GroupOfDistributionChannels] = ( + group_of_distribution_channels: Sequence[GroupOfDistributionChannels] = ( field( default_factory=list, metadata={ diff --git a/netex/models/groups_of_lines_in_frame_rel_structure.py b/netex/models/groups_of_lines_in_frame_rel_structure.py index 3014122e5..69ac5976c 100644 --- a/netex/models/groups_of_lines_in_frame_rel_structure.py +++ b/netex/models/groups_of_lines_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class GroupsOfLinesInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "groupsOfLinesInFrame_RelStructure" - group_of_lines: Iterable[GroupOfLines] = field( + group_of_lines: Sequence[GroupOfLines] = field( default_factory=list, metadata={ "name": "GroupOfLines", diff --git a/netex/models/groups_of_operators_in_frame_rel_structure.py b/netex/models/groups_of_operators_in_frame_rel_structure.py index 7dca3216f..2d3a74bac 100644 --- a/netex/models/groups_of_operators_in_frame_rel_structure.py +++ b/netex/models/groups_of_operators_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class GroupsOfOperatorsInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "groupsOfOperatorsInFrame_RelStructure" - group_of_operators: Iterable[GroupOfOperators] = field( + group_of_operators: Sequence[GroupOfOperators] = field( default_factory=list, metadata={ "name": "GroupOfOperators", diff --git a/netex/models/groups_of_operators_refs_rel_structure.py b/netex/models/groups_of_operators_refs_rel_structure.py index 6d9677ce9..864447401 100644 --- a/netex/models/groups_of_operators_refs_rel_structure.py +++ b/netex/models/groups_of_operators_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .group_of_operators_ref import GroupOfOperatorsRef @@ -14,7 +14,7 @@ class GroupsOfOperatorsRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "groupsOfOperatorsRefs_RelStructure" - group_of_operators_ref: Iterable[GroupOfOperatorsRef] = field( + group_of_operators_ref: Sequence[GroupOfOperatorsRef] = field( default_factory=list, metadata={ "name": "GroupOfOperatorsRef", diff --git a/netex/models/groups_of_places_in_frame_rel_structure.py b/netex/models/groups_of_places_in_frame_rel_structure.py index afbc63d5c..590439b25 100644 --- a/netex/models/groups_of_places_in_frame_rel_structure.py +++ b/netex/models/groups_of_places_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class GroupsOfPlacesInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "groupsOfPlacesInFrame_RelStructure" - group_of_places: Iterable[GroupOfPlaces] = field( + group_of_places: Sequence[GroupOfPlaces] = field( default_factory=list, metadata={ "name": "GroupOfPlaces", diff --git a/netex/models/groups_of_sales_offer_packages_in_frame_rel_structure.py b/netex/models/groups_of_sales_offer_packages_in_frame_rel_structure.py index f7045f246..3d4e34a5d 100644 --- a/netex/models/groups_of_sales_offer_packages_in_frame_rel_structure.py +++ b/netex/models/groups_of_sales_offer_packages_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .frame_containment_structure import FrameContainmentStructure @@ -14,7 +14,7 @@ class GroupsOfSalesOfferPackagesInFrameRelStructure(FrameContainmentStructure): class Meta: name = "groupsOfSalesOfferPackagesInFrame_RelStructure" - group_of_sales_offer_packages: Iterable[GroupOfSalesOfferPackages] = field( + group_of_sales_offer_packages: Sequence[GroupOfSalesOfferPackages] = field( default_factory=list, metadata={ "name": "GroupOfSalesOfferPackages", diff --git a/netex/models/groups_of_services_in_frame_rel_structure.py b/netex/models/groups_of_services_in_frame_rel_structure.py index 326beb982..9b7a6a478 100644 --- a/netex/models/groups_of_services_in_frame_rel_structure.py +++ b/netex/models/groups_of_services_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class GroupsOfServicesInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "groupsOfServicesInFrame_RelStructure" - group_of_services: Iterable[GroupOfServices] = field( + group_of_services: Sequence[GroupOfServices] = field( default_factory=list, metadata={ "name": "GroupOfServices", diff --git a/netex/models/groups_of_single_journeys_rel_structure.py b/netex/models/groups_of_single_journeys_rel_structure.py index 3c2f4f38a..0bd58772d 100644 --- a/netex/models/groups_of_single_journeys_rel_structure.py +++ b/netex/models/groups_of_single_journeys_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class GroupsOfSingleJourneysRelStructure(ContainmentAggregationStructure): class Meta: name = "groupsOfSingleJourneys_RelStructure" - group_of_single_journeys: Iterable[GroupOfSingleJourneys] = field( + group_of_single_journeys: Sequence[GroupOfSingleJourneys] = field( default_factory=list, metadata={ "name": "GroupOfSingleJourneys", diff --git a/netex/models/groups_of_stop_places_in_frame_rel_structure.py b/netex/models/groups_of_stop_places_in_frame_rel_structure.py index bf8a4675d..f25c58c89 100644 --- a/netex/models/groups_of_stop_places_in_frame_rel_structure.py +++ b/netex/models/groups_of_stop_places_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class GroupsOfStopPlacesInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "groupsOfStopPlacesInFrame_RelStructure" - group_of_stop_places: Iterable[GroupOfStopPlaces] = field( + group_of_stop_places: Sequence[GroupOfStopPlaces] = field( default_factory=list, metadata={ "name": "GroupOfStopPlaces", diff --git a/netex/models/groups_of_tariff_zones_in_frame_rel_structure.py b/netex/models/groups_of_tariff_zones_in_frame_rel_structure.py index 4e2c9e7fd..10b5678bf 100644 --- a/netex/models/groups_of_tariff_zones_in_frame_rel_structure.py +++ b/netex/models/groups_of_tariff_zones_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class GroupsOfTariffZonesInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "groupsOfTariffZonesInFrame_RelStructure" - group_of_tariff_zones: Iterable[GroupOfTariffZones] = field( + group_of_tariff_zones: Sequence[GroupOfTariffZones] = field( default_factory=list, metadata={ "name": "GroupOfTariffZones", diff --git a/netex/models/hail_and_ride_areas_rel_structure.py b/netex/models/hail_and_ride_areas_rel_structure.py index 1149829c7..eaa37fd80 100644 --- a/netex/models/hail_and_ride_areas_rel_structure.py +++ b/netex/models/hail_and_ride_areas_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -15,7 +15,7 @@ class HailAndRideAreasRelStructure(ContainmentAggregationStructure): class Meta: name = "hailAndRideAreas_RelStructure" - hail_and_ride_area_ref_or_hail_and_ride_area: Iterable[ + hail_and_ride_area_ref_or_hail_and_ride_area: Sequence[ HailAndRideAreaRef | HailAndRideArea ] = field( default_factory=list, diff --git a/netex/models/hire_facility_list.py b/netex/models/hire_facility_list.py index 04e44fa81..0b3d49f63 100644 --- a/netex/models/hire_facility_list.py +++ b/netex/models/hire_facility_list.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .hire_facility_enumeration import HireFacilityEnumeration @@ -13,7 +13,7 @@ class HireFacilityList: class Meta: namespace = "http://www.netex.org.uk/netex" - value: Iterable[HireFacilityEnumeration] = field( + value: Sequence[HireFacilityEnumeration] = field( default_factory=list, metadata={ "tokens": True, diff --git a/netex/models/hire_service_version_structure.py b/netex/models/hire_service_version_structure.py index 0108a2fb3..e1268bd85 100644 --- a/netex/models/hire_service_version_structure.py +++ b/netex/models/hire_service_version_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .hire_service_enumeration import HireServiceEnumeration @@ -14,7 +14,7 @@ class HireServiceVersionStructure(LocalServiceVersionStructure): class Meta: name = "HireService_VersionStructure" - service_list: Iterable[Iterable[HireServiceEnumeration]] = field( + service_list: Sequence[Sequence[HireServiceEnumeration]] = field( default_factory=list, metadata={ "name": "ServiceList", diff --git a/netex/models/individual_passenger_infos_rel_structure.py b/netex/models/individual_passenger_infos_rel_structure.py index 52ebbec0a..62d11cebf 100644 --- a/netex/models/individual_passenger_infos_rel_structure.py +++ b/netex/models/individual_passenger_infos_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class IndividualPassengerInfosRelStructure(ContainmentAggregationStructure): class Meta: name = "individualPassengerInfos_RelStructure" - individual_passenger_info: Iterable[IndividualPassengerInfo] = field( + individual_passenger_info: Sequence[IndividualPassengerInfo] = field( default_factory=list, metadata={ "name": "IndividualPassengerInfo", diff --git a/netex/models/individual_traveller_version_structure.py b/netex/models/individual_traveller_version_structure.py index c4d3fc510..a8d2c90d3 100644 --- a/netex/models/individual_traveller_version_structure.py +++ b/netex/models/individual_traveller_version_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .customer_ref import CustomerRef @@ -78,7 +78,7 @@ class Meta: "namespace": "http://www.netex.org.uk/netex", }, ) - languages: Iterable[str] = field( + languages: Sequence[str] = field( default_factory=list, metadata={ "name": "Languages", diff --git a/netex/models/individual_travellers_in_frame_rel_structure.py b/netex/models/individual_travellers_in_frame_rel_structure.py index 37b201e32..b96b6a3d5 100644 --- a/netex/models/individual_travellers_in_frame_rel_structure.py +++ b/netex/models/individual_travellers_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .frame_containment_structure import FrameContainmentStructure @@ -14,7 +14,7 @@ class IndividualTravellersInFrameRelStructure(FrameContainmentStructure): class Meta: name = "individualTravellersInFrame_RelStructure" - individual_traveller: Iterable[IndividualTraveller] = field( + individual_traveller: Sequence[IndividualTraveller] = field( default_factory=list, metadata={ "name": "IndividualTraveller", diff --git a/netex/models/individual_travellers_rel_structure.py b/netex/models/individual_travellers_rel_structure.py index a0ef9022b..e1f374f6d 100644 --- a/netex/models/individual_travellers_rel_structure.py +++ b/netex/models/individual_travellers_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -15,7 +15,7 @@ class IndividualTravellersRelStructure(ContainmentAggregationStructure): class Meta: name = "individualTravellers_RelStructure" - individual_traveller_ref_or_individual_traveller: Iterable[ + individual_traveller_ref_or_individual_traveller: Sequence[ IndividualTravellerRef | IndividualTraveller ] = field( default_factory=list, diff --git a/netex/models/info_link_structure.py b/netex/models/info_link_structure.py index b4c0b65ff..4b62bd10a 100644 --- a/netex/models/info_link_structure.py +++ b/netex/models/info_link_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .type_of_info_link_enumeration import TypeOfInfoLinkEnumeration @@ -16,7 +16,7 @@ class InfoLinkStructure: "required": True, }, ) - type_of_info_link: Iterable[TypeOfInfoLinkEnumeration] = field( + type_of_info_link: Sequence[TypeOfInfoLinkEnumeration] = field( default_factory=list, metadata={ "name": "typeOfInfoLink", diff --git a/netex/models/info_links_rel_structure.py b/netex/models/info_links_rel_structure.py index ead297a7f..2eeafeb79 100644 --- a/netex/models/info_links_rel_structure.py +++ b/netex/models/info_links_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .info_link import InfoLink @@ -13,7 +13,7 @@ class InfoLinksRelStructure: class Meta: name = "infoLinks_RelStructure" - info_link: Iterable[InfoLink] = field( + info_link: Sequence[InfoLink] = field( default_factory=list, metadata={ "name": "InfoLink", diff --git a/netex/models/infrastructure_elements_in_frame_rel_structure.py b/netex/models/infrastructure_elements_in_frame_rel_structure.py index adcb35b12..5af7e75cf 100644 --- a/netex/models/infrastructure_elements_in_frame_rel_structure.py +++ b/netex/models/infrastructure_elements_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -18,7 +18,7 @@ class InfrastructureElementsInFrameRelStructure( class Meta: name = "infrastructureElementsInFrame_RelStructure" - railway_element_or_road_element_or_wire_element: Iterable[ + railway_element_or_road_element_or_wire_element: Sequence[ RailwayElement | RoadElement | WireElement ] = field( default_factory=list, diff --git a/netex/models/infrastructure_junctions_in_frame_rel_structure.py b/netex/models/infrastructure_junctions_in_frame_rel_structure.py index 506848b41..42227f60d 100644 --- a/netex/models/infrastructure_junctions_in_frame_rel_structure.py +++ b/netex/models/infrastructure_junctions_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -18,7 +18,7 @@ class InfrastructureJunctionsInFrameRelStructure( class Meta: name = "infrastructureJunctionsInFrame_RelStructure" - railway_junction_or_road_junction_or_wire_junction: Iterable[ + railway_junction_or_road_junction_or_wire_junction: Sequence[ RailwayJunction | RoadJunction | WireJunction ] = field( default_factory=list, diff --git a/netex/models/interchange_rule_filter_versioned_child_structure.py b/netex/models/interchange_rule_filter_versioned_child_structure.py index 94aa4002b..6c69c64ea 100644 --- a/netex/models/interchange_rule_filter_versioned_child_structure.py +++ b/netex/models/interchange_rule_filter_versioned_child_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from xsdata.models.datatype import XmlDuration @@ -69,7 +69,7 @@ class Meta: ), }, ) - all_lines_or_lines_in_direction_refs_or_line_in_direction_ref: Iterable[ + all_lines_or_lines_in_direction_refs_or_line_in_direction_ref: Sequence[ EmptyType2 | LinesInDirectionRefsRelStructure | LineInDirectionRef ] = field( default_factory=list, diff --git a/netex/models/interchange_rule_filters_rel_structure.py b/netex/models/interchange_rule_filters_rel_structure.py index 9480cc02b..151363da2 100644 --- a/netex/models/interchange_rule_filters_rel_structure.py +++ b/netex/models/interchange_rule_filters_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class InterchangeRuleFiltersRelStructure(ContainmentAggregationStructure): class Meta: name = "interchangeRuleFilters_RelStructure" - interchange_rule_filter: Iterable[InterchangeRuleFilter] = field( + interchange_rule_filter: Sequence[InterchangeRuleFilter] = field( default_factory=list, metadata={ "name": "InterchangeRuleFilter", diff --git a/netex/models/interchange_rule_parameter_structure.py b/netex/models/interchange_rule_parameter_structure.py index d2f49d4c8..0f8bdec03 100644 --- a/netex/models/interchange_rule_parameter_structure.py +++ b/netex/models/interchange_rule_parameter_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from xsdata.models.datatype import XmlDuration @@ -74,7 +74,7 @@ class InterchangeRuleParameterStructure: ), }, ) - all_lines_or_lines_in_direction_refs_or_line_in_direction_ref: Iterable[ + all_lines_or_lines_in_direction_refs_or_line_in_direction_ref: Sequence[ EmptyType2 | LinesInDirectionRefsRelStructure | LineInDirectionRef ] = field( default_factory=list, diff --git a/netex/models/interchange_rule_timings_rel_structure.py b/netex/models/interchange_rule_timings_rel_structure.py index 4e1ffe1a0..4893c53c0 100644 --- a/netex/models/interchange_rule_timings_rel_structure.py +++ b/netex/models/interchange_rule_timings_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -15,7 +15,7 @@ class InterchangeRuleTimingsRelStructure(ContainmentAggregationStructure): class Meta: name = "interchangeRuleTimings_RelStructure" - interchange_rule_timing_ref_or_interchange_rule_timing: Iterable[ + interchange_rule_timing_ref_or_interchange_rule_timing: Sequence[ InterchangeRuleTimingRef | InterchangeRuleTiming ] = field( default_factory=list, diff --git a/netex/models/interchange_rules_in_frame_rel_structure.py b/netex/models/interchange_rules_in_frame_rel_structure.py index a6ece75c5..a92bc7761 100644 --- a/netex/models/interchange_rules_in_frame_rel_structure.py +++ b/netex/models/interchange_rules_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class InterchangeRulesInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "interchangeRulesInFrame_RelStructure" - interchange_rule: Iterable[InterchangeRule] = field( + interchange_rule: Sequence[InterchangeRule] = field( default_factory=list, metadata={ "name": "InterchangeRule", diff --git a/netex/models/interchange_rules_rel_structure.py b/netex/models/interchange_rules_rel_structure.py index a50f77109..3f237c29c 100644 --- a/netex/models/interchange_rules_rel_structure.py +++ b/netex/models/interchange_rules_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -15,7 +15,7 @@ class InterchangeRulesRelStructure(ContainmentAggregationStructure): class Meta: name = "interchangeRules_RelStructure" - interchange_rule_ref_or_interchange_rule: Iterable[ + interchange_rule_ref_or_interchange_rule: Sequence[ InterchangeRuleRef | InterchangeRule ] = field( default_factory=list, diff --git a/netex/models/interchange_version_structure.py b/netex/models/interchange_version_structure.py index 32f746d35..d8df72038 100644 --- a/netex/models/interchange_version_structure.py +++ b/netex/models/interchange_version_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from xsdata.models.datatype import XmlDuration @@ -182,7 +182,7 @@ class Meta: "namespace": "http://www.netex.org.uk/netex", }, ) - transfer_modes: Iterable[AccessModeEnumeration] = field( + transfer_modes: Sequence[AccessModeEnumeration] = field( default_factory=list, metadata={ "name": "transferModes", diff --git a/netex/models/invalid_data_references_error_structure.py b/netex/models/invalid_data_references_error_structure.py index 041c9dccd..0fa85f0f9 100644 --- a/netex/models/invalid_data_references_error_structure.py +++ b/netex/models/invalid_data_references_error_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .error_code_structure import ErrorCodeStructure @@ -10,7 +10,7 @@ @dataclass(kw_only=True) class InvalidDataReferencesErrorStructure(ErrorCodeStructure): - invalid_ref: Iterable[str] = field( + invalid_ref: Sequence[str] = field( default_factory=list, metadata={ "name": "InvalidRef", diff --git a/netex/models/journey_accounting_version_structure.py b/netex/models/journey_accounting_version_structure.py index b7f96606a..5d76cfd36 100644 --- a/netex/models/journey_accounting_version_structure.py +++ b/netex/models/journey_accounting_version_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from decimal import Decimal @@ -131,7 +131,7 @@ class Meta: "namespace": "http://www.netex.org.uk/netex", }, ) - partial: Iterable[bool] = field( + partial: Sequence[bool] = field( default_factory=list, metadata={ "name": "Partial", diff --git a/netex/models/journey_accountings_in_frame_rel_structure.py b/netex/models/journey_accountings_in_frame_rel_structure.py index 8dab46d12..44f12e534 100644 --- a/netex/models/journey_accountings_in_frame_rel_structure.py +++ b/netex/models/journey_accountings_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class JourneyAccountingsInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "journeyAccountingsInFrame_RelStructure" - journey_accounting: Iterable[JourneyAccounting] = field( + journey_accounting: Sequence[JourneyAccounting] = field( default_factory=list, metadata={ "name": "JourneyAccounting", diff --git a/netex/models/journey_accountings_rel_structure.py b/netex/models/journey_accountings_rel_structure.py index a2dacf48d..43f4ac365 100644 --- a/netex/models/journey_accountings_rel_structure.py +++ b/netex/models/journey_accountings_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -15,7 +15,7 @@ class JourneyAccountingsRelStructure(ContainmentAggregationStructure): class Meta: name = "journeyAccountings_RelStructure" - journey_accounting_ref_or_journey_accounting: Iterable[ + journey_accounting_ref_or_journey_accounting: Sequence[ JourneyAccountingRef | JourneyAccounting ] = field( default_factory=list, diff --git a/netex/models/journey_headways_rel_structure.py b/netex/models/journey_headways_rel_structure.py index 97b09bd8d..d20f9776b 100644 --- a/netex/models/journey_headways_rel_structure.py +++ b/netex/models/journey_headways_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .journey_headway import JourneyHeadway @@ -16,7 +16,7 @@ class JourneyHeadwaysRelStructure(StrictContainmentAggregationStructure): class Meta: name = "journeyHeadways_RelStructure" - journey_headway: Iterable[JourneyHeadway] = field( + journey_headway: Sequence[JourneyHeadway] = field( default_factory=list, metadata={ "name": "JourneyHeadway", diff --git a/netex/models/journey_interchanges_in_frame_rel_structure.py b/netex/models/journey_interchanges_in_frame_rel_structure.py index b29ddd631..071a20cb3 100644 --- a/netex/models/journey_interchanges_in_frame_rel_structure.py +++ b/netex/models/journey_interchanges_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -17,7 +17,7 @@ class JourneyInterchangesInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "journeyInterchangesInFrame_RelStructure" - service_journey_pattern_interchange_or_service_journey_interchange: Iterable[ + service_journey_pattern_interchange_or_service_journey_interchange: Sequence[ ServiceJourneyPatternInterchange | ServiceJourneyInterchange ] = field( default_factory=list, diff --git a/netex/models/journey_layovers_rel_structure.py b/netex/models/journey_layovers_rel_structure.py index 21f423821..3712bb5cf 100644 --- a/netex/models/journey_layovers_rel_structure.py +++ b/netex/models/journey_layovers_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .journey_layover import JourneyLayover @@ -16,7 +16,7 @@ class JourneyLayoversRelStructure(StrictContainmentAggregationStructure): class Meta: name = "journeyLayovers_RelStructure" - journey_layover: Iterable[JourneyLayover] = field( + journey_layover: Sequence[JourneyLayover] = field( default_factory=list, metadata={ "name": "JourneyLayover", diff --git a/netex/models/journey_meeting_derived_view_structure.py b/netex/models/journey_meeting_derived_view_structure.py index 5592d80db..f99507d7d 100644 --- a/netex/models/journey_meeting_derived_view_structure.py +++ b/netex/models/journey_meeting_derived_view_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from xsdata.models.datatype import XmlDuration, XmlTime @@ -106,7 +106,7 @@ class Meta: "namespace": "http://www.netex.org.uk/netex", }, ) - connecting_stop_point_ref: Iterable[ScheduledStopPointRefStructure] = ( + connecting_stop_point_ref: Sequence[ScheduledStopPointRefStructure] = ( field( default_factory=list, metadata={ @@ -116,7 +116,7 @@ class Meta: }, ) ) - connecting_stop_point_name: Iterable[MultilingualString] = field( + connecting_stop_point_name: Sequence[MultilingualString] = field( default_factory=list, metadata={ "name": "ConnectingStopPointName", diff --git a/netex/models/journey_meeting_version_structure.py b/netex/models/journey_meeting_version_structure.py index f9f52e9bc..78962f34a 100644 --- a/netex/models/journey_meeting_version_structure.py +++ b/netex/models/journey_meeting_version_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from xsdata.models.datatype import XmlTime @@ -143,7 +143,7 @@ class Meta: "namespace": "http://www.netex.org.uk/netex", }, ) - connecting_stop_point_ref: Iterable[ScheduledStopPointRefStructure] = ( + connecting_stop_point_ref: Sequence[ScheduledStopPointRefStructure] = ( field( default_factory=list, metadata={ @@ -153,7 +153,7 @@ class Meta: }, ) ) - connecting_stop_point_name: Iterable[MultilingualString] = field( + connecting_stop_point_name: Sequence[MultilingualString] = field( default_factory=list, metadata={ "name": "ConnectingStopPointName", diff --git a/netex/models/journey_meeting_views_rel_structure.py b/netex/models/journey_meeting_views_rel_structure.py index 47a539d9e..53bdf40e1 100644 --- a/netex/models/journey_meeting_views_rel_structure.py +++ b/netex/models/journey_meeting_views_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .journey_meeting_ref import JourneyMeetingRef @@ -17,7 +17,7 @@ class JourneyMeetingViewsRelStructure(StrictContainmentAggregationStructure): class Meta: name = "journeyMeetingViews_RelStructure" - journey_meeting_ref_or_journey_meeting_view: Iterable[ + journey_meeting_ref_or_journey_meeting_view: Sequence[ JourneyMeetingRef | JourneyMeetingView ] = field( default_factory=list, diff --git a/netex/models/journey_meetings_in_frame_rel_structure.py b/netex/models/journey_meetings_in_frame_rel_structure.py index be5caf49b..cd1c01c1e 100644 --- a/netex/models/journey_meetings_in_frame_rel_structure.py +++ b/netex/models/journey_meetings_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class JourneyMeetingsInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "journeyMeetingsInFrame_RelStructure" - journey_meeting: Iterable[JourneyMeeting] = field( + journey_meeting: Sequence[JourneyMeeting] = field( default_factory=list, metadata={ "name": "JourneyMeeting", diff --git a/netex/models/journey_part_couples_in_frame_rel_structure.py b/netex/models/journey_part_couples_in_frame_rel_structure.py index e0c8cd9f8..a9bdea500 100644 --- a/netex/models/journey_part_couples_in_frame_rel_structure.py +++ b/netex/models/journey_part_couples_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class JourneyPartCouplesInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "journeyPartCouplesInFrame_RelStructure" - journey_part_couple: Iterable[JourneyPartCouple] = field( + journey_part_couple: Sequence[JourneyPartCouple] = field( default_factory=list, metadata={ "name": "JourneyPartCouple", diff --git a/netex/models/journey_part_couples_rel_structure.py b/netex/models/journey_part_couples_rel_structure.py index 6be422b5c..5b87b1208 100644 --- a/netex/models/journey_part_couples_rel_structure.py +++ b/netex/models/journey_part_couples_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -15,7 +15,7 @@ class JourneyPartCouplesRelStructure(ContainmentAggregationStructure): class Meta: name = "journeyPartCouples_RelStructure" - journey_part_couple_ref_or_journey_part_couple: Iterable[ + journey_part_couple_ref_or_journey_part_couple: Sequence[ JourneyPartCoupleRef | JourneyPartCouple ] = field( default_factory=list, diff --git a/netex/models/journey_part_position_versioned_child_structure.py b/netex/models/journey_part_position_versioned_child_structure.py index e75fd6b1b..3a1d3edf6 100644 --- a/netex/models/journey_part_position_versioned_child_structure.py +++ b/netex/models/journey_part_position_versioned_child_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .entity_in_version_structure import VersionedChildStructure @@ -24,7 +24,7 @@ class Meta: "namespace": "http://www.netex.org.uk/netex", }, ) - scheduled_stop_point_ref: Iterable[ + scheduled_stop_point_ref: Sequence[ FareScheduledStopPointRef | ScheduledStopPointRef ] = field( default_factory=list, diff --git a/netex/models/journey_part_positions_rel_structure.py b/netex/models/journey_part_positions_rel_structure.py index 6882e2966..c94d01a34 100644 --- a/netex/models/journey_part_positions_rel_structure.py +++ b/netex/models/journey_part_positions_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class JourneyPartPositionsRelStructure(ContainmentAggregationStructure): class Meta: name = "journeyPartPositions_RelStructure" - journey_part_position: Iterable[JourneyPartPosition] = field( + journey_part_position: Sequence[JourneyPartPosition] = field( default_factory=list, metadata={ "name": "JourneyPartPosition", diff --git a/netex/models/journey_part_refs_rel_structure.py b/netex/models/journey_part_refs_rel_structure.py index 06e2d70ae..fe940c76d 100644 --- a/netex/models/journey_part_refs_rel_structure.py +++ b/netex/models/journey_part_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .journey_part_ref import JourneyPartRef @@ -14,7 +14,7 @@ class JourneyPartRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "journeyPartRefs_RelStructure" - journey_part_ref: Iterable[JourneyPartRef] = field( + journey_part_ref: Sequence[JourneyPartRef] = field( default_factory=list, metadata={ "name": "JourneyPartRef", diff --git a/netex/models/journey_parts_in_frame_rel_structure.py b/netex/models/journey_parts_in_frame_rel_structure.py index 46ed426a4..e4b6b2712 100644 --- a/netex/models/journey_parts_in_frame_rel_structure.py +++ b/netex/models/journey_parts_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class JourneyPartsInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "journeyPartsInFrame_RelStructure" - journey_part: Iterable[JourneyPart] = field( + journey_part: Sequence[JourneyPart] = field( default_factory=list, metadata={ "name": "JourneyPart", diff --git a/netex/models/journey_parts_rel_structure.py b/netex/models/journey_parts_rel_structure.py index eda6ebfc9..d9e2f85cd 100644 --- a/netex/models/journey_parts_rel_structure.py +++ b/netex/models/journey_parts_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -15,7 +15,7 @@ class JourneyPartsRelStructure(ContainmentAggregationStructure): class Meta: name = "journeyParts_RelStructure" - journey_part_ref_or_journey_part: Iterable[ + journey_part_ref_or_journey_part: Sequence[ JourneyPartRef | JourneyPart ] = field( default_factory=list, diff --git a/netex/models/journey_pattern_headways_rel_structure.py b/netex/models/journey_pattern_headways_rel_structure.py index 7ba5ebaa2..6356f664c 100644 --- a/netex/models/journey_pattern_headways_rel_structure.py +++ b/netex/models/journey_pattern_headways_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .journey_pattern_headway import JourneyPatternHeadway @@ -18,7 +18,7 @@ class JourneyPatternHeadwaysRelStructure( class Meta: name = "journeyPatternHeadways_RelStructure" - journey_pattern_headway: Iterable[JourneyPatternHeadway] = field( + journey_pattern_headway: Sequence[JourneyPatternHeadway] = field( default_factory=list, metadata={ "name": "JourneyPatternHeadway", diff --git a/netex/models/journey_pattern_layovers_rel_structure.py b/netex/models/journey_pattern_layovers_rel_structure.py index edf187636..7f4adbd8d 100644 --- a/netex/models/journey_pattern_layovers_rel_structure.py +++ b/netex/models/journey_pattern_layovers_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .journey_pattern_layover import JourneyPatternLayover @@ -18,7 +18,7 @@ class JourneyPatternLayoversRelStructure( class Meta: name = "journeyPatternLayovers_RelStructure" - journey_pattern_layover: Iterable[JourneyPatternLayover] = field( + journey_pattern_layover: Sequence[JourneyPatternLayover] = field( default_factory=list, metadata={ "name": "JourneyPatternLayover", diff --git a/netex/models/journey_pattern_refs_rel_structure.py b/netex/models/journey_pattern_refs_rel_structure.py index 5299d8ee3..d24174442 100644 --- a/netex/models/journey_pattern_refs_rel_structure.py +++ b/netex/models/journey_pattern_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .dead_run_journey_pattern_ref import DeadRunJourneyPatternRef @@ -17,7 +17,7 @@ class JourneyPatternRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "journeyPatternRefs_RelStructure" - journey_pattern_ref: Iterable[ + journey_pattern_ref: Sequence[ ServiceJourneyPatternRef | ServicePatternRef | DeadRunJourneyPatternRef diff --git a/netex/models/journey_pattern_run_times_rel_structure.py b/netex/models/journey_pattern_run_times_rel_structure.py index 3029632fc..78d09082c 100644 --- a/netex/models/journey_pattern_run_times_rel_structure.py +++ b/netex/models/journey_pattern_run_times_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .journey_pattern_run_time import JourneyPatternRunTime @@ -19,7 +19,7 @@ class JourneyPatternRunTimesRelStructure( class Meta: name = "journeyPatternRunTimes_RelStructure" - journey_pattern_run_time_ref_or_journey_pattern_run_time: Iterable[ + journey_pattern_run_time_ref_or_journey_pattern_run_time: Sequence[ JourneyPatternRunTimeRef | JourneyPatternRunTime ] = field( default_factory=list, diff --git a/netex/models/journey_pattern_wait_times_rel_structure.py b/netex/models/journey_pattern_wait_times_rel_structure.py index 646ca344c..e4aa86829 100644 --- a/netex/models/journey_pattern_wait_times_rel_structure.py +++ b/netex/models/journey_pattern_wait_times_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .journey_pattern_wait_time import JourneyPatternWaitTime @@ -19,7 +19,7 @@ class JourneyPatternWaitTimesRelStructure( class Meta: name = "journeyPatternWaitTimes_RelStructure" - journey_pattern_wait_time_ref_or_journey_pattern_wait_time: Iterable[ + journey_pattern_wait_time_ref_or_journey_pattern_wait_time: Sequence[ JourneyPatternWaitTimeRef | JourneyPatternWaitTime ] = field( default_factory=list, diff --git a/netex/models/journey_patterns_in_frame_rel_structure.py b/netex/models/journey_patterns_in_frame_rel_structure.py index 3a5d14863..5eab6092b 100644 --- a/netex/models/journey_patterns_in_frame_rel_structure.py +++ b/netex/models/journey_patterns_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -16,7 +16,7 @@ class JourneyPatternsInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "journeyPatternsInFrame_RelStructure" - journey_pattern: Iterable[ + journey_pattern: Sequence[ ServiceJourneyPattern | DeadRunJourneyPattern | JourneyPattern ] = field( default_factory=list, diff --git a/netex/models/journey_refs_rel_structure.py b/netex/models/journey_refs_rel_structure.py index 675505a81..77def6485 100644 --- a/netex/models/journey_refs_rel_structure.py +++ b/netex/models/journey_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .dated_special_service_ref import DatedSpecialServiceRef @@ -23,7 +23,7 @@ class JourneyRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "journeyRefs_RelStructure" - choice: Iterable[ + choice: Sequence[ SingleJourneyRef | DatedVehicleJourneyRef | DatedSpecialServiceRef diff --git a/netex/models/journey_run_times_rel_structure.py b/netex/models/journey_run_times_rel_structure.py index a389b2f63..f5d65d4ba 100644 --- a/netex/models/journey_run_times_rel_structure.py +++ b/netex/models/journey_run_times_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .journey_run_time import JourneyRunTime @@ -16,7 +16,7 @@ class JourneyRunTimesRelStructure(StrictContainmentAggregationStructure): class Meta: name = "journeyRunTimes_RelStructure" - journey_run_time: Iterable[JourneyRunTime] = field( + journey_run_time: Sequence[JourneyRunTime] = field( default_factory=list, metadata={ "name": "JourneyRunTime", diff --git a/netex/models/journey_wait_times_rel_structure.py b/netex/models/journey_wait_times_rel_structure.py index ecb2bd544..d7abac0a3 100644 --- a/netex/models/journey_wait_times_rel_structure.py +++ b/netex/models/journey_wait_times_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .journey_wait_time import JourneyWaitTime @@ -16,7 +16,7 @@ class JourneyWaitTimesRelStructure(StrictContainmentAggregationStructure): class Meta: name = "journeyWaitTimes_RelStructure" - journey_wait_time: Iterable[JourneyWaitTime] = field( + journey_wait_time: Sequence[JourneyWaitTime] = field( default_factory=list, metadata={ "name": "JourneyWaitTime", diff --git a/netex/models/journeys_in_frame_rel_structure.py b/netex/models/journeys_in_frame_rel_structure.py index 309f66615..dc29edac7 100644 --- a/netex/models/journeys_in_frame_rel_structure.py +++ b/netex/models/journeys_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -21,7 +21,7 @@ class JourneysInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "journeysInFrame_RelStructure" - choice: Iterable[ + choice: Sequence[ VehicleJourney | DatedVehicleJourney | NormalDatedVehicleJourney diff --git a/netex/models/key_list_structure.py b/netex/models/key_list_structure.py index e8b311fa6..73d308f04 100644 --- a/netex/models/key_list_structure.py +++ b/netex/models/key_list_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .key_value_structure import KeyValueStructure @@ -10,7 +10,7 @@ @dataclass(kw_only=True) class KeyListStructure: - key_value: Iterable[KeyValueStructure] = field( + key_value: Sequence[KeyValueStructure] = field( default_factory=list, metadata={ "name": "KeyValue", diff --git a/netex/models/language_usage_structure.py b/netex/models/language_usage_structure.py index 9a522e3ef..4a8725c85 100644 --- a/netex/models/language_usage_structure.py +++ b/netex/models/language_usage_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .language_use_enumeration import LanguageUseEnumeration @@ -18,7 +18,7 @@ class LanguageUsageStructure: "required": True, } ) - language_use: Iterable[LanguageUseEnumeration] = field( + language_use: Sequence[LanguageUseEnumeration] = field( default_factory=list, metadata={ "name": "LanguageUse", diff --git a/netex/models/layer_refs_rel_structure.py b/netex/models/layer_refs_rel_structure.py index 7b426df1f..c386dd50f 100644 --- a/netex/models/layer_refs_rel_structure.py +++ b/netex/models/layer_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .layer_ref import LayerRef @@ -14,7 +14,7 @@ class LayerRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "layerRefs_RelStructure" - layer_ref: Iterable[LayerRef] = field( + layer_ref: Sequence[LayerRef] = field( default_factory=list, metadata={ "name": "LayerRef", diff --git a/netex/models/levels_rel_structure.py b/netex/models/levels_rel_structure.py index 47f345565..69b7e8bf1 100644 --- a/netex/models/levels_rel_structure.py +++ b/netex/models/levels_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -15,7 +15,7 @@ class LevelsRelStructure(ContainmentAggregationStructure): class Meta: name = "levels_RelStructure" - level_ref_or_level: Iterable[LevelRef | Level] = field( + level_ref_or_level: Sequence[LevelRef | Level] = field( default_factory=list, metadata={ "type": "Elements", diff --git a/netex/models/lift_call_equipment_version_structure.py b/netex/models/lift_call_equipment_version_structure.py index 56cae95a1..3ebd75b46 100644 --- a/netex/models/lift_call_equipment_version_structure.py +++ b/netex/models/lift_call_equipment_version_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from decimal import Decimal @@ -63,7 +63,7 @@ class Meta: "namespace": "http://www.netex.org.uk/netex", }, ) - door_orientation: Iterable[CompassBearing8Enumeration] = field( + door_orientation: Sequence[CompassBearing8Enumeration] = field( default_factory=list, metadata={ "name": "DoorOrientation", diff --git a/netex/models/line_networks_in_frame_rel_structure.py b/netex/models/line_networks_in_frame_rel_structure.py index e747c3bab..e40adefe0 100644 --- a/netex/models/line_networks_in_frame_rel_structure.py +++ b/netex/models/line_networks_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class LineNetworksInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "lineNetworksInFrame_RelStructure" - line_network: Iterable[LineNetwork] = field( + line_network: Sequence[LineNetwork] = field( default_factory=list, metadata={ "name": "LineNetwork", diff --git a/netex/models/line_refs_rel_structure.py b/netex/models/line_refs_rel_structure.py index 192510c65..1d87ef2ac 100644 --- a/netex/models/line_refs_rel_structure.py +++ b/netex/models/line_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .flexible_line_ref import FlexibleLineRef @@ -15,7 +15,7 @@ class LineRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "lineRefs_RelStructure" - line_ref: Iterable[FlexibleLineRef | LineRef] = field( + line_ref: Sequence[FlexibleLineRef | LineRef] = field( default_factory=list, metadata={ "type": "Elements", diff --git a/netex/models/line_sections_rel_structure.py b/netex/models/line_sections_rel_structure.py index edbbfdbf4..360b90f9c 100644 --- a/netex/models/line_sections_rel_structure.py +++ b/netex/models/line_sections_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -15,7 +15,7 @@ class LineSectionsRelStructure(ContainmentAggregationStructure): class Meta: name = "lineSections_RelStructure" - line_section_ref_or_line_section: Iterable[ + line_section_ref_or_line_section: Sequence[ LineSectionRef | LineSection ] = field( default_factory=list, diff --git a/netex/models/line_shape_structure_1.py b/netex/models/line_shape_structure_1.py index e8fdd9e43..67d0795f8 100644 --- a/netex/models/line_shape_structure_1.py +++ b/netex/models/line_shape_structure_1.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .location_structure_1 import LocationStructure1 @@ -13,7 +13,7 @@ class LineShapeStructure1: class Meta: name = "LineShapeStructure" - point: Iterable[LocationStructure1] = field( + point: Sequence[LocationStructure1] = field( default_factory=list, metadata={ "name": "Point", diff --git a/netex/models/line_string_type.py b/netex/models/line_string_type.py index 044bfe478..5e346d71d 100644 --- a/netex/models/line_string_type.py +++ b/netex/models/line_string_type.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .abstract_curve_type import AbstractCurveType @@ -13,7 +13,7 @@ @dataclass(kw_only=True) class LineStringType(AbstractCurveType): - pos_or_point_property_or_pos_list: Iterable[ + pos_or_point_property_or_pos_list: Sequence[ Pos | PointProperty | PosList ] = field( default_factory=list, diff --git a/netex/models/line_version_structure.py b/netex/models/line_version_structure.py index 0ebdcfee2..2038db52c 100644 --- a/netex/models/line_version_structure.py +++ b/netex/models/line_version_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .accessibility_assessment import AccessibilityAssessment @@ -246,7 +246,7 @@ class Meta: "namespace": "http://www.netex.org.uk/netex", }, ) - payment_methods: Iterable[PaymentMethodEnumeration] = field( + payment_methods: Sequence[PaymentMethodEnumeration] = field( default_factory=list, metadata={ "name": "PaymentMethods", @@ -263,7 +263,7 @@ class Meta: "namespace": "http://www.netex.org.uk/netex", }, ) - purchase_moment: Iterable[PurchaseMomentEnumeration] = field( + purchase_moment: Sequence[PurchaseMomentEnumeration] = field( default_factory=list, metadata={ "name": "PurchaseMoment", diff --git a/netex/models/linear_ring_type.py b/netex/models/linear_ring_type.py index e1ee235b3..c7f4d2bf3 100644 --- a/netex/models/linear_ring_type.py +++ b/netex/models/linear_ring_type.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .abstract_ring_type import AbstractRingType @@ -13,7 +13,7 @@ @dataclass(kw_only=True) class LinearRingType(AbstractRingType): - pos_or_point_property_or_pos_list: Iterable[ + pos_or_point_property_or_pos_list: Sequence[ Pos | PointProperty | PosList ] = field( default_factory=list, diff --git a/netex/models/lines_in_direction_refs_rel_structure.py b/netex/models/lines_in_direction_refs_rel_structure.py index 54de52017..52f2d3d94 100644 --- a/netex/models/lines_in_direction_refs_rel_structure.py +++ b/netex/models/lines_in_direction_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class LinesInDirectionRefsRelStructure(ContainmentAggregationStructure): class Meta: name = "linesInDirectionRefs_RelStructure" - line_in_direction_ref: Iterable[LineInDirectionRef] = field( + line_in_direction_ref: Sequence[LineInDirectionRef] = field( default_factory=list, metadata={ "name": "LineInDirectionRef", diff --git a/netex/models/lines_in_frame_rel_structure.py b/netex/models/lines_in_frame_rel_structure.py index bb23d381c..efefe88a6 100644 --- a/netex/models/lines_in_frame_rel_structure.py +++ b/netex/models/lines_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -15,7 +15,7 @@ class LinesInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "linesInFrame_RelStructure" - line: Iterable[FlexibleLine | Line] = field( + line: Sequence[FlexibleLine | Line] = field( default_factory=list, metadata={ "type": "Elements", diff --git a/netex/models/link_in_link_sequence_versioned_child_structure.py b/netex/models/link_in_link_sequence_versioned_child_structure.py index f6c2da657..08818e958 100644 --- a/netex/models/link_in_link_sequence_versioned_child_structure.py +++ b/netex/models/link_in_link_sequence_versioned_child_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .dated_special_service_ref import DatedSpecialServiceRef @@ -165,7 +165,7 @@ class Meta: "namespace": "http://www.netex.org.uk/netex", }, ) - description: Iterable[MultilingualString] = field( + description: Sequence[MultilingualString] = field( default_factory=list, metadata={ "name": "Description", diff --git a/netex/models/link_refs_rel_structure.py b/netex/models/link_refs_rel_structure.py index 603f4b1f6..e43961c15 100644 --- a/netex/models/link_refs_rel_structure.py +++ b/netex/models/link_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .activation_link_ref import ActivationLinkRef @@ -35,7 +35,7 @@ class LinkRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "linkRefs_RelStructure" - link_ref_or_infrastructure_link_ref_or_link_ref_by_value: Iterable[ + link_ref_or_infrastructure_link_ref_or_link_ref_by_value: Sequence[ OnwardVehicleMeetingLinkRef | VehicleMeetingLinkRef | ServiceLinkRef diff --git a/netex/models/link_sequence_refs_rel_structure.py b/netex/models/link_sequence_refs_rel_structure.py index 63c8d0524..024e19ca7 100644 --- a/netex/models/link_sequence_refs_rel_structure.py +++ b/netex/models/link_sequence_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .dated_special_service_ref import DatedSpecialServiceRef @@ -32,7 +32,7 @@ class LinkSequenceRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "linkSequenceRefs_RelStructure" - choice: Iterable[ + choice: Sequence[ TripRef | TripPatternTripRef | SingleJourneyPathRef diff --git a/netex/models/link_type_refs_rel_structure.py b/netex/models/link_type_refs_rel_structure.py index 28aeeeb9a..4185aaf07 100644 --- a/netex/models/link_type_refs_rel_structure.py +++ b/netex/models/link_type_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .one_to_many_relationship_structure import OneToManyRelationshipStructure @@ -14,7 +14,7 @@ class LinkTypeRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "linkTypeRefs_RelStructure" - type_of_link_ref: Iterable[TypeOfLinkRef] = field( + type_of_link_ref: Sequence[TypeOfLinkRef] = field( default_factory=list, metadata={ "name": "TypeOfLinkRef", diff --git a/netex/models/links_in_journey_pattern_rel_structure.py b/netex/models/links_in_journey_pattern_rel_structure.py index 5483f0703..ea1dd63f1 100644 --- a/netex/models/links_in_journey_pattern_rel_structure.py +++ b/netex/models/links_in_journey_pattern_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .service_link_in_journey_pattern import ServiceLinkInJourneyPattern @@ -17,7 +17,7 @@ class LinksInJourneyPatternRelStructure(StrictContainmentAggregationStructure): class Meta: name = "linksInJourneyPattern_RelStructure" - service_link_in_journey_pattern_or_timing_link_in_journey_pattern: Iterable[ + service_link_in_journey_pattern_or_timing_link_in_journey_pattern: Sequence[ ServiceLinkInJourneyPattern | TimingLinkInJourneyPattern ] = field( default_factory=list, diff --git a/netex/models/links_on_section_rel_structure.py b/netex/models/links_on_section_rel_structure.py index df00e7511..374730c45 100644 --- a/netex/models/links_on_section_rel_structure.py +++ b/netex/models/links_on_section_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .link_on_section import LinkOnSection @@ -16,7 +16,7 @@ class LinksOnSectionRelStructure(StrictContainmentAggregationStructure): class Meta: name = "linksOnSection_RelStructure" - link_on_section: Iterable[LinkOnSection] = field( + link_on_section: Sequence[LinkOnSection] = field( default_factory=list, metadata={ "name": "LinkOnSection", diff --git a/netex/models/local_services_rel_structure.py b/netex/models/local_services_rel_structure.py index f7c0b7d48..6a35bead0 100644 --- a/netex/models/local_services_rel_structure.py +++ b/netex/models/local_services_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .assistance_booking_service import AssistanceBookingService @@ -42,7 +42,7 @@ class LocalServicesRelStructure(ContainmentAggregationStructure): class Meta: name = "localServices_RelStructure" - local_service_ref_or_local_service_or_customer_service: Iterable[ + local_service_ref_or_local_service_or_customer_service: Sequence[ AssistanceBookingServiceRef | CateringServiceRef | RetailServiceRef diff --git a/netex/models/locale_structure.py b/netex/models/locale_structure.py index dc74b3441..01fa8334c 100644 --- a/netex/models/locale_structure.py +++ b/netex/models/locale_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from decimal import Decimal @@ -61,7 +61,7 @@ class LocaleStructure: @dataclass(kw_only=True) class Languages: - language_usage: Iterable[LanguageUsageStructure] = field( + language_usage: Sequence[LanguageUsageStructure] = field( default_factory=list, metadata={ "name": "LanguageUsage", diff --git a/netex/models/location_structure_1.py b/netex/models/location_structure_1.py index af837445a..d23793a91 100644 --- a/netex/models/location_structure_1.py +++ b/netex/models/location_structure_1.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from decimal import Decimal from typing import ForwardRef @@ -15,7 +15,7 @@ class LocationStructure1: class Meta: name = "LocationStructure" - longitude_or_latitude_or_coordinates: Iterable[ + longitude_or_latitude_or_coordinates: Sequence[ LocationStructure1.Longitude | LocationStructure1.Latitude | CoordinatesStructure diff --git a/netex/models/logical_displays_in_frame_rel_structure.py b/netex/models/logical_displays_in_frame_rel_structure.py index ae47167e1..f6de0370a 100644 --- a/netex/models/logical_displays_in_frame_rel_structure.py +++ b/netex/models/logical_displays_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class LogicalDisplaysInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "logicalDisplaysInFrame_RelStructure" - logical_display: Iterable[LogicalDisplay] = field( + logical_display: Sequence[LogicalDisplay] = field( default_factory=list, metadata={ "name": "LogicalDisplay", diff --git a/netex/models/luggage_carriage_facility_list.py b/netex/models/luggage_carriage_facility_list.py index d21cf32b6..f298efd83 100644 --- a/netex/models/luggage_carriage_facility_list.py +++ b/netex/models/luggage_carriage_facility_list.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .luggage_carriage_enumeration import LuggageCarriageEnumeration @@ -13,7 +13,7 @@ class LuggageCarriageFacilityList: class Meta: namespace = "http://www.netex.org.uk/netex" - value: Iterable[LuggageCarriageEnumeration] = field( + value: Sequence[LuggageCarriageEnumeration] = field( default_factory=list, metadata={ "tokens": True, diff --git a/netex/models/luggage_locker_facility_list.py b/netex/models/luggage_locker_facility_list.py index 373b5c122..6fb806c59 100644 --- a/netex/models/luggage_locker_facility_list.py +++ b/netex/models/luggage_locker_facility_list.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .luggage_locker_facility_enumeration import ( @@ -15,7 +15,7 @@ class LuggageLockerFacilityList: class Meta: namespace = "http://www.netex.org.uk/netex" - value: Iterable[LuggageLockerFacilityEnumeration] = field( + value: Sequence[LuggageLockerFacilityEnumeration] = field( default_factory=list, metadata={ "tokens": True, diff --git a/netex/models/luggage_service_facility_list.py b/netex/models/luggage_service_facility_list.py index dcfe7c240..154a69bb5 100644 --- a/netex/models/luggage_service_facility_list.py +++ b/netex/models/luggage_service_facility_list.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .luggage_service_facility_enumeration import ( @@ -15,7 +15,7 @@ class LuggageServiceFacilityList: class Meta: namespace = "http://www.netex.org.uk/netex" - value: Iterable[LuggageServiceFacilityEnumeration] = field( + value: Sequence[LuggageServiceFacilityEnumeration] = field( default_factory=list, metadata={ "tokens": True, diff --git a/netex/models/luggage_service_version_structure.py b/netex/models/luggage_service_version_structure.py index 9b62f5532..bda196842 100644 --- a/netex/models/luggage_service_version_structure.py +++ b/netex/models/luggage_service_version_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from decimal import Decimal @@ -17,7 +17,7 @@ class LuggageServiceVersionStructure(LocalServiceVersionStructure): class Meta: name = "LuggageService_VersionStructure" - luggage_service_facility_list: Iterable[ + luggage_service_facility_list: Sequence[ LuggageServiceFacilityEnumeration ] = field( default_factory=list, diff --git a/netex/models/meal_facility_list.py b/netex/models/meal_facility_list.py index b50505e00..f8ad83777 100644 --- a/netex/models/meal_facility_list.py +++ b/netex/models/meal_facility_list.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .meal_facility_enumeration import MealFacilityEnumeration @@ -13,7 +13,7 @@ class MealFacilityList: class Meta: namespace = "http://www.netex.org.uk/netex" - value: Iterable[MealFacilityEnumeration] = field( + value: Sequence[MealFacilityEnumeration] = field( default_factory=list, metadata={ "tokens": True, diff --git a/netex/models/measure_list_type.py b/netex/models/measure_list_type.py index dd1583747..b20c427c7 100644 --- a/netex/models/measure_list_type.py +++ b/netex/models/measure_list_type.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field __NAMESPACE__ = "http://www.opengis.net/gml/3.2" @@ -8,7 +8,7 @@ @dataclass(kw_only=True) class MeasureListType: - value: Iterable[float] = field( + value: Sequence[float] = field( default_factory=list, metadata={ "tokens": True, diff --git a/netex/models/measure_or_nil_reason_list_type.py b/netex/models/measure_or_nil_reason_list_type.py index 32bc8e55d..b68aa6944 100644 --- a/netex/models/measure_or_nil_reason_list_type.py +++ b/netex/models/measure_or_nil_reason_list_type.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .nil_reason_enumeration_value import NilReasonEnumerationValue @@ -10,7 +10,7 @@ @dataclass(kw_only=True) class MeasureOrNilReasonListType: - value: Iterable[str | NilReasonEnumerationValue] = field( + value: Sequence[str | NilReasonEnumerationValue] = field( default_factory=list, metadata={ "pattern": r"other:\w{2,}", diff --git a/netex/models/medical_facility_list.py b/netex/models/medical_facility_list.py index 55b2e2a7e..8a6176be8 100644 --- a/netex/models/medical_facility_list.py +++ b/netex/models/medical_facility_list.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .medical_facility_enumeration import MedicalFacilityEnumeration @@ -13,7 +13,7 @@ class MedicalFacilityList: class Meta: namespace = "http://www.netex.org.uk/netex" - value: Iterable[MedicalFacilityEnumeration] = field( + value: Sequence[MedicalFacilityEnumeration] = field( default_factory=list, metadata={ "tokens": True, diff --git a/netex/models/medium_access_device_security_listing_refs_rel_structure.py b/netex/models/medium_access_device_security_listing_refs_rel_structure.py index 180941eff..c7b845db8 100644 --- a/netex/models/medium_access_device_security_listing_refs_rel_structure.py +++ b/netex/models/medium_access_device_security_listing_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .medium_access_device_security_listing_ref import ( @@ -18,7 +18,7 @@ class MediumAccessDeviceSecurityListingRefsRelStructure( class Meta: name = "mediumAccessDeviceSecurityListingRefs_RelStructure" - medium_access_device_security_listing_ref: Iterable[ + medium_access_device_security_listing_ref: Sequence[ MediumAccessDeviceSecurityListingRef ] = field( default_factory=list, diff --git a/netex/models/medium_access_devices_in_frame_rel_structure.py b/netex/models/medium_access_devices_in_frame_rel_structure.py index ef2a5442b..f14f383f3 100644 --- a/netex/models/medium_access_devices_in_frame_rel_structure.py +++ b/netex/models/medium_access_devices_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .emv_card import EmvCard @@ -16,7 +16,7 @@ class MediumAccessDevicesInFrameRelStructure(FrameContainmentStructure): class Meta: name = "mediumAccessDevicesInFrame_RelStructure" - emv_card_or_smartcard_or_mobile_device: Iterable[ + emv_card_or_smartcard_or_mobile_device: Sequence[ EmvCard | Smartcard | MobileDevice ] = field( default_factory=list, diff --git a/netex/models/medium_application_instance_rel_structure.py b/netex/models/medium_application_instance_rel_structure.py index 74c8f75da..719ebb563 100644 --- a/netex/models/medium_application_instance_rel_structure.py +++ b/netex/models/medium_application_instance_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class MediumApplicationInstanceRelStructure(ContainmentAggregationStructure): class Meta: name = "mediumApplicationInstance_RelStructure" - medium_application_instance: Iterable[MediumApplicationInstance] = field( + medium_application_instance: Sequence[MediumApplicationInstance] = field( default_factory=list, metadata={ "name": "MediumApplicationInstance", diff --git a/netex/models/minimum_stay_version_structure.py b/netex/models/minimum_stay_version_structure.py index 903bf8c55..da5838f8a 100644 --- a/netex/models/minimum_stay_version_structure.py +++ b/netex/models/minimum_stay_version_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .day_of_week_enumeration import DayOfWeekEnumeration @@ -23,7 +23,7 @@ class Meta: "namespace": "http://www.netex.org.uk/netex", }, ) - requires_nights_away: Iterable[DayOfWeekEnumeration] = field( + requires_nights_away: Sequence[DayOfWeekEnumeration] = field( default_factory=list, metadata={ "name": "RequiresNightsAway", diff --git a/netex/models/mobility_facility_list.py b/netex/models/mobility_facility_list.py index 919f51310..fe2b1e063 100644 --- a/netex/models/mobility_facility_list.py +++ b/netex/models/mobility_facility_list.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .mobility_facility_enumeration import MobilityFacilityEnumeration @@ -13,7 +13,7 @@ class MobilityFacilityList: class Meta: namespace = "http://www.netex.org.uk/netex" - value: Iterable[MobilityFacilityEnumeration] = field( + value: Sequence[MobilityFacilityEnumeration] = field( default_factory=list, metadata={ "tokens": True, diff --git a/netex/models/mobility_service_constraint_zone_refs_rel_structure.py b/netex/models/mobility_service_constraint_zone_refs_rel_structure.py index 042d82d86..04ec56636 100644 --- a/netex/models/mobility_service_constraint_zone_refs_rel_structure.py +++ b/netex/models/mobility_service_constraint_zone_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .mobility_service_constraint_zone_ref import ( @@ -18,7 +18,7 @@ class MobilityServiceConstraintZoneRefsRelStructure( class Meta: name = "mobilityServiceConstraintZoneRefs_RelStructure" - mobility_service_constraint_zone_ref: Iterable[ + mobility_service_constraint_zone_ref: Sequence[ MobilityServiceConstraintZoneRef ] = field( default_factory=list, diff --git a/netex/models/mobility_service_constraint_zones_in_frame_rel_structure.py b/netex/models/mobility_service_constraint_zones_in_frame_rel_structure.py index 1a59dfc8d..ad15d584a 100644 --- a/netex/models/mobility_service_constraint_zones_in_frame_rel_structure.py +++ b/netex/models/mobility_service_constraint_zones_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -16,7 +16,7 @@ class MobilityServiceConstraintZonesInFrameRelStructure( class Meta: name = "mobilityServiceConstraintZonesInFrame_RelStructure" - mobility_service_constraint_zone: Iterable[ + mobility_service_constraint_zone: Sequence[ MobilityServiceConstraintZone ] = field( default_factory=list, diff --git a/netex/models/mobility_service_constraint_zones_rel_structure.py b/netex/models/mobility_service_constraint_zones_rel_structure.py index a5e981d82..c623dfe54 100644 --- a/netex/models/mobility_service_constraint_zones_rel_structure.py +++ b/netex/models/mobility_service_constraint_zones_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -19,7 +19,7 @@ class MobilityServiceConstraintZonesRelStructure( class Meta: name = "mobilityServiceConstraintZones_RelStructure" - mobility_service_constraint_zone_ref_or_mobility_service_constraint_zone: Iterable[ + mobility_service_constraint_zone_ref_or_mobility_service_constraint_zone: Sequence[ MobilityServiceConstraintZoneRef | MobilityServiceConstraintZone ] = field( default_factory=list, diff --git a/netex/models/mobility_service_refs_rel_structure.py b/netex/models/mobility_service_refs_rel_structure.py index 23c7ad2fb..8da732284 100644 --- a/netex/models/mobility_service_refs_rel_structure.py +++ b/netex/models/mobility_service_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .car_pooling_service_ref import CarPoolingServiceRef @@ -19,7 +19,7 @@ class MobilityServiceRefsRelStructure(ContainmentAggregationStructure): class Meta: name = "mobilityServiceRefs_RelStructure" - mobility_service_ref_or_common_vehicle_service_ref_or_vehicle_pooling_service_ref: Iterable[ + mobility_service_ref_or_common_vehicle_service_ref_or_vehicle_pooling_service_ref: Sequence[ OnlineServiceRef | VehicleRentalServiceRef | VehicleSharingServiceRef diff --git a/netex/models/mobility_services_rel_structure.py b/netex/models/mobility_services_rel_structure.py index 45d12e567..1e0b90e1c 100644 --- a/netex/models/mobility_services_rel_structure.py +++ b/netex/models/mobility_services_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .car_pooling_service import CarPoolingService @@ -19,7 +19,7 @@ class MobilityServicesRelStructure(ContainmentAggregationStructure): class Meta: name = "mobilityServices_RelStructure" - mobility_service_or_common_vehicle_service_or_vehicle_pooling_service: Iterable[ + mobility_service_or_common_vehicle_service_or_vehicle_pooling_service: Sequence[ OnlineService | VehicleRentalService | VehicleSharingService diff --git a/netex/models/mode_refs_rel_structure.py b/netex/models/mode_refs_rel_structure.py index ef7c0c930..d6e96805c 100644 --- a/netex/models/mode_refs_rel_structure.py +++ b/netex/models/mode_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .mode_ref import ModeRef @@ -14,7 +14,7 @@ class ModeRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "modeRefs_RelStructure" - mode_ref: Iterable[ModeRef] = field( + mode_ref: Sequence[ModeRef] = field( default_factory=list, metadata={ "name": "ModeRef", diff --git a/netex/models/mode_restriction_assessments_rel_structure.py b/netex/models/mode_restriction_assessments_rel_structure.py index b895602d8..fd5f69582 100644 --- a/netex/models/mode_restriction_assessments_rel_structure.py +++ b/netex/models/mode_restriction_assessments_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -15,7 +15,7 @@ class ModeRestrictionAssessmentsRelStructure(ContainmentAggregationStructure): class Meta: name = "modeRestrictionAssessments_RelStructure" - mode_restriction_assessment_ref_or_mode_restriction_assessment: Iterable[ + mode_restriction_assessment_ref_or_mode_restriction_assessment: Sequence[ ModeRestrictionAssessmentRef | ModeRestrictionAssessment ] = field( default_factory=list, diff --git a/netex/models/modes_of_operation_rel_structure.py b/netex/models/modes_of_operation_rel_structure.py index da45f1028..1a9fe63c0 100644 --- a/netex/models/modes_of_operation_rel_structure.py +++ b/netex/models/modes_of_operation_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .alternative_mode_of_operation import AlternativeModeOfOperation @@ -20,7 +20,7 @@ class ModesOfOperationRelStructure(ContainmentAggregationStructure): class Meta: name = "modesOfOperationRelStructure" - mode_of_operation_or_alternative_mode_of_operation_or_conventional_mode_of_operation: Iterable[ + mode_of_operation_or_alternative_mode_of_operation_or_conventional_mode_of_operation: Sequence[ PersonalModeOfOperation | AlternativeModeOfOperation | VehiclePooling diff --git a/netex/models/money_facility_list.py b/netex/models/money_facility_list.py index 80c939ce7..2f94c2d22 100644 --- a/netex/models/money_facility_list.py +++ b/netex/models/money_facility_list.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .money_facility_enumeration import MoneyFacilityEnumeration @@ -13,7 +13,7 @@ class MoneyFacilityList: class Meta: namespace = "http://www.netex.org.uk/netex" - value: Iterable[MoneyFacilityEnumeration] = field( + value: Sequence[MoneyFacilityEnumeration] = field( default_factory=list, metadata={ "tokens": True, diff --git a/netex/models/money_service_version_structure.py b/netex/models/money_service_version_structure.py index 133a09fbf..1a939947c 100644 --- a/netex/models/money_service_version_structure.py +++ b/netex/models/money_service_version_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .local_service_version_structure import LocalServiceVersionStructure @@ -14,7 +14,7 @@ class MoneyServiceVersionStructure(LocalServiceVersionStructure): class Meta: name = "MoneyService_VersionStructure" - service_list: Iterable[MoneyServiceEnumeration] = field( + service_list: Sequence[MoneyServiceEnumeration] = field( default_factory=list, metadata={ "name": "ServiceList", diff --git a/netex/models/monitored_calls_rel_structure.py b/netex/models/monitored_calls_rel_structure.py index 1d33166bf..6d7cdf0e6 100644 --- a/netex/models/monitored_calls_rel_structure.py +++ b/netex/models/monitored_calls_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .monitored_call import MonitoredCall @@ -16,7 +16,7 @@ class MonitoredCallsRelStructure(StrictContainmentAggregationStructure): class Meta: name = "monitoredCalls_RelStructure" - monitored_call: Iterable[MonitoredCall] = field( + monitored_call: Sequence[MonitoredCall] = field( default_factory=list, metadata={ "name": "MonitoredCall", diff --git a/netex/models/month_validity_offsets_rel_structure.py b/netex/models/month_validity_offsets_rel_structure.py index 807798c8b..b5eb8172b 100644 --- a/netex/models/month_validity_offsets_rel_structure.py +++ b/netex/models/month_validity_offsets_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .month_validity_offset import MonthValidityOffset @@ -16,7 +16,7 @@ class MonthValidityOffsetsRelStructure(StrictContainmentAggregationStructure): class Meta: name = "monthValidityOffsets_RelStructure" - month_validity_offset: Iterable[MonthValidityOffset] = field( + month_validity_offset: Sequence[MonthValidityOffset] = field( default_factory=list, metadata={ "name": "MonthValidityOffset", diff --git a/netex/models/multi_surface_type.py b/netex/models/multi_surface_type.py index 60eb5345b..b7769656e 100644 --- a/netex/models/multi_surface_type.py +++ b/netex/models/multi_surface_type.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .abstract_geometric_aggregate_type import AbstractGeometricAggregateType @@ -12,7 +12,7 @@ @dataclass(kw_only=True) class MultiSurfaceType(AbstractGeometricAggregateType): - surface_member: Iterable[SurfaceMember] = field( + surface_member: Sequence[SurfaceMember] = field( default_factory=list, metadata={ "name": "surfaceMember", diff --git a/netex/models/navigation_path_refs_rel_structure.py b/netex/models/navigation_path_refs_rel_structure.py index bf654f505..b3c17696a 100644 --- a/netex/models/navigation_path_refs_rel_structure.py +++ b/netex/models/navigation_path_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .navigation_path_ref import NavigationPathRef @@ -14,7 +14,7 @@ class NavigationPathRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "navigationPathRefs_RelStructure" - navigation_path_ref: Iterable[NavigationPathRef] = field( + navigation_path_ref: Sequence[NavigationPathRef] = field( default_factory=list, metadata={ "name": "NavigationPathRef", diff --git a/netex/models/navigation_path_version_structure.py b/netex/models/navigation_path_version_structure.py index 709220afa..b0d32e523 100644 --- a/netex/models/navigation_path_version_structure.py +++ b/netex/models/navigation_path_version_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .access_feature_enumeration import AccessFeatureEnumeration @@ -55,7 +55,7 @@ class Meta: "namespace": "http://www.netex.org.uk/netex", }, ) - access_modes: Iterable[AccessModeEnumeration] = field( + access_modes: Sequence[AccessModeEnumeration] = field( default_factory=list, metadata={ "name": "AccessModes", @@ -142,7 +142,7 @@ class Meta: "namespace": "http://www.netex.org.uk/netex", }, ) - access_feature_list: Iterable[AccessFeatureEnumeration] = field( + access_feature_list: Sequence[AccessFeatureEnumeration] = field( default_factory=list, metadata={ "name": "AccessFeatureList", diff --git a/netex/models/navigation_paths_in_frame_rel_structure.py b/netex/models/navigation_paths_in_frame_rel_structure.py index c828fc407..5fafe83a9 100644 --- a/netex/models/navigation_paths_in_frame_rel_structure.py +++ b/netex/models/navigation_paths_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class NavigationPathsInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "navigationPathsInFrame_RelStructure" - navigation_path: Iterable[NavigationPath] = field( + navigation_path: Sequence[NavigationPath] = field( default_factory=list, metadata={ "name": "NavigationPath", diff --git a/netex/models/navigation_paths_rel_structure.py b/netex/models/navigation_paths_rel_structure.py index 224b4a07b..cbdfa2cb7 100644 --- a/netex/models/navigation_paths_rel_structure.py +++ b/netex/models/navigation_paths_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -15,7 +15,7 @@ class NavigationPathsRelStructure(ContainmentAggregationStructure): class Meta: name = "navigationPaths_RelStructure" - navigation_path_ref_or_navigation_path: Iterable[ + navigation_path_ref_or_navigation_path: Sequence[ NavigationPathRef | NavigationPath ] = field( default_factory=list, diff --git a/netex/models/network_filter_by_value_structure.py b/netex/models/network_filter_by_value_structure.py index 06a6a8fb3..0f0de5339 100644 --- a/netex/models/network_filter_by_value_structure.py +++ b/netex/models/network_filter_by_value_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .access_space_ref import AccessSpaceRef @@ -81,7 +81,7 @@ class NetworkFilterByValueStructure(ObjectFilterByValueStructure): @dataclass(kw_only=True) class Places: - choice: Iterable[ + choice: Sequence[ HailAndRideAreaRef | FlexibleAreaRef | FlexibleQuayRef diff --git a/netex/models/network_frame_request_policy_structure.py b/netex/models/network_frame_request_policy_structure.py index 7850bfb1a..52d27bbe3 100644 --- a/netex/models/network_frame_request_policy_structure.py +++ b/netex/models/network_frame_request_policy_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from xsdata.models.datatype import XmlDateTime, XmlDuration @@ -52,7 +52,7 @@ class NetworkFrameRequestPolicyStructure: "namespace": "http://www.netex.org.uk/netex", }, ) - request_detail: Iterable[OutputDetailEnumeration] = field( + request_detail: Sequence[OutputDetailEnumeration] = field( default_factory=list, metadata={ "name": "RequestDetail", diff --git a/netex/models/network_frame_topic_structure.py b/netex/models/network_frame_topic_structure.py index 4c1407856..3bd1ff5c6 100644 --- a/netex/models/network_frame_topic_structure.py +++ b/netex/models/network_frame_topic_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from typing import ForwardRef @@ -91,7 +91,7 @@ class NetworkFrameTopicStructure(TopicStructure): "namespace": "http://www.netex.org.uk/netex", }, ) - choice_1: Iterable[ + choice_1: Sequence[ MobilityJourneyFrameRef | MobilityServiceFrameRef | SalesTransactionFrameRef @@ -193,7 +193,7 @@ class NetworkFrameTopicStructure(TopicStructure): @dataclass(kw_only=True) class SelectionValidityConditions: - validity_condition: Iterable[ + validity_condition: Sequence[ SimpleAvailabilityCondition | ValidDuring | AvailabilityCondition diff --git a/netex/models/network_restrictions_in_frame_rel_structure.py b/netex/models/network_restrictions_in_frame_rel_structure.py index 248a8e616..2060a99ca 100644 --- a/netex/models/network_restrictions_in_frame_rel_structure.py +++ b/netex/models/network_restrictions_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -17,7 +17,7 @@ class NetworkRestrictionsInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "networkRestrictionsInFrame_RelStructure" - network_restriction: Iterable[ + network_restriction: Sequence[ OvertakingPossibility | MeetingRestriction | RestrictedManoeuvre diff --git a/netex/models/networks_in_frame_rel_structure.py b/netex/models/networks_in_frame_rel_structure.py index 5057fb70c..c20320db3 100644 --- a/netex/models/networks_in_frame_rel_structure.py +++ b/netex/models/networks_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class NetworksInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "networksInFrame_RelStructure" - network: Iterable[Network] = field( + network: Sequence[Network] = field( default_factory=list, metadata={ "name": "Network", diff --git a/netex/models/notice_assignment_views_rel_structure.py b/netex/models/notice_assignment_views_rel_structure.py index 50e05c5d4..4e6aa5c8e 100644 --- a/netex/models/notice_assignment_views_rel_structure.py +++ b/netex/models/notice_assignment_views_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class NoticeAssignmentViewsRelStructure(ContainmentAggregationStructure): class Meta: name = "noticeAssignmentViews_RelStructure" - notice_assignment_view: Iterable[NoticeAssignmentView] = field( + notice_assignment_view: Sequence[NoticeAssignmentView] = field( default_factory=list, metadata={ "name": "NoticeAssignmentView", diff --git a/netex/models/notice_assignments_in_frame_rel_structure.py b/netex/models/notice_assignments_in_frame_rel_structure.py index 358bd6b7c..25c1b98e4 100644 --- a/netex/models/notice_assignments_in_frame_rel_structure.py +++ b/netex/models/notice_assignments_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -15,7 +15,7 @@ class NoticeAssignmentsInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "noticeAssignmentsInFrame_RelStructure" - notice_assignment: Iterable[SalesNoticeAssignment | NoticeAssignment] = ( + notice_assignment: Sequence[SalesNoticeAssignment | NoticeAssignment] = ( field( default_factory=list, metadata={ diff --git a/netex/models/notice_assignments_rel_structure.py b/netex/models/notice_assignments_rel_structure.py index ccdfc756b..48e3dff9c 100644 --- a/netex/models/notice_assignments_rel_structure.py +++ b/netex/models/notice_assignments_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -16,7 +16,7 @@ class NoticeAssignmentsRelStructure(ContainmentAggregationStructure): class Meta: name = "noticeAssignments_RelStructure" - sales_notice_assignment_or_notice_assignment_or_notice_assignment_view: Iterable[ + sales_notice_assignment_or_notice_assignment_or_notice_assignment_view: Sequence[ SalesNoticeAssignment | NoticeAssignment | NoticeAssignmentView ] = field( default_factory=list, diff --git a/netex/models/notices_in_frame_rel_structure.py b/netex/models/notices_in_frame_rel_structure.py index 7f72f0d9f..fcf95f92d 100644 --- a/netex/models/notices_in_frame_rel_structure.py +++ b/netex/models/notices_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class NoticesInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "noticesInFrame_RelStructure" - notice: Iterable[Notice] = field( + notice: Sequence[Notice] = field( default_factory=list, metadata={ "name": "Notice", diff --git a/netex/models/notices_rel_structure.py b/netex/models/notices_rel_structure.py index 8d584e159..dcffe0e42 100644 --- a/netex/models/notices_rel_structure.py +++ b/netex/models/notices_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -15,7 +15,7 @@ class NoticesRelStructure(ContainmentAggregationStructure): class Meta: name = "notices_RelStructure" - notice_ref_or_notice: Iterable[NoticeRef | Notice] = field( + notice_ref_or_notice: Sequence[NoticeRef | Notice] = field( default_factory=list, metadata={ "type": "Elements", diff --git a/netex/models/nuisance_facility.py b/netex/models/nuisance_facility.py index 5295bfcaa..e1abc542b 100644 --- a/netex/models/nuisance_facility.py +++ b/netex/models/nuisance_facility.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .nuisance_facility_enumeration import NuisanceFacilityEnumeration @@ -13,7 +13,7 @@ class NuisanceFacility: class Meta: namespace = "http://www.netex.org.uk/netex" - value: Iterable[NuisanceFacilityEnumeration] = field( + value: Sequence[NuisanceFacilityEnumeration] = field( default_factory=lambda: [ NuisanceFacilityEnumeration.UNKNOWN, ], diff --git a/netex/models/nuisance_facility_list.py b/netex/models/nuisance_facility_list.py index 878e68fdc..9edcdbc35 100644 --- a/netex/models/nuisance_facility_list.py +++ b/netex/models/nuisance_facility_list.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .nuisance_facility_enumeration import NuisanceFacilityEnumeration @@ -13,7 +13,7 @@ class NuisanceFacilityList: class Meta: namespace = "http://www.netex.org.uk/netex" - value: Iterable[NuisanceFacilityEnumeration] = field( + value: Sequence[NuisanceFacilityEnumeration] = field( default_factory=list, metadata={ "tokens": True, diff --git a/netex/models/object_filter_by_value_structure.py b/netex/models/object_filter_by_value_structure.py index a4886b39c..a383793a6 100644 --- a/netex/models/object_filter_by_value_structure.py +++ b/netex/models/object_filter_by_value_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .accepted_driver_permit_ref import AcceptedDriverPermitRef @@ -659,7 +659,7 @@ class ObjectFilterByValueStructure: @dataclass(kw_only=True) class ObjectReferences: - choice: Iterable[ + choice: Sequence[ TripLegRef | IndividualPassengerInfoRef | VehiclePoolingDriverInfoRef diff --git a/netex/models/object_refs_rel_structure.py b/netex/models/object_refs_rel_structure.py index 44e2b4f1d..321626b5c 100644 --- a/netex/models/object_refs_rel_structure.py +++ b/netex/models/object_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .accepted_driver_permit_ref import AcceptedDriverPermitRef @@ -577,7 +577,7 @@ class ObjectRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "objectRefs_RelStructure" - choice: Iterable[ + choice: Sequence[ TripLegRef | IndividualPassengerInfoRef | VehiclePoolingDriverInfoRef diff --git a/netex/models/observed_passing_time_versioned_child_structure.py b/netex/models/observed_passing_time_versioned_child_structure.py index 27bafa0f0..66c64a7be 100644 --- a/netex/models/observed_passing_time_versioned_child_structure.py +++ b/netex/models/observed_passing_time_versioned_child_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from typing import ForwardRef @@ -21,7 +21,7 @@ class ObservedPassingTimeVersionedChildStructure( class Meta: name = "ObservedPassingTime_VersionedChildStructure" - choice_1: Iterable[ + choice_1: Sequence[ ObservedPassingTimeVersionedChildStructure.ActualArrivalTime | ObservedPassingTimeVersionedChildStructure.ArrivalDayOffset | ObservedPassingTimeVersionedChildStructure.ActualDepartureTime diff --git a/netex/models/observed_passing_time_view_structure.py b/netex/models/observed_passing_time_view_structure.py index 5d9998a1f..420273495 100644 --- a/netex/models/observed_passing_time_view_structure.py +++ b/netex/models/observed_passing_time_view_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from typing import ForwardRef @@ -17,7 +17,7 @@ class ObservedPassingTimeViewStructure(PassingTimeViewStructure): class Meta: name = "ObservedPassingTime_ViewStructure" - choice: Iterable[ + choice: Sequence[ ObservedPassingTimeViewStructure.ActualArrivalTime | ObservedPassingTimeViewStructure.ArrivalDayOffset | ObservedPassingTimeViewStructure.ActualDepartureTime diff --git a/netex/models/observed_passing_times_rel_structure.py b/netex/models/observed_passing_times_rel_structure.py index 49e34003a..968814ffa 100644 --- a/netex/models/observed_passing_times_rel_structure.py +++ b/netex/models/observed_passing_times_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .observed_passing_time import ObservedPassingTime @@ -16,7 +16,7 @@ class ObservedPassingTimesRelStructure(StrictContainmentAggregationStructure): class Meta: name = "observedPassingTimes_RelStructure" - observed_passing_time: Iterable[ObservedPassingTime] = field( + observed_passing_time: Sequence[ObservedPassingTime] = field( default_factory=list, metadata={ "name": "ObservedPassingTime", diff --git a/netex/models/offered_travel_specifications_rel_structure.py b/netex/models/offered_travel_specifications_rel_structure.py index 1fdb9d906..d9690425f 100644 --- a/netex/models/offered_travel_specifications_rel_structure.py +++ b/netex/models/offered_travel_specifications_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -15,7 +15,7 @@ class OfferedTravelSpecificationsRelStructure(ContainmentAggregationStructure): class Meta: name = "offeredTravelSpecifications_RelStructure" - offered_travel_specification_ref_or_offered_travel_specification: Iterable[ + offered_travel_specification_ref_or_offered_travel_specification: Sequence[ OfferedTravelSpecificationRef | OfferedTravelSpecification ] = field( default_factory=list, diff --git a/netex/models/onboard_stays_rel_structure.py b/netex/models/onboard_stays_rel_structure.py index f367d022e..bb87a14cd 100644 --- a/netex/models/onboard_stays_rel_structure.py +++ b/netex/models/onboard_stays_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class OnboardStaysRelStructure(ContainmentAggregationStructure): class Meta: name = "onboardStays_RelStructure" - onboard_stay: Iterable[OnboardStay] = field( + onboard_stay: Sequence[OnboardStay] = field( default_factory=list, metadata={ "name": "OnboardStay", diff --git a/netex/models/online_service_operator_refs_rel_structure.py b/netex/models/online_service_operator_refs_rel_structure.py index 9ef4b82a9..fd3a34f7f 100644 --- a/netex/models/online_service_operator_refs_rel_structure.py +++ b/netex/models/online_service_operator_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .one_to_many_relationship_structure import OneToManyRelationshipStructure @@ -14,7 +14,7 @@ class OnlineServiceOperatorRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "onlineServiceOperatorRefs_RelStructure" - online_service_ref: Iterable[OnlineServiceRef] = field( + online_service_ref: Sequence[OnlineServiceRef] = field( default_factory=list, metadata={ "name": "OnlineServiceRef", diff --git a/netex/models/online_service_refs_rel_structure.py b/netex/models/online_service_refs_rel_structure.py index a7b125937..f3edb9c80 100644 --- a/netex/models/online_service_refs_rel_structure.py +++ b/netex/models/online_service_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .one_to_many_relationship_structure import OneToManyRelationshipStructure @@ -14,7 +14,7 @@ class OnlineServiceRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "onlineServiceRefs_RelStructure" - online_service_ref: Iterable[OnlineServiceRef] = field( + online_service_ref: Sequence[OnlineServiceRef] = field( default_factory=list, metadata={ "name": "OnlineServiceRef", diff --git a/netex/models/online_services_rel_structure.py b/netex/models/online_services_rel_structure.py index 40453f8cc..518c4bb08 100644 --- a/netex/models/online_services_rel_structure.py +++ b/netex/models/online_services_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class OnlineServicesRelStructure(ContainmentAggregationStructure): class Meta: name = "onlineServices_RelStructure" - online_service: Iterable[OnlineService] = field( + online_service: Sequence[OnlineService] = field( default_factory=list, metadata={ "name": "OnlineService", diff --git a/netex/models/onward_calls_rel_structure.py b/netex/models/onward_calls_rel_structure.py index 2f769aeb0..8f65142ea 100644 --- a/netex/models/onward_calls_rel_structure.py +++ b/netex/models/onward_calls_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .onward_call import OnwardCall @@ -16,7 +16,7 @@ class OnwardCallsRelStructure(StrictContainmentAggregationStructure): class Meta: name = "onwardCalls_RelStructure" - onward_call: Iterable[OnwardCall] = field( + onward_call: Sequence[OnwardCall] = field( default_factory=list, metadata={ "name": "OnwardCall", diff --git a/netex/models/open_modes_rel_structure.py b/netex/models/open_modes_rel_structure.py index 6ca52d67d..05f928511 100644 --- a/netex/models/open_modes_rel_structure.py +++ b/netex/models/open_modes_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class OpenModesRelStructure(ContainmentAggregationStructure): class Meta: name = "openModesRelStructure" - open_transport_mode: Iterable[OpenTransportMode] = field( + open_transport_mode: Sequence[OpenTransportMode] = field( default_factory=list, metadata={ "name": "OpenTransportMode", diff --git a/netex/models/open_transport_mode_refs_rel_structure.py b/netex/models/open_transport_mode_refs_rel_structure.py index dc7deaad6..9deb7f446 100644 --- a/netex/models/open_transport_mode_refs_rel_structure.py +++ b/netex/models/open_transport_mode_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .one_to_many_relationship_structure import OneToManyRelationshipStructure @@ -14,7 +14,7 @@ class OpenTransportModeRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "openTransportModeRefs_RelStructure" - open_transport_mode_ref: Iterable[OpenTransportModeRef] = field( + open_transport_mode_ref: Sequence[OpenTransportModeRef] = field( default_factory=list, metadata={ "name": "OpenTransportModeRef", diff --git a/netex/models/operating_days_in_frame_rel_structure.py b/netex/models/operating_days_in_frame_rel_structure.py index cdf31ced2..49743b872 100644 --- a/netex/models/operating_days_in_frame_rel_structure.py +++ b/netex/models/operating_days_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class OperatingDaysInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "operatingDaysInFrame_RelStructure" - operating_day: Iterable[OperatingDay] = field( + operating_day: Sequence[OperatingDay] = field( default_factory=list, metadata={ "name": "OperatingDay", diff --git a/netex/models/operating_period_version_structure.py b/netex/models/operating_period_version_structure.py index 2c7c3ec13..a53c42b2a 100644 --- a/netex/models/operating_period_version_structure.py +++ b/netex/models/operating_period_version_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from xsdata.models.datatype import XmlDateTime @@ -84,7 +84,7 @@ class Meta: ), }, ) - holiday_type: Iterable[HolidayTypeEnumeration] = field( + holiday_type: Sequence[HolidayTypeEnumeration] = field( default_factory=list, metadata={ "name": "HolidayType", @@ -92,7 +92,7 @@ class Meta: "namespace": "http://www.netex.org.uk/netex", }, ) - season: Iterable[SeasonEnumeration] = field( + season: Sequence[SeasonEnumeration] = field( default_factory=list, metadata={ "name": "Season", diff --git a/netex/models/operating_periods_in_frame_rel_structure.py b/netex/models/operating_periods_in_frame_rel_structure.py index 5b13244e6..6561a35d5 100644 --- a/netex/models/operating_periods_in_frame_rel_structure.py +++ b/netex/models/operating_periods_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -15,7 +15,7 @@ class OperatingPeriodsInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "operatingPeriodsInFrame_RelStructure" - operating_period_or_uic_operating_period: Iterable[ + operating_period_or_uic_operating_period: Sequence[ OperatingPeriod | UicOperatingPeriod ] = field( default_factory=list, diff --git a/netex/models/operating_periods_rel_structure.py b/netex/models/operating_periods_rel_structure.py index 55ce15621..5f69e20bd 100644 --- a/netex/models/operating_periods_rel_structure.py +++ b/netex/models/operating_periods_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -17,7 +17,7 @@ class OperatingPeriodsRelStructure(ContainmentAggregationStructure): class Meta: name = "operatingPeriods_RelStructure" - choice: Iterable[ + choice: Sequence[ UicOperatingPeriodRef | OperatingPeriodRef | OperatingPeriod diff --git a/netex/models/operational_contex_refs_rel_structure.py b/netex/models/operational_contex_refs_rel_structure.py index 278140d7c..04261dc50 100644 --- a/netex/models/operational_contex_refs_rel_structure.py +++ b/netex/models/operational_contex_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .one_to_many_relationship_structure import OneToManyRelationshipStructure @@ -14,7 +14,7 @@ class OperationalContexRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "operationalContexRefs_RelStructure" - operational_context_ref: Iterable[OperationalContextRef] = field( + operational_context_ref: Sequence[OperationalContextRef] = field( default_factory=list, metadata={ "name": "OperationalContextRef", diff --git a/netex/models/operational_contexts_in_frame_rel_structure.py b/netex/models/operational_contexts_in_frame_rel_structure.py index 75d7041e5..b4ff28167 100644 --- a/netex/models/operational_contexts_in_frame_rel_structure.py +++ b/netex/models/operational_contexts_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class OperationalContextsInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "operationalContextsInFrame_RelStructure" - operational_context: Iterable[OperationalContext] = field( + operational_context: Sequence[OperationalContext] = field( default_factory=list, metadata={ "name": "OperationalContext", diff --git a/netex/models/organisation_parts_rel_structure.py b/netex/models/organisation_parts_rel_structure.py index 2789d3a0c..637173562 100644 --- a/netex/models/organisation_parts_rel_structure.py +++ b/netex/models/organisation_parts_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -22,7 +22,7 @@ class OrganisationPartsRelStructure(ContainmentAggregationStructure): class Meta: name = "organisationParts_RelStructure" - organisation_part_ref_or_organisation_part: Iterable[ + organisation_part_ref_or_organisation_part: Sequence[ ControlCentreRef | OrganisationalUnitRef | DepartmentRef diff --git a/netex/models/organisation_refs_rel_structure.py b/netex/models/organisation_refs_rel_structure.py index 1c6d8ed5e..e73b09f7b 100644 --- a/netex/models/organisation_refs_rel_structure.py +++ b/netex/models/organisation_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .authority_ref import AuthorityRef @@ -23,7 +23,7 @@ class OrganisationRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "organisationRefs_RelStructure" - organisation_ref_or_other_organisation_ref_or_transport_organisation_ref: Iterable[ + organisation_ref_or_other_organisation_ref_or_transport_organisation_ref: Sequence[ RetailConsortiumRef | OnlineServiceOperatorRef | GeneralOrganisationRef diff --git a/netex/models/organisation_version_structure.py b/netex/models/organisation_version_structure.py index d2e70f8f9..1cb297609 100644 --- a/netex/models/organisation_version_structure.py +++ b/netex/models/organisation_version_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from typing import Any @@ -154,7 +154,7 @@ class Meta: "namespace": "http://www.netex.org.uk/netex", }, ) - organisation_type: Iterable[OrganisationTypeEnumeration] = field( + organisation_type: Sequence[OrganisationTypeEnumeration] = field( default_factory=list, metadata={ "name": "OrganisationType", diff --git a/netex/models/organisational_unit_refs_rel_structure.py b/netex/models/organisational_unit_refs_rel_structure.py index 1f856907c..6511738c5 100644 --- a/netex/models/organisational_unit_refs_rel_structure.py +++ b/netex/models/organisational_unit_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .one_to_many_relationship_structure import OneToManyRelationshipStructure @@ -14,7 +14,7 @@ class OrganisationalUnitRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "organisationalUnitRefs_RelStructure" - organisational_unit_ref: Iterable[OrganisationalUnitRef] = field( + organisational_unit_ref: Sequence[OrganisationalUnitRef] = field( default_factory=list, metadata={ "name": "OrganisationalUnitRef", diff --git a/netex/models/organisational_units_rel_structure.py b/netex/models/organisational_units_rel_structure.py index 6e9da8b81..9787fb63e 100644 --- a/netex/models/organisational_units_rel_structure.py +++ b/netex/models/organisational_units_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -15,7 +15,7 @@ class OrganisationalUnitsRelStructure(ContainmentAggregationStructure): class Meta: name = "organisationalUnits_RelStructure" - organisational_unit_ref_or_organisational_unit: Iterable[ + organisational_unit_ref_or_organisational_unit: Sequence[ OrganisationalUnitRef | OrganisationalUnit ] = field( default_factory=list, diff --git a/netex/models/organisations_in_frame_rel_structure.py b/netex/models/organisations_in_frame_rel_structure.py index 451b23b31..43df5c5ce 100644 --- a/netex/models/organisations_in_frame_rel_structure.py +++ b/netex/models/organisations_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .authority import Authority @@ -22,7 +22,7 @@ class OrganisationsInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "organisationsInFrame_RelStructure" - organisation_or_transport_organisation: Iterable[ + organisation_or_transport_organisation: Sequence[ RetailConsortium | ServicedOrganisation | GeneralOrganisation diff --git a/netex/models/parameters_ignored_error_structure.py b/netex/models/parameters_ignored_error_structure.py index cd8230bd6..fb1176262 100644 --- a/netex/models/parameters_ignored_error_structure.py +++ b/netex/models/parameters_ignored_error_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .error_code_structure import ErrorCodeStructure @@ -10,7 +10,7 @@ @dataclass(kw_only=True) class ParametersIgnoredErrorStructure(ErrorCodeStructure): - parameter_name: Iterable[str] = field( + parameter_name: Sequence[str] = field( default_factory=list, metadata={ "name": "ParameterName", diff --git a/netex/models/parking_area_refs_rel_structure.py b/netex/models/parking_area_refs_rel_structure.py index 06fd4db83..33ab3e933 100644 --- a/netex/models/parking_area_refs_rel_structure.py +++ b/netex/models/parking_area_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .one_to_many_relationship_structure import OneToManyRelationshipStructure @@ -17,7 +17,7 @@ class ParkingAreaRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "parkingAreaRefs_RelStructure" - parking_area_ref: Iterable[ + parking_area_ref: Sequence[ VehiclePoolingParkingAreaRef | VehicleSharingParkingAreaRef | TaxiParkingAreaRef diff --git a/netex/models/parking_areas_rel_structure.py b/netex/models/parking_areas_rel_structure.py index ea1405dbd..ec5b3a21a 100644 --- a/netex/models/parking_areas_rel_structure.py +++ b/netex/models/parking_areas_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -21,7 +21,7 @@ class ParkingAreasRelStructure(ContainmentAggregationStructure): class Meta: name = "parkingAreas_RelStructure" - parking_area_ref_or_parking_area: Iterable[ + parking_area_ref_or_parking_area: Sequence[ VehiclePoolingParkingAreaRef | VehicleSharingParkingAreaRef | TaxiParkingAreaRef diff --git a/netex/models/parking_bay_refs_rel_structure.py b/netex/models/parking_bay_refs_rel_structure.py index ff840e191..d245c221d 100644 --- a/netex/models/parking_bay_refs_rel_structure.py +++ b/netex/models/parking_bay_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .monitored_vehicle_sharing_parking_bay_ref import ( @@ -19,7 +19,7 @@ class ParkingBayRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "parkingBayRefs_RelStructure" - parking_bay_ref_or_vehicle_sharing_parking_bay_ref: Iterable[ + parking_bay_ref_or_vehicle_sharing_parking_bay_ref: Sequence[ VehiclePoolingParkingBayRef | MonitoredVehicleSharingParkingBayRef | VehicleSharingParkingBayRef diff --git a/netex/models/parking_bay_version_structure.py b/netex/models/parking_bay_version_structure.py index 3222f55ef..939f1e528 100644 --- a/netex/models/parking_bay_version_structure.py +++ b/netex/models/parking_bay_version_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from decimal import Decimal @@ -66,7 +66,7 @@ class Meta: ), }, ) - parking_user_types: Iterable[ParkingUserEnumeration] = field( + parking_user_types: Sequence[ParkingUserEnumeration] = field( default_factory=list, metadata={ "name": "ParkingUserTypes", @@ -123,7 +123,7 @@ class Meta: ), }, ) - parking_stay_list: Iterable[ParkingStayEnumeration] = field( + parking_stay_list: Sequence[ParkingStayEnumeration] = field( default_factory=list, metadata={ "name": "ParkingStayList", diff --git a/netex/models/parking_bays_rel_structure.py b/netex/models/parking_bays_rel_structure.py index 425334061..7bd2db941 100644 --- a/netex/models/parking_bays_rel_structure.py +++ b/netex/models/parking_bays_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -25,7 +25,7 @@ class ParkingBaysRelStructure(ContainmentAggregationStructure): class Meta: name = "parkingBays_RelStructure" - parking_bay_ref_or_vehicle_sharing_parking_bay_ref_or_parking_bay: Iterable[ + parking_bay_ref_or_vehicle_sharing_parking_bay_ref_or_parking_bay: Sequence[ VehiclePoolingParkingBayRef | MonitoredVehicleSharingParkingBayRef | VehicleSharingParkingBayRef diff --git a/netex/models/parking_capacities_rel_structure.py b/netex/models/parking_capacities_rel_structure.py index ec85ae06a..5221e828f 100644 --- a/netex/models/parking_capacities_rel_structure.py +++ b/netex/models/parking_capacities_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -15,7 +15,7 @@ class ParkingCapacitiesRelStructure(ContainmentAggregationStructure): class Meta: name = "parkingCapacities_RelStructure" - parking_capacity_ref_or_parking_capacity: Iterable[ + parking_capacity_ref_or_parking_capacity: Sequence[ ParkingCapacityRef | ParkingCapacity ] = field( default_factory=list, diff --git a/netex/models/parking_charge_bands_rel_structure.py b/netex/models/parking_charge_bands_rel_structure.py index a3573a716..434e9f6af 100644 --- a/netex/models/parking_charge_bands_rel_structure.py +++ b/netex/models/parking_charge_bands_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -15,7 +15,7 @@ class ParkingChargeBandsRelStructure(ContainmentAggregationStructure): class Meta: name = "parkingChargeBands_RelStructure" - parking_charge_band_ref_or_parking_charge_band: Iterable[ + parking_charge_band_ref_or_parking_charge_band: Sequence[ ParkingChargeBandRef | ParkingChargeBand ] = field( default_factory=list, diff --git a/netex/models/parking_component_refs_rel_structure.py b/netex/models/parking_component_refs_rel_structure.py index ba1cfeaf8..4d3d0403f 100644 --- a/netex/models/parking_component_refs_rel_structure.py +++ b/netex/models/parking_component_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .monitored_vehicle_sharing_parking_bay_ref import ( @@ -23,7 +23,7 @@ class ParkingComponentRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "parkingComponentRefs_RelStructure" - parking_area_ref_or_parking_bay_ref_or_vehicle_sharing_parking_bay_ref: Iterable[ + parking_area_ref_or_parking_bay_ref_or_vehicle_sharing_parking_bay_ref: Sequence[ VehiclePoolingParkingAreaRef | VehicleSharingParkingAreaRef | TaxiParkingAreaRef diff --git a/netex/models/parking_entrances_for_vehicles_rel_structure.py b/netex/models/parking_entrances_for_vehicles_rel_structure.py index a4721d53a..ea1f5c7d3 100644 --- a/netex/models/parking_entrances_for_vehicles_rel_structure.py +++ b/netex/models/parking_entrances_for_vehicles_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -15,7 +15,7 @@ class ParkingEntrancesForVehiclesRelStructure(ContainmentAggregationStructure): class Meta: name = "parkingEntrancesForVehicles_RelStructure" - parking_entrance_for_vehicles_ref_or_parking_entrance_for_vehicles: Iterable[ + parking_entrance_for_vehicles_ref_or_parking_entrance_for_vehicles: Sequence[ ParkingEntranceForVehiclesRef | ParkingEntranceForVehicles ] = field( default_factory=list, diff --git a/netex/models/parking_facility_list.py b/netex/models/parking_facility_list.py index 4e39afe5f..0a9138d48 100644 --- a/netex/models/parking_facility_list.py +++ b/netex/models/parking_facility_list.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .parking_facility_enumeration import ParkingFacilityEnumeration @@ -13,7 +13,7 @@ class ParkingFacilityList: class Meta: namespace = "http://www.netex.org.uk/netex" - value: Iterable[ParkingFacilityEnumeration] = field( + value: Sequence[ParkingFacilityEnumeration] = field( default_factory=list, metadata={ "tokens": True, diff --git a/netex/models/parking_log_entries_in_frame_rel_structure.py b/netex/models/parking_log_entries_in_frame_rel_structure.py index ac363f7a9..e5a935707 100644 --- a/netex/models/parking_log_entries_in_frame_rel_structure.py +++ b/netex/models/parking_log_entries_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -15,7 +15,7 @@ class ParkingLogEntriesInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "parkingLogEntriesInFrame_RelStructure" - parking_log_entry: Iterable[ParkingBayCondition | RentalAvailability] = ( + parking_log_entry: Sequence[ParkingBayCondition | RentalAvailability] = ( field( default_factory=list, metadata={ diff --git a/netex/models/parking_log_entries_rel_structure.py b/netex/models/parking_log_entries_rel_structure.py index 4a4ea907b..995f4b014 100644 --- a/netex/models/parking_log_entries_rel_structure.py +++ b/netex/models/parking_log_entries_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -17,7 +17,7 @@ class ParkingLogEntriesRelStructure(ContainmentAggregationStructure): class Meta: name = "parkingLogEntries_RelStructure" - choice: Iterable[ + choice: Sequence[ ParkingBayConditionRef | RentalAvailabilityRef | ParkingBayCondition diff --git a/netex/models/parking_prices_rel_structure.py b/netex/models/parking_prices_rel_structure.py index 15c88caca..74aea75a0 100644 --- a/netex/models/parking_prices_rel_structure.py +++ b/netex/models/parking_prices_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .cell_ref import CellRef @@ -20,7 +20,7 @@ class ParkingPricesRelStructure(StrictContainmentAggregationStructure): class Meta: name = "parkingPrices_RelStructure" - parking_price_ref_or_cell_ref_or_parking_price: Iterable[ + parking_price_ref_or_cell_ref_or_parking_price: Sequence[ ParkingPriceRef | CellRef | ParkingPriceVersionedChildStructure ] = field( default_factory=list, diff --git a/netex/models/parking_properties_rel_structure.py b/netex/models/parking_properties_rel_structure.py index 786722c73..6e1ffc7a0 100644 --- a/netex/models/parking_properties_rel_structure.py +++ b/netex/models/parking_properties_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .parking_properties import ParkingProperties @@ -16,7 +16,7 @@ class ParkingPropertiesRelStructure(StrictContainmentAggregationStructure): class Meta: name = "parkingProperties_RelStructure" - parking_properties: Iterable[ParkingProperties] = field( + parking_properties: Sequence[ParkingProperties] = field( default_factory=list, metadata={ "name": "ParkingProperties", diff --git a/netex/models/parking_properties_versioned_child_structure.py b/netex/models/parking_properties_versioned_child_structure.py index 74bfccc91..48eb16e6f 100644 --- a/netex/models/parking_properties_versioned_child_structure.py +++ b/netex/models/parking_properties_versioned_child_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from xsdata.models.datatype import XmlDuration @@ -41,7 +41,7 @@ class Meta: "namespace": "http://www.netex.org.uk/netex", }, ) - parking_user_types: Iterable[ParkingUserEnumeration] = field( + parking_user_types: Sequence[ParkingUserEnumeration] = field( default_factory=list, metadata={ "name": "ParkingUserTypes", @@ -50,7 +50,7 @@ class Meta: "tokens": True, }, ) - parking_vehicle_types: Iterable[ParkingVehicleEnumeration] = field( + parking_vehicle_types: Sequence[ParkingVehicleEnumeration] = field( default_factory=list, metadata={ "name": "ParkingVehicleTypes", @@ -67,7 +67,7 @@ class Meta: "namespace": "http://www.netex.org.uk/netex", }, ) - parking_stay_list: Iterable[ParkingStayEnumeration] = field( + parking_stay_list: Sequence[ParkingStayEnumeration] = field( default_factory=list, metadata={ "name": "ParkingStayList", diff --git a/netex/models/parking_refs_rel_structure.py b/netex/models/parking_refs_rel_structure.py index b2f1f503a..49ec88ab8 100644 --- a/netex/models/parking_refs_rel_structure.py +++ b/netex/models/parking_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .one_to_many_relationship_structure import OneToManyRelationshipStructure @@ -14,7 +14,7 @@ class ParkingRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "parkingRefs_RelStructure" - parking_ref: Iterable[ParkingRef] = field( + parking_ref: Sequence[ParkingRef] = field( default_factory=list, metadata={ "name": "ParkingRef", diff --git a/netex/models/parking_tariff_version_structure.py b/netex/models/parking_tariff_version_structure.py index 64b4c672d..1fc547fa0 100644 --- a/netex/models/parking_tariff_version_structure.py +++ b/netex/models/parking_tariff_version_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .alternative_names_rel_structure import AlternativeNamesRelStructure @@ -214,7 +214,7 @@ class Meta: "namespace": "http://www.netex.org.uk/netex", }, ) - parking_vehicle_types: Iterable[ParkingVehicleEnumeration] = field( + parking_vehicle_types: Sequence[ParkingVehicleEnumeration] = field( default_factory=list, metadata={ "name": "ParkingVehicleTypes", diff --git a/netex/models/parking_tariffs_in_frame_rel_structure.py b/netex/models/parking_tariffs_in_frame_rel_structure.py index 1fe33ba5d..0a0744f77 100644 --- a/netex/models/parking_tariffs_in_frame_rel_structure.py +++ b/netex/models/parking_tariffs_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class ParkingTariffsInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "parkingTariffsInFrame_RelStructure" - parking_tariff: Iterable[ParkingTariff] = field( + parking_tariff: Sequence[ParkingTariff] = field( default_factory=list, metadata={ "name": "ParkingTariff", diff --git a/netex/models/parking_version_structure.py b/netex/models/parking_version_structure.py index 1dad1839c..7879c722d 100644 --- a/netex/models/parking_version_structure.py +++ b/netex/models/parking_version_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .accesses_rel_structure import AccessesRelStructure @@ -100,7 +100,7 @@ class Meta: "namespace": "http://www.netex.org.uk/netex", }, ) - parking_vehicle_types: Iterable[ParkingVehicleEnumeration] = field( + parking_vehicle_types: Sequence[ParkingVehicleEnumeration] = field( default_factory=list, metadata={ "name": "ParkingVehicleTypes", @@ -189,7 +189,7 @@ class Meta: "namespace": "http://www.netex.org.uk/netex", }, ) - parking_payment_process: Iterable[ParkingPaymentProcessEnumeration] = ( + parking_payment_process: Sequence[ParkingPaymentProcessEnumeration] = ( field( default_factory=list, metadata={ @@ -200,7 +200,7 @@ class Meta: }, ) ) - payment_methods: Iterable[PaymentMethodEnumeration] = field( + payment_methods: Sequence[PaymentMethodEnumeration] = field( default_factory=list, metadata={ "name": "PaymentMethods", @@ -230,7 +230,7 @@ class Meta: "pattern": r"[A-Z][A-Z][A-Z]", }, ) - currencies_accepted: Iterable[str] = field( + currencies_accepted: Sequence[str] = field( default_factory=list, metadata={ "name": "CurrenciesAccepted", @@ -242,7 +242,7 @@ class Meta: "tokens": True, }, ) - cards_accepted: Iterable[str] = field( + cards_accepted: Sequence[str] = field( default_factory=list, metadata={ "name": "CardsAccepted", diff --git a/netex/models/parkings_in_frame_rel_structure.py b/netex/models/parkings_in_frame_rel_structure.py index 2b9e76092..53fb5dd5d 100644 --- a/netex/models/parkings_in_frame_rel_structure.py +++ b/netex/models/parkings_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class ParkingsInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "parkingsInFrame_RelStructure" - parking: Iterable[Parking] = field( + parking: Sequence[Parking] = field( default_factory=list, metadata={ "name": "Parking", diff --git a/netex/models/passenger_accessibility_needs_structure.py b/netex/models/passenger_accessibility_needs_structure.py index 299441252..4821dcd62 100644 --- a/netex/models/passenger_accessibility_needs_structure.py +++ b/netex/models/passenger_accessibility_needs_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .suitability import Suitability @@ -39,7 +39,7 @@ class PassengerAccessibilityNeedsStructure: @dataclass(kw_only=True) class UserNeeds: - user_need: Iterable[UserNeed] = field( + user_need: Sequence[UserNeed] = field( default_factory=list, metadata={ "name": "UserNeed", @@ -50,7 +50,7 @@ class UserNeeds: @dataclass(kw_only=True) class Suitabilities: - suitability: Iterable[Suitability] = field( + suitability: Sequence[Suitability] = field( default_factory=list, metadata={ "name": "Suitability", diff --git a/netex/models/passenger_capacities_rel_structure.py b/netex/models/passenger_capacities_rel_structure.py index 5e0aec9cc..37e5f1d0c 100644 --- a/netex/models/passenger_capacities_rel_structure.py +++ b/netex/models/passenger_capacities_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .one_to_many_relationship_structure import OneToManyRelationshipStructure @@ -15,7 +15,7 @@ class PassengerCapacitiesRelStructure(OneToManyRelationshipStructure): class Meta: name = "passengerCapacities_RelStructure" - passenger_capacity_ref_or_passenger_capacity: Iterable[ + passenger_capacity_ref_or_passenger_capacity: Sequence[ PassengerCapacityRef | PassengerCapacity ] = field( default_factory=list, diff --git a/netex/models/passenger_carrying_requirements_rel_structure.py b/netex/models/passenger_carrying_requirements_rel_structure.py index b23451a8f..b288fc359 100644 --- a/netex/models/passenger_carrying_requirements_rel_structure.py +++ b/netex/models/passenger_carrying_requirements_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -17,7 +17,7 @@ class PassengerCarryingRequirementsRelStructure( class Meta: name = "passengerCarryingRequirements_RelStructure" - passenger_carrying_requirement_ref_or_passenger_carrying_requirement: Iterable[ + passenger_carrying_requirement_ref_or_passenger_carrying_requirement: Sequence[ PassengerCarryingRequirementRef | PassengerCarryingRequirement ] = field( default_factory=list, diff --git a/netex/models/passenger_comms_facility_list.py b/netex/models/passenger_comms_facility_list.py index ffcbda1da..6110fb3bc 100644 --- a/netex/models/passenger_comms_facility_list.py +++ b/netex/models/passenger_comms_facility_list.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .passenger_comms_facility_enumeration import ( @@ -15,7 +15,7 @@ class PassengerCommsFacilityList: class Meta: namespace = "http://www.netex.org.uk/netex" - value: Iterable[PassengerCommsFacilityEnumeration] = field( + value: Sequence[PassengerCommsFacilityEnumeration] = field( default_factory=list, metadata={ "tokens": True, diff --git a/netex/models/passenger_equipments_rel_structure.py b/netex/models/passenger_equipments_rel_structure.py index be9ed4bb1..63fdaec3b 100644 --- a/netex/models/passenger_equipments_rel_structure.py +++ b/netex/models/passenger_equipments_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .access_vehicle_equipment import AccessVehicleEquipment @@ -32,7 +32,7 @@ class PassengerEquipmentsRelStructure(ContainmentAggregationStructure): class Meta: name = "passengerEquipments_RelStructure" - passenger_equipment_ref_or_vehicle_equipment_ref_or_passenger_equipment: Iterable[ + passenger_equipment_ref_or_vehicle_equipment_ref_or_passenger_equipment: Sequence[ RubbishDisposalEquipmentRef | PassengerBeaconEquipmentRef | HelpPointEquipmentRef diff --git a/netex/models/passenger_information_equipment_version_structure.py b/netex/models/passenger_information_equipment_version_structure.py index 0c7375da2..669aa452d 100644 --- a/netex/models/passenger_information_equipment_version_structure.py +++ b/netex/models/passenger_information_equipment_version_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from decimal import Decimal @@ -253,7 +253,7 @@ class Meta: ), }, ) - passenger_information_equipment_list: Iterable[ + passenger_information_equipment_list: Sequence[ PassengerInformationEquipmentEnumeration ] = field( default_factory=list, diff --git a/netex/models/passenger_information_equipments_in_frame_rel_structure.py b/netex/models/passenger_information_equipments_in_frame_rel_structure.py index 67cbb19fd..11de72e36 100644 --- a/netex/models/passenger_information_equipments_in_frame_rel_structure.py +++ b/netex/models/passenger_information_equipments_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -16,7 +16,7 @@ class PassengerInformationEquipmentsInFrameRelStructure( class Meta: name = "passengerInformationEquipmentsInFrame_RelStructure" - passenger_information_equipment: Iterable[ + passenger_information_equipment: Sequence[ PassengerInformationEquipment ] = field( default_factory=list, diff --git a/netex/models/passenger_information_facility_list.py b/netex/models/passenger_information_facility_list.py index e00977475..5fa38838c 100644 --- a/netex/models/passenger_information_facility_list.py +++ b/netex/models/passenger_information_facility_list.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .passenger_information_facility_enumeration import ( @@ -15,7 +15,7 @@ class PassengerInformationFacilityList: class Meta: namespace = "http://www.netex.org.uk/netex" - value: Iterable[PassengerInformationFacilityEnumeration] = field( + value: Sequence[PassengerInformationFacilityEnumeration] = field( default_factory=list, metadata={ "tokens": True, diff --git a/netex/models/passenger_journeys_in_frame_rel_structure.py b/netex/models/passenger_journeys_in_frame_rel_structure.py index fd988221c..7bac6100f 100644 --- a/netex/models/passenger_journeys_in_frame_rel_structure.py +++ b/netex/models/passenger_journeys_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -17,7 +17,7 @@ class PassengerJourneysInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "passengerJourneysInFrame_RelStructure" - choice: Iterable[ + choice: Sequence[ DatedServiceJourney | ServiceJourney | SpecialService diff --git a/netex/models/path_junctions_in_frame_rel_structure.py b/netex/models/path_junctions_in_frame_rel_structure.py index d66b39f8c..d33166de3 100644 --- a/netex/models/path_junctions_in_frame_rel_structure.py +++ b/netex/models/path_junctions_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class PathJunctionsInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "pathJunctionsInFrame_RelStructure" - path_junction: Iterable[PathJunction] = field( + path_junction: Sequence[PathJunction] = field( default_factory=list, metadata={ "name": "PathJunction", diff --git a/netex/models/path_junctions_rel_structure.py b/netex/models/path_junctions_rel_structure.py index a3f1d1139..40614ee30 100644 --- a/netex/models/path_junctions_rel_structure.py +++ b/netex/models/path_junctions_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -15,7 +15,7 @@ class PathJunctionsRelStructure(ContainmentAggregationStructure): class Meta: name = "pathJunctions_RelStructure" - path_junction_ref_or_path_junction: Iterable[ + path_junction_ref_or_path_junction: Sequence[ PathJunctionRef | PathJunction ] = field( default_factory=list, diff --git a/netex/models/path_link_refs_rel_structure.py b/netex/models/path_link_refs_rel_structure.py index f022c6d93..7116df647 100644 --- a/netex/models/path_link_refs_rel_structure.py +++ b/netex/models/path_link_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .one_to_many_relationship_structure import OneToManyRelationshipStructure @@ -15,7 +15,7 @@ class PathLinkRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "pathLinkRefs_RelStructure" - path_link_ref_or_path_link_ref_by_value: Iterable[ + path_link_ref_or_path_link_ref_by_value: Sequence[ PathLinkRef | PathLinkRefByValue ] = field( default_factory=list, diff --git a/netex/models/path_link_version_structure.py b/netex/models/path_link_version_structure.py index fcd076afc..08105fced 100644 --- a/netex/models/path_link_version_structure.py +++ b/netex/models/path_link_version_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from decimal import Decimal @@ -79,7 +79,7 @@ class Meta: ), }, ) - access_modes: Iterable[AccessModeEnumeration] = field( + access_modes: Sequence[AccessModeEnumeration] = field( default_factory=list, metadata={ "name": "AccessModes", diff --git a/netex/models/path_links_in_frame_rel_structure.py b/netex/models/path_links_in_frame_rel_structure.py index 4a0655733..fdd480cc8 100644 --- a/netex/models/path_links_in_frame_rel_structure.py +++ b/netex/models/path_links_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class PathLinksInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "pathLinksInFrame_RelStructure" - path_link: Iterable[PathLink] = field( + path_link: Sequence[PathLink] = field( default_factory=list, metadata={ "name": "PathLink", diff --git a/netex/models/path_links_in_sequence_rel_structure.py b/netex/models/path_links_in_sequence_rel_structure.py index 9e738867e..2f167a14d 100644 --- a/netex/models/path_links_in_sequence_rel_structure.py +++ b/netex/models/path_links_in_sequence_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .path_link_in_sequence import PathLinkInSequence @@ -16,7 +16,7 @@ class PathLinksInSequenceRelStructure(StrictContainmentAggregationStructure): class Meta: name = "pathLinksInSequence_RelStructure" - path_link_in_sequence: Iterable[PathLinkInSequence] = field( + path_link_in_sequence: Sequence[PathLinkInSequence] = field( default_factory=list, metadata={ "name": "PathLinkInSequence", diff --git a/netex/models/place_equipments_rel_structure.py b/netex/models/place_equipments_rel_structure.py index 36e9b0d82..5b3c53af9 100644 --- a/netex/models/place_equipments_rel_structure.py +++ b/netex/models/place_equipments_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .access_vehicle_equipment import AccessVehicleEquipment @@ -84,7 +84,7 @@ class PlaceEquipmentsRelStructure(ContainmentAggregationStructure): class Meta: name = "placeEquipments_RelStructure" - choice: Iterable[ + choice: Sequence[ PassengerInformationEquipmentRef | CycleStorageEquipmentRef | TrolleyStandEquipmentRef diff --git a/netex/models/place_refs_rel_structure.py b/netex/models/place_refs_rel_structure.py index 01c70a621..870265651 100644 --- a/netex/models/place_refs_rel_structure.py +++ b/netex/models/place_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .one_to_many_relationship_structure import OneToManyRelationshipStructure @@ -14,7 +14,7 @@ class PlaceRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "placeRefs_RelStructure" - place_ref: Iterable[PlaceRef] = field( + place_ref: Sequence[PlaceRef] = field( default_factory=list, metadata={ "name": "PlaceRef", diff --git a/netex/models/places_in_sequence_rel_structure.py b/netex/models/places_in_sequence_rel_structure.py index 4c9244099..2c87189bc 100644 --- a/netex/models/places_in_sequence_rel_structure.py +++ b/netex/models/places_in_sequence_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .place_in_sequence import PlaceInSequence @@ -16,7 +16,7 @@ class PlacesInSequenceRelStructure(StrictContainmentAggregationStructure): class Meta: name = "placesInSequence_RelStructure" - place_in_sequence: Iterable[PlaceInSequence] = field( + place_in_sequence: Sequence[PlaceInSequence] = field( default_factory=list, metadata={ "name": "PlaceInSequence", diff --git a/netex/models/point_array_property_type.py b/netex/models/point_array_property_type.py index b2212871c..9bca51ab0 100644 --- a/netex/models/point_array_property_type.py +++ b/netex/models/point_array_property_type.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .point_1 import Point1 @@ -10,7 +10,7 @@ @dataclass(kw_only=True) class PointArrayPropertyType: - point: Iterable[Point1] = field( + point: Sequence[Point1] = field( default_factory=list, metadata={ "name": "Point", diff --git a/netex/models/point_of_interest_classification_hierarchies_in_frame_rel_structure.py b/netex/models/point_of_interest_classification_hierarchies_in_frame_rel_structure.py index 7405a1a86..eb5ab39bb 100644 --- a/netex/models/point_of_interest_classification_hierarchies_in_frame_rel_structure.py +++ b/netex/models/point_of_interest_classification_hierarchies_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -18,7 +18,7 @@ class PointOfInterestClassificationHierarchiesInFrameRelStructure( class Meta: name = "pointOfInterestClassificationHierarchiesInFrame_RelStructure" - point_of_interest_classification_hierarchy: Iterable[ + point_of_interest_classification_hierarchy: Sequence[ PointOfInterestClassificationHierarchy ] = field( default_factory=list, diff --git a/netex/models/point_of_interest_classification_hierarchy_members_rel_structure.py b/netex/models/point_of_interest_classification_hierarchy_members_rel_structure.py index 8c0fbf202..7a5e88c4b 100644 --- a/netex/models/point_of_interest_classification_hierarchy_members_rel_structure.py +++ b/netex/models/point_of_interest_classification_hierarchy_members_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .point_of_interest_classification_hierarchy_member_structure import ( @@ -20,7 +20,7 @@ class PointOfInterestClassificationHierarchyMembersRelStructure( class Meta: name = "pointOfInterestClassificationHierarchyMembers_RelStructure" - classification_hierarchy_member: Iterable[ + classification_hierarchy_member: Sequence[ PointOfInterestClassificationHierarchyMemberStructure ] = field( default_factory=list, diff --git a/netex/models/point_of_interest_classifications_in_frame_rel_structure.py b/netex/models/point_of_interest_classifications_in_frame_rel_structure.py index 00f974f32..333a8fc50 100644 --- a/netex/models/point_of_interest_classifications_in_frame_rel_structure.py +++ b/netex/models/point_of_interest_classifications_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -16,7 +16,7 @@ class PointOfInterestClassificationsInFrameRelStructure( class Meta: name = "pointOfInterestClassificationsInFrame_RelStructure" - point_of_interest_classification: Iterable[ + point_of_interest_classification: Sequence[ PointOfInterestClassification ] = field( default_factory=list, diff --git a/netex/models/point_of_interest_classifications_views_rel_structure.py b/netex/models/point_of_interest_classifications_views_rel_structure.py index 9f0ab9ba0..0da28fa48 100644 --- a/netex/models/point_of_interest_classifications_views_rel_structure.py +++ b/netex/models/point_of_interest_classifications_views_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .one_to_many_relationship_structure import OneToManyRelationshipStructure @@ -21,7 +21,7 @@ class PointOfInterestClassificationsViewsRelStructure( class Meta: name = "pointOfInterestClassificationsViews_RelStructure" - point_of_interest_classification_ref_or_point_of_interest_classification_view: Iterable[ + point_of_interest_classification_ref_or_point_of_interest_classification_view: Sequence[ PointOfInterestClassificationRef | PointOfInterestClassificationView ] = field( default_factory=list, diff --git a/netex/models/point_of_interest_entrances_rel_structure.py b/netex/models/point_of_interest_entrances_rel_structure.py index dde95e3ea..1ae131f00 100644 --- a/netex/models/point_of_interest_entrances_rel_structure.py +++ b/netex/models/point_of_interest_entrances_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -15,7 +15,7 @@ class PointOfInterestEntrancesRelStructure(ContainmentAggregationStructure): class Meta: name = "pointOfInterestEntrances_RelStructure" - point_of_interest_entrance_ref_or_point_of_interest_entrance: Iterable[ + point_of_interest_entrance_ref_or_point_of_interest_entrance: Sequence[ SiteComponentRefStructure | PointOfInterestEntrance ] = field( default_factory=list, diff --git a/netex/models/point_of_interest_refs_rel_structure.py b/netex/models/point_of_interest_refs_rel_structure.py index 46173c92b..e582e8241 100644 --- a/netex/models/point_of_interest_refs_rel_structure.py +++ b/netex/models/point_of_interest_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .one_to_many_relationship_structure import OneToManyRelationshipStructure @@ -14,7 +14,7 @@ class PointOfInterestRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "pointOfInterestRefs_RelStructure" - point_of_interest_ref: Iterable[PointOfInterestRef] = field( + point_of_interest_ref: Sequence[PointOfInterestRef] = field( default_factory=list, metadata={ "name": "PointOfInterestRef", diff --git a/netex/models/point_of_interest_spaces_rel_structure.py b/netex/models/point_of_interest_spaces_rel_structure.py index 6ca938668..3edc98be5 100644 --- a/netex/models/point_of_interest_spaces_rel_structure.py +++ b/netex/models/point_of_interest_spaces_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -15,7 +15,7 @@ class PointOfInterestSpacesRelStructure(ContainmentAggregationStructure): class Meta: name = "pointOfInterestSpaces_RelStructure" - point_of_interest_space_ref_or_point_of_interest_space: Iterable[ + point_of_interest_space_ref_or_point_of_interest_space: Sequence[ SiteComponentRefStructure | PointOfInterestSpace ] = field( default_factory=list, diff --git a/netex/models/point_on_line_section_versioned_child_structure.py b/netex/models/point_on_line_section_versioned_child_structure.py index 241864be3..df58cd3f9 100644 --- a/netex/models/point_on_line_section_versioned_child_structure.py +++ b/netex/models/point_on_line_section_versioned_child_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .line_section_point_type_enumeration import ( @@ -37,7 +37,7 @@ class Meta: "namespace": "http://www.netex.org.uk/netex", }, ) - connecting_vehicle_modes: Iterable[VehicleModeEnumeration] = field( + connecting_vehicle_modes: Sequence[VehicleModeEnumeration] = field( default_factory=list, metadata={ "name": "ConnectingVehicleModes", diff --git a/netex/models/point_on_line_sections_rel_structure.py b/netex/models/point_on_line_sections_rel_structure.py index 6bfe0ed05..4da124fca 100644 --- a/netex/models/point_on_line_sections_rel_structure.py +++ b/netex/models/point_on_line_sections_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class PointOnLineSectionsRelStructure(ContainmentAggregationStructure): class Meta: name = "pointOnLineSections_RelStructure" - point_on_line_section: Iterable[PointOnLineSection] = field( + point_on_line_section: Sequence[PointOnLineSection] = field( default_factory=list, metadata={ "name": "PointOnLineSection", diff --git a/netex/models/point_refs_rel_structure.py b/netex/models/point_refs_rel_structure.py index 5894d47c8..b7c49c758 100644 --- a/netex/models/point_refs_rel_structure.py +++ b/netex/models/point_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .activation_point_ref import ActivationPointRef @@ -29,7 +29,7 @@ class PointRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "pointRefs_RelStructure" - choice: Iterable[ + choice: Sequence[ VehicleMeetingPointRef | WirePointRef | RoadPointRef diff --git a/netex/models/points_in_journey_pattern_rel_structure.py b/netex/models/points_in_journey_pattern_rel_structure.py index 11c78c445..bb142e5b4 100644 --- a/netex/models/points_in_journey_pattern_rel_structure.py +++ b/netex/models/points_in_journey_pattern_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .point_in_journey_pattern import PointInJourneyPattern @@ -20,7 +20,7 @@ class PointsInJourneyPatternRelStructure( class Meta: name = "pointsInJourneyPattern_RelStructure" - point_in_journey_pattern_or_stop_point_in_journey_pattern_or_timing_point_in_journey_pattern: Iterable[ + point_in_journey_pattern_or_stop_point_in_journey_pattern_or_timing_point_in_journey_pattern: Sequence[ PointInJourneyPattern | StopPointInJourneyPattern | TimingPointInJourneyPattern diff --git a/netex/models/points_of_interest_in_frame_rel_structure.py b/netex/models/points_of_interest_in_frame_rel_structure.py index 118b3f347..972c98258 100644 --- a/netex/models/points_of_interest_in_frame_rel_structure.py +++ b/netex/models/points_of_interest_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class PointsOfInterestInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "pointsOfInterestInFrame_RelStructure" - point_of_interest: Iterable[PointOfInterest] = field( + point_of_interest: Sequence[PointOfInterest] = field( default_factory=list, metadata={ "name": "PointOfInterest", diff --git a/netex/models/points_on_link_in_frame_rel_structure.py b/netex/models/points_on_link_in_frame_rel_structure.py index 0d854a258..6975c3d97 100644 --- a/netex/models/points_on_link_in_frame_rel_structure.py +++ b/netex/models/points_on_link_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class PointsOnLinkInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "pointsOnLinkInFrame_RelStructure" - point_on_link: Iterable[PointOnLink] = field( + point_on_link: Sequence[PointOnLink] = field( default_factory=list, metadata={ "name": "PointOnLink", diff --git a/netex/models/points_on_link_rel_structure.py b/netex/models/points_on_link_rel_structure.py index bdf43d138..591867de2 100644 --- a/netex/models/points_on_link_rel_structure.py +++ b/netex/models/points_on_link_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .line_string_type import LineStringType @@ -17,7 +17,7 @@ class PointsOnLinkRelStructure(StrictContainmentAggregationStructure): class Meta: name = "pointsOnLink_RelStructure" - point_on_link: Iterable[PointOnLink] = field( + point_on_link: Sequence[PointOnLink] = field( default_factory=list, metadata={ "name": "PointOnLink", diff --git a/netex/models/points_on_route_rel_structure.py b/netex/models/points_on_route_rel_structure.py index b6b1d185d..f32cc007d 100644 --- a/netex/models/points_on_route_rel_structure.py +++ b/netex/models/points_on_route_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .point_on_route import PointOnRoute @@ -16,7 +16,7 @@ class PointsOnRouteRelStructure(StrictContainmentAggregationStructure): class Meta: name = "pointsOnRoute_RelStructure" - point_on_route: Iterable[PointOnRoute] = field( + point_on_route: Sequence[PointOnRoute] = field( default_factory=list, metadata={ "name": "PointOnRoute", diff --git a/netex/models/points_on_section_rel_structure.py b/netex/models/points_on_section_rel_structure.py index b0e834f56..bfa5eb830 100644 --- a/netex/models/points_on_section_rel_structure.py +++ b/netex/models/points_on_section_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .point_on_line_section import PointOnLineSection @@ -17,7 +17,7 @@ class PointsOnSectionRelStructure(StrictContainmentAggregationStructure): class Meta: name = "pointsOnSection_RelStructure" - point_on_section: Iterable[PointOnLineSection | PointOnSection] = field( + point_on_section: Sequence[PointOnLineSection | PointOnSection] = field( default_factory=list, metadata={ "type": "Elements", diff --git a/netex/models/polygon_type.py b/netex/models/polygon_type.py index 903e33f92..2b2c27fbe 100644 --- a/netex/models/polygon_type.py +++ b/netex/models/polygon_type.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .abstract_surface_type import AbstractSurfaceType @@ -19,7 +19,7 @@ class PolygonType(AbstractSurfaceType): "namespace": "http://www.opengis.net/gml/3.2", }, ) - interior: Iterable[Interior] = field( + interior: Sequence[Interior] = field( default_factory=list, metadata={ "type": "Element", diff --git a/netex/models/pool_of_vehicles_refs_rel_structure.py b/netex/models/pool_of_vehicles_refs_rel_structure.py index 877e08eda..5b83ae7f3 100644 --- a/netex/models/pool_of_vehicles_refs_rel_structure.py +++ b/netex/models/pool_of_vehicles_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .one_to_many_relationship_structure import OneToManyRelationshipStructure @@ -14,7 +14,7 @@ class PoolOfVehiclesRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "PoolOfVehiclesRefs_RelStructure" - pool_of_vehicles_ref: Iterable[PoolOfVehiclesRef] = field( + pool_of_vehicles_ref: Sequence[PoolOfVehiclesRef] = field( default_factory=list, metadata={ "name": "PoolOfVehiclesRef", diff --git a/netex/models/pool_of_vehicles_rel_structure.py b/netex/models/pool_of_vehicles_rel_structure.py index 47a0b27ac..8657c01a1 100644 --- a/netex/models/pool_of_vehicles_rel_structure.py +++ b/netex/models/pool_of_vehicles_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class PoolOfVehiclesRelStructure(ContainmentAggregationStructure): class Meta: name = "poolOfVehicles_RelStructure" - pool_of_vehicles: Iterable[PoolOfVehicles] = field( + pool_of_vehicles: Sequence[PoolOfVehicles] = field( default_factory=list, metadata={ "name": "PoolOfVehicles", diff --git a/netex/models/previous_calls_rel_structure.py b/netex/models/previous_calls_rel_structure.py index d4a9b3385..04319ae55 100644 --- a/netex/models/previous_calls_rel_structure.py +++ b/netex/models/previous_calls_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .previous_call import PreviousCall @@ -16,7 +16,7 @@ class PreviousCallsRelStructure(StrictContainmentAggregationStructure): class Meta: name = "previousCalls_RelStructure" - previous_call: Iterable[PreviousCall] = field( + previous_call: Sequence[PreviousCall] = field( default_factory=list, metadata={ "name": "PreviousCall", diff --git a/netex/models/price_rule_step_results_rel_structure.py b/netex/models/price_rule_step_results_rel_structure.py index cb3711699..725a31a1c 100644 --- a/netex/models/price_rule_step_results_rel_structure.py +++ b/netex/models/price_rule_step_results_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .price_rule_step_result_structure import PriceRuleStepResultStructure @@ -16,7 +16,7 @@ class PriceRuleStepResultsRelStructure(StrictContainmentAggregationStructure): class Meta: name = "priceRuleStepResults_RelStructure" - rule_step_result: Iterable[PriceRuleStepResultStructure] = field( + rule_step_result: Sequence[PriceRuleStepResultStructure] = field( default_factory=list, metadata={ "name": "RuleStepResult", diff --git a/netex/models/price_unit_refs_rel_structure.py b/netex/models/price_unit_refs_rel_structure.py index dcdf14ca1..3cbe2cc9f 100644 --- a/netex/models/price_unit_refs_rel_structure.py +++ b/netex/models/price_unit_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .one_to_many_relationship_structure import OneToManyRelationshipStructure @@ -14,7 +14,7 @@ class PriceUnitRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "priceUnitRefs_RelStructure" - price_unit_ref: Iterable[PriceUnitRef] = field( + price_unit_ref: Sequence[PriceUnitRef] = field( default_factory=list, metadata={ "name": "PriceUnitRef", diff --git a/netex/models/price_units_rel_structure.py b/netex/models/price_units_rel_structure.py index cf0baaf63..8dec9f0f0 100644 --- a/netex/models/price_units_rel_structure.py +++ b/netex/models/price_units_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -15,7 +15,7 @@ class PriceUnitsRelStructure(ContainmentAggregationStructure): class Meta: name = "priceUnits_RelStructure" - price_unit_ref_or_price_unit: Iterable[PriceUnitRef | PriceUnit] = field( + price_unit_ref_or_price_unit: Sequence[PriceUnitRef | PriceUnit] = field( default_factory=list, metadata={ "type": "Elements", diff --git a/netex/models/priceable_object_refs_rel_structure.py b/netex/models/priceable_object_refs_rel_structure.py index 08278d7a6..7a9f5f667 100644 --- a/netex/models/priceable_object_refs_rel_structure.py +++ b/netex/models/priceable_object_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .additional_driver_option_ref import AdditionalDriverOptionRef @@ -87,7 +87,7 @@ class PriceableObjectRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "priceableObjectRefs_RelStructure" - choice: Iterable[ + choice: Sequence[ CustomerPurchasePackageElementRef | CustomerPurchasePackageRef | ControllableElementRef diff --git a/netex/models/priceable_object_version_structure.py b/netex/models/priceable_object_version_structure.py index 403eb64ff..590c7ecdd 100644 --- a/netex/models/priceable_object_version_structure.py +++ b/netex/models/priceable_object_version_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from typing import Any, ForwardRef @@ -396,7 +396,7 @@ class FarePricesRelStructure(StrictContainmentAggregationStructure): class Meta: name = "farePrices_RelStructure" - fare_price_ref_or_cell_ref_or_fare_price: Iterable[ + fare_price_ref_or_cell_ref_or_fare_price: Sequence[ CustomerPurchasePackagePriceRef | ParkingPriceRef | TimeIntervalPriceRef @@ -628,7 +628,7 @@ class FareTablesRelStructure(StrictContainmentAggregationStructure): class Meta: name = "fareTables_RelStructure" - fare_table_ref_or_fare_table: Iterable[ + fare_table_ref_or_fare_table: Sequence[ StandardFareTableRef | FareTableRef | StandardFareTable @@ -1016,7 +1016,7 @@ class PriceGroupsRelStructure(StrictContainmentAggregationStructure): class Meta: name = "priceGroups_RelStructure" - price_group_ref_or_price_group: Iterable[PriceGroupRef | PriceGroup] = ( + price_group_ref_or_price_group: Sequence[PriceGroupRef | PriceGroup] = ( field( default_factory=list, metadata={ @@ -1330,7 +1330,7 @@ class Meta: ), }, ) - choice_1: Iterable[ + choice_1: Sequence[ CustomerPurchasePackageElementRef | CustomerPurchasePackageRef | ControllableElementRef @@ -2592,7 +2592,7 @@ class CellsRelStructure(StrictContainmentAggregationStructure): class Meta: name = "cells_RelStructure" - choice: Iterable[ + choice: Sequence[ Cell | CellsRelStructure.CellInContext | CustomerPurchasePackagePrice diff --git a/netex/models/pricing_rules_rel_structure.py b/netex/models/pricing_rules_rel_structure.py index 7e9671f72..d9a5c73c0 100644 --- a/netex/models/pricing_rules_rel_structure.py +++ b/netex/models/pricing_rules_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .discounting_rule import DiscountingRule @@ -17,7 +17,7 @@ class PricingRulesRelStructure(FrameContainmentStructure): class Meta: name = "pricingRules_RelStructure" - pricing_rule: Iterable[ + pricing_rule: Sequence[ LimitingRuleInContext | LimitingRule | DiscountingRule | PricingRule ] = field( default_factory=list, diff --git a/netex/models/pricing_services_rel_structure.py b/netex/models/pricing_services_rel_structure.py index ba364c1f9..ad725f4be 100644 --- a/netex/models/pricing_services_rel_structure.py +++ b/netex/models/pricing_services_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .pricing_service import PricingService @@ -16,7 +16,7 @@ class PricingServicesRelStructure(StrictContainmentAggregationStructure): class Meta: name = "pricingServices_RelStructure" - pricing_service: Iterable[PricingService] = field( + pricing_service: Sequence[PricingService] = field( default_factory=list, metadata={ "name": "PricingService", diff --git a/netex/models/projections_rel_structure.py b/netex/models/projections_rel_structure.py index b27034b66..e3d030af9 100644 --- a/netex/models/projections_rel_structure.py +++ b/netex/models/projections_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .complex_feature_projection import ComplexFeatureProjection @@ -25,7 +25,7 @@ class ProjectionsRelStructure(ContainmentAggregationStructure): class Meta: name = "projections_RelStructure" - projection_ref_or_projection: Iterable[ + projection_ref_or_projection: Sequence[ TopographicProjectionRef | ComplexFeatureProjectionRef | LinkSequenceProjectionRef diff --git a/netex/models/properties_of_day_rel_structure.py b/netex/models/properties_of_day_rel_structure.py index d85ead788..53a99d21a 100644 --- a/netex/models/properties_of_day_rel_structure.py +++ b/netex/models/properties_of_day_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .property_of_day import PropertyOfDay @@ -16,7 +16,7 @@ class PropertiesOfDayRelStructure(StrictContainmentAggregationStructure): class Meta: name = "propertiesOfDay_RelStructure" - property_of_day: Iterable[PropertyOfDay] = field( + property_of_day: Sequence[PropertyOfDay] = field( default_factory=list, metadata={ "name": "PropertyOfDay", diff --git a/netex/models/property_of_day_structure.py b/netex/models/property_of_day_structure.py index 905987a44..44ac8faf5 100644 --- a/netex/models/property_of_day_structure.py +++ b/netex/models/property_of_day_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from typing import ForwardRef @@ -37,7 +37,7 @@ class PropertyOfDayStructure: "namespace": "http://www.netex.org.uk/netex", }, ) - days_of_week: Iterable[DayOfWeekEnumeration] = field( + days_of_week: Sequence[DayOfWeekEnumeration] = field( default_factory=list, metadata={ "name": "DaysOfWeek", @@ -46,7 +46,7 @@ class PropertyOfDayStructure: "tokens": True, }, ) - weeks_of_month: Iterable[WeekOfMonthEnumeration] = field( + weeks_of_month: Sequence[WeekOfMonthEnumeration] = field( default_factory=list, metadata={ "name": "WeeksOfMonth", @@ -91,7 +91,7 @@ class PropertyOfDayStructure: "namespace": "http://www.netex.org.uk/netex", }, ) - holiday_types: Iterable[HolidayTypeEnumeration] = field( + holiday_types: Sequence[HolidayTypeEnumeration] = field( default_factory=list, metadata={ "name": "HolidayTypes", @@ -100,7 +100,7 @@ class PropertyOfDayStructure: "tokens": True, }, ) - seasons: Iterable[SeasonEnumeration] = field( + seasons: Sequence[SeasonEnumeration] = field( default_factory=list, metadata={ "name": "Seasons", @@ -109,7 +109,7 @@ class PropertyOfDayStructure: "tokens": True, }, ) - tides: Iterable[TideEnumeration] = field( + tides: Sequence[TideEnumeration] = field( default_factory=list, metadata={ "name": "Tides", diff --git a/netex/models/publication_request_structure.py b/netex/models/publication_request_structure.py index e84ef59f0..5b930292d 100644 --- a/netex/models/publication_request_structure.py +++ b/netex/models/publication_request_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from xsdata.models.datatype import XmlDateTime @@ -78,7 +78,7 @@ class PublicationRequestStructure: @dataclass(kw_only=True) class Topics: - network_frame_topic: Iterable[NetworkFrameTopicStructure] = field( + network_frame_topic: Sequence[NetworkFrameTopicStructure] = field( default_factory=list, metadata={ "name": "NetworkFrameTopic", diff --git a/netex/models/purchase_window_version_structure.py b/netex/models/purchase_window_version_structure.py index ea6c0d475..acc04595f 100644 --- a/netex/models/purchase_window_version_structure.py +++ b/netex/models/purchase_window_version_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from xsdata.models.datatype import XmlDuration, XmlTime @@ -75,7 +75,7 @@ class Meta: "namespace": "http://www.netex.org.uk/netex", }, ) - purchase_moment: Iterable[PurchaseMomentEnumeration] = field( + purchase_moment: Sequence[PurchaseMomentEnumeration] = field( default_factory=list, metadata={ "name": "PurchaseMoment", diff --git a/netex/models/purposes_of_grouping_in_frame_rel_structure.py b/netex/models/purposes_of_grouping_in_frame_rel_structure.py index 94c40f1fe..9c62aaaa6 100644 --- a/netex/models/purposes_of_grouping_in_frame_rel_structure.py +++ b/netex/models/purposes_of_grouping_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class PurposesOfGroupingInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "purposesOfGroupingInFrame_RelStructure" - purpose_of_grouping: Iterable[PurposeOfGrouping] = field( + purpose_of_grouping: Sequence[PurposeOfGrouping] = field( default_factory=list, metadata={ "name": "PurposeOfGrouping", diff --git a/netex/models/quality_structure_factor_prices_rel_structure.py b/netex/models/quality_structure_factor_prices_rel_structure.py index 1a2f52792..154f12054 100644 --- a/netex/models/quality_structure_factor_prices_rel_structure.py +++ b/netex/models/quality_structure_factor_prices_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .cell_ref import CellRef @@ -22,7 +22,7 @@ class QualityStructureFactorPricesRelStructure( class Meta: name = "qualityStructureFactorPrices_RelStructure" - quality_structure_factor_price_ref_or_quality_structure_factor_price_or_cell_ref: Iterable[ + quality_structure_factor_price_ref_or_quality_structure_factor_price_or_cell_ref: Sequence[ QualityStructureFactorPriceRef | QualityStructureFactorPriceVersionedChildStructure | CellRef diff --git a/netex/models/quality_structure_factors_rel_structure.py b/netex/models/quality_structure_factors_rel_structure.py index 1cc6a1c89..0d114e3ce 100644 --- a/netex/models/quality_structure_factors_rel_structure.py +++ b/netex/models/quality_structure_factors_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .fare_demand_factor import FareDemandFactor @@ -23,7 +23,7 @@ class QualityStructureFactorsRelStructure( class Meta: name = "qualityStructureFactors_RelStructure" - quality_structure_factor_ref_or_quality_structure_factor: Iterable[ + quality_structure_factor_ref_or_quality_structure_factor: Sequence[ FareQuotaFactorRef | FareDemandFactorRef | QualityStructureFactorRef diff --git a/netex/models/quay_refs_rel_structure.py b/netex/models/quay_refs_rel_structure.py index f8cb1541b..40e457ae1 100644 --- a/netex/models/quay_refs_rel_structure.py +++ b/netex/models/quay_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .one_to_many_relationship_structure import OneToManyRelationshipStructure @@ -15,7 +15,7 @@ class QuayRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "quayRefs_RelStructure" - quay_ref: Iterable[TaxiStandRef | QuayRef] = field( + quay_ref: Sequence[TaxiStandRef | QuayRef] = field( default_factory=list, metadata={ "type": "Elements", diff --git a/netex/models/quays_rel_structure.py b/netex/models/quays_rel_structure.py index b3a6d44eb..1af2cc743 100644 --- a/netex/models/quays_rel_structure.py +++ b/netex/models/quays_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -16,7 +16,7 @@ class QuaysRelStructure(ContainmentAggregationStructure): class Meta: name = "quays_RelStructure" - taxi_stand_ref_or_quay_ref_or_quay: Iterable[ + taxi_stand_ref_or_quay_ref_or_quay: Sequence[ TaxiStandRef | QuayRef | Quay ] = field( default_factory=list, diff --git a/netex/models/refunding_version_structure.py b/netex/models/refunding_version_structure.py index 0020a553d..cf1c666c1 100644 --- a/netex/models/refunding_version_structure.py +++ b/netex/models/refunding_version_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .partial_refund_basis_enumeration import PartialRefundBasisEnumeration @@ -25,7 +25,7 @@ class Meta: "namespace": "http://www.netex.org.uk/netex", }, ) - refund_policy: Iterable[RefundPolicyEnumeration] = field( + refund_policy: Sequence[RefundPolicyEnumeration] = field( default_factory=list, metadata={ "name": "RefundPolicy", @@ -42,7 +42,7 @@ class Meta: "namespace": "http://www.netex.org.uk/netex", }, ) - payment_method: Iterable[PaymentMethodEnumeration] = field( + payment_method: Sequence[PaymentMethodEnumeration] = field( default_factory=list, metadata={ "name": "PaymentMethod", diff --git a/netex/models/related_organisations_rel_structure.py b/netex/models/related_organisations_rel_structure.py index 2ae2d1c7f..e91c54b7c 100644 --- a/netex/models/related_organisations_rel_structure.py +++ b/netex/models/related_organisations_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class RelatedOrganisationsRelStructure(ContainmentAggregationStructure): class Meta: name = "relatedOrganisations_RelStructure" - related_organisation: Iterable[RelatedOrganisation] = field( + related_organisation: Sequence[RelatedOrganisation] = field( default_factory=list, metadata={ "name": "RelatedOrganisation", diff --git a/netex/models/relief_opportunities_in_frame_rel_structure.py b/netex/models/relief_opportunities_in_frame_rel_structure.py index c5a465e08..0169001ea 100644 --- a/netex/models/relief_opportunities_in_frame_rel_structure.py +++ b/netex/models/relief_opportunities_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class ReliefOpportunitiesInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "reliefOpportunitiesInFrame_RelStructure" - relief_opportunity: Iterable[ReliefOpportunity] = field( + relief_opportunity: Sequence[ReliefOpportunity] = field( default_factory=list, metadata={ "name": "ReliefOpportunity", diff --git a/netex/models/relief_opportunities_rel_structure.py b/netex/models/relief_opportunities_rel_structure.py index 93278ac70..a2e47663f 100644 --- a/netex/models/relief_opportunities_rel_structure.py +++ b/netex/models/relief_opportunities_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -15,7 +15,7 @@ class ReliefOpportunitiesRelStructure(ContainmentAggregationStructure): class Meta: name = "reliefOpportunities_RelStructure" - relief_opportunity_ref_or_relief_opportunity: Iterable[ + relief_opportunity_ref_or_relief_opportunity: Sequence[ ReliefOpportunityRef | ReliefOpportunity ] = field( default_factory=list, diff --git a/netex/models/relief_points_in_frame_rel_structure.py b/netex/models/relief_points_in_frame_rel_structure.py index ae7b1a340..01552e6f7 100644 --- a/netex/models/relief_points_in_frame_rel_structure.py +++ b/netex/models/relief_points_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -16,7 +16,7 @@ class ReliefPointsInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "reliefPointsInFrame_RelStructure" - relief_point_or_parking_point: Iterable[ + relief_point_or_parking_point: Sequence[ ParkingPoint | GaragePoint | ReliefPoint ] = field( default_factory=list, diff --git a/netex/models/reselling_version_structure.py b/netex/models/reselling_version_structure.py index e5b8020df..60ff08327 100644 --- a/netex/models/reselling_version_structure.py +++ b/netex/models/reselling_version_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from decimal import Decimal @@ -164,7 +164,7 @@ class Meta: "namespace": "http://www.netex.org.uk/netex", }, ) - payment_methods: Iterable[PaymentMethodEnumeration] = field( + payment_methods: Sequence[PaymentMethodEnumeration] = field( default_factory=list, metadata={ "name": "PaymentMethods", diff --git a/netex/models/reserved_space_facility_list.py b/netex/models/reserved_space_facility_list.py index ffd12c14c..2b55d2dd3 100644 --- a/netex/models/reserved_space_facility_list.py +++ b/netex/models/reserved_space_facility_list.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .reserved_space_facility_enumeration import ( @@ -15,7 +15,7 @@ class ReservedSpaceFacilityList: class Meta: namespace = "http://www.netex.org.uk/netex" - value: Iterable[ReservedSpaceFacilityEnumeration] = field( + value: Sequence[ReservedSpaceFacilityEnumeration] = field( default_factory=list, metadata={ "tokens": True, diff --git a/netex/models/reserving_version_structure.py b/netex/models/reserving_version_structure.py index 6edcc9042..bf7dc7e53 100644 --- a/netex/models/reserving_version_structure.py +++ b/netex/models/reserving_version_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from xsdata.models.datatype import XmlDuration @@ -22,7 +22,7 @@ class ReservingVersionStructure(BookingPolicyVersionStructure): class Meta: name = "Reserving_VersionStructure" - reserving_requirements: Iterable[ReservationEnumeration] = field( + reserving_requirements: Sequence[ReservationEnumeration] = field( default_factory=list, metadata={ "name": "ReservingRequirements", diff --git a/netex/models/residential_qualifications_rel_structure.py b/netex/models/residential_qualifications_rel_structure.py index 4818b42e1..bf6c49c97 100644 --- a/netex/models/residential_qualifications_rel_structure.py +++ b/netex/models/residential_qualifications_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .one_to_many_relationship_structure import OneToManyRelationshipStructure @@ -15,7 +15,7 @@ class ResidentialQualificationsRelStructure(OneToManyRelationshipStructure): class Meta: name = "residentialQualifications_RelStructure" - residential_qualification_ref_or_residential_qualification: Iterable[ + residential_qualification_ref_or_residential_qualification: Sequence[ ResidentialQualificationRef | ResidentialQualification ] = field( default_factory=list, diff --git a/netex/models/responsibility_role_assignment_versioned_child_structure.py b/netex/models/responsibility_role_assignment_versioned_child_structure.py index 0ab0d622a..b3b5b6f0d 100644 --- a/netex/models/responsibility_role_assignment_versioned_child_structure.py +++ b/netex/models/responsibility_role_assignment_versioned_child_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .data_role_type_enumeration import DataRoleTypeEnumeration @@ -40,7 +40,7 @@ class Meta: "namespace": "http://www.netex.org.uk/netex", }, ) - data_role_type: Iterable[DataRoleTypeEnumeration] = field( + data_role_type: Sequence[DataRoleTypeEnumeration] = field( default_factory=list, metadata={ "name": "DataRoleType", @@ -49,7 +49,7 @@ class Meta: "tokens": True, }, ) - stakeholder_role_type: Iterable[StakeholderRoleTypeEnumeration] = field( + stakeholder_role_type: Sequence[StakeholderRoleTypeEnumeration] = field( default_factory=list, metadata={ "name": "StakeholderRoleType", diff --git a/netex/models/responsibility_role_assignments_rel_structure.py b/netex/models/responsibility_role_assignments_rel_structure.py index cf8406f9c..ca2b3e4fc 100644 --- a/netex/models/responsibility_role_assignments_rel_structure.py +++ b/netex/models/responsibility_role_assignments_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .responsibility_role_assignment import ResponsibilityRoleAssignment @@ -18,7 +18,7 @@ class ResponsibilityRoleAssignmentsRelStructure( class Meta: name = "responsibilityRoleAssignments_RelStructure" - responsibility_role_assignment: Iterable[ResponsibilityRoleAssignment] = ( + responsibility_role_assignment: Sequence[ResponsibilityRoleAssignment] = ( field( default_factory=list, metadata={ diff --git a/netex/models/responsibility_roles_in_frame_rel_structure.py b/netex/models/responsibility_roles_in_frame_rel_structure.py index f2c693522..0b7571992 100644 --- a/netex/models/responsibility_roles_in_frame_rel_structure.py +++ b/netex/models/responsibility_roles_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class ResponsibilityRolesInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "responsibilityRolesInFrame_RelStructure" - responsibility_role: Iterable[ResponsibilityRole] = field( + responsibility_role: Sequence[ResponsibilityRole] = field( default_factory=list, metadata={ "name": "ResponsibilityRole", diff --git a/netex/models/responsibility_roles_rel_structure.py b/netex/models/responsibility_roles_rel_structure.py index 9ede89217..246e50e1e 100644 --- a/netex/models/responsibility_roles_rel_structure.py +++ b/netex/models/responsibility_roles_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -15,7 +15,7 @@ class ResponsibilityRolesRelStructure(ContainmentAggregationStructure): class Meta: name = "ResponsibilityRoles_RelStructure" - responsibility_role_ref_or_responsibility_role: Iterable[ + responsibility_role_ref_or_responsibility_role: Sequence[ ResponsibilityRoleRef | ResponsibilityRole ] = field( default_factory=list, diff --git a/netex/models/responsibility_sets_in_frame_rel_structure.py b/netex/models/responsibility_sets_in_frame_rel_structure.py index 1835f274d..9d87665d2 100644 --- a/netex/models/responsibility_sets_in_frame_rel_structure.py +++ b/netex/models/responsibility_sets_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class ResponsibilitySetsInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "responsibilitySetsInFrame_RelStructure" - responsibility_set: Iterable[ResponsibilitySet] = field( + responsibility_set: Sequence[ResponsibilitySet] = field( default_factory=list, metadata={ "name": "ResponsibilitySet", diff --git a/netex/models/responsibility_sets_rel_structure.py b/netex/models/responsibility_sets_rel_structure.py index 8e7bfd714..8566ad2ec 100644 --- a/netex/models/responsibility_sets_rel_structure.py +++ b/netex/models/responsibility_sets_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -15,7 +15,7 @@ class ResponsibilitySetsRelStructure(ContainmentAggregationStructure): class Meta: name = "responsibilitySets_RelStructure" - responsibility_set_ref_or_responsibility_set: Iterable[ + responsibility_set_ref_or_responsibility_set: Sequence[ ResponsibilitySetRef | ResponsibilitySet ] = field( default_factory=list, diff --git a/netex/models/retail_consortium_refs_rel_structure.py b/netex/models/retail_consortium_refs_rel_structure.py index 4300a5476..ca6267bd0 100644 --- a/netex/models/retail_consortium_refs_rel_structure.py +++ b/netex/models/retail_consortium_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .one_to_many_relationship_structure import OneToManyRelationshipStructure @@ -14,7 +14,7 @@ class RetailConsortiumRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "retailConsortiumRefs_RelStructure" - retail_consortium_ref: Iterable[RetailConsortiumRef] = field( + retail_consortium_ref: Sequence[RetailConsortiumRef] = field( default_factory=list, metadata={ "name": "RetailConsortiumRef", diff --git a/netex/models/retail_consortiums_in_frame_rel_structure.py b/netex/models/retail_consortiums_in_frame_rel_structure.py index f8fcc04e1..27c43b549 100644 --- a/netex/models/retail_consortiums_in_frame_rel_structure.py +++ b/netex/models/retail_consortiums_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .frame_containment_structure import FrameContainmentStructure @@ -14,7 +14,7 @@ class RetailConsortiumsInFrameRelStructure(FrameContainmentStructure): class Meta: name = "retailConsortiumsInFrame_RelStructure" - retail_consortium: Iterable[RetailConsortium] = field( + retail_consortium: Sequence[RetailConsortium] = field( default_factory=list, metadata={ "name": "RetailConsortium", diff --git a/netex/models/retail_consortiums_rel_structure.py b/netex/models/retail_consortiums_rel_structure.py index 4244ba9aa..9403b9eae 100644 --- a/netex/models/retail_consortiums_rel_structure.py +++ b/netex/models/retail_consortiums_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -15,7 +15,7 @@ class RetailConsortiumsRelStructure(ContainmentAggregationStructure): class Meta: name = "retailConsortiums_RelStructure" - retail_consortium_ref_or_retail_consortium: Iterable[ + retail_consortium_ref_or_retail_consortium: Sequence[ RetailConsortiumRef | RetailConsortium ] = field( default_factory=list, diff --git a/netex/models/retail_device_refs_rel_structure.py b/netex/models/retail_device_refs_rel_structure.py index 49ebfd699..dac332793 100644 --- a/netex/models/retail_device_refs_rel_structure.py +++ b/netex/models/retail_device_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .one_to_many_relationship_structure import OneToManyRelationshipStructure @@ -14,7 +14,7 @@ class RetailDeviceRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "retailDeviceRefs_RelStructure" - retail_device_ref: Iterable[RetailDeviceRef] = field( + retail_device_ref: Sequence[RetailDeviceRef] = field( default_factory=list, metadata={ "name": "RetailDeviceRef", diff --git a/netex/models/retail_device_security_listing_refs_rel_structure.py b/netex/models/retail_device_security_listing_refs_rel_structure.py index af8fa3737..177f79ab8 100644 --- a/netex/models/retail_device_security_listing_refs_rel_structure.py +++ b/netex/models/retail_device_security_listing_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .one_to_many_relationship_structure import OneToManyRelationshipStructure @@ -16,7 +16,7 @@ class RetailDeviceSecurityListingRefsRelStructure( class Meta: name = "RetailDeviceSecurityListingRefs_RelStructure" - retail_device_security_listing_ref: Iterable[ + retail_device_security_listing_ref: Sequence[ RetailDeviceSecurityListingRef ] = field( default_factory=list, diff --git a/netex/models/retail_devices_in_frame_rel_structure.py b/netex/models/retail_devices_in_frame_rel_structure.py index fabc4f701..c847e9ca8 100644 --- a/netex/models/retail_devices_in_frame_rel_structure.py +++ b/netex/models/retail_devices_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .frame_containment_structure import FrameContainmentStructure @@ -14,7 +14,7 @@ class RetailDevicesInFrameRelStructure(FrameContainmentStructure): class Meta: name = "retailDevicesInFrame_RelStructure" - retail_device: Iterable[RetailDevice] = field( + retail_device: Sequence[RetailDevice] = field( default_factory=list, metadata={ "name": "RetailDevice", diff --git a/netex/models/retail_devices_rel_structure.py b/netex/models/retail_devices_rel_structure.py index 10e8578c5..32ced2e1e 100644 --- a/netex/models/retail_devices_rel_structure.py +++ b/netex/models/retail_devices_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -15,7 +15,7 @@ class RetailDevicesRelStructure(ContainmentAggregationStructure): class Meta: name = "RetailDevices_RelStructure" - retail_device_ref_or_retail_device: Iterable[ + retail_device_ref_or_retail_device: Sequence[ RetailDeviceRef | RetailDevice ] = field( default_factory=list, diff --git a/netex/models/retail_facility_list.py b/netex/models/retail_facility_list.py index 31df82f31..08dd58046 100644 --- a/netex/models/retail_facility_list.py +++ b/netex/models/retail_facility_list.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .retail_facility_enumeration import RetailFacilityEnumeration @@ -13,7 +13,7 @@ class RetailFacilityList: class Meta: namespace = "http://www.netex.org.uk/netex" - value: Iterable[RetailFacilityEnumeration] = field( + value: Sequence[RetailFacilityEnumeration] = field( default_factory=list, metadata={ "tokens": True, diff --git a/netex/models/retail_service_version_structure.py b/netex/models/retail_service_version_structure.py index 426f9fccc..bb55a9b1c 100644 --- a/netex/models/retail_service_version_structure.py +++ b/netex/models/retail_service_version_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .local_service_version_structure import LocalServiceVersionStructure @@ -14,7 +14,7 @@ class RetailServiceVersionStructure(LocalServiceVersionStructure): class Meta: name = "RetailService_VersionStructure" - service_list: Iterable[RetailServiceEnumeration] = field( + service_list: Sequence[RetailServiceEnumeration] = field( default_factory=list, metadata={ "name": "ServiceList", diff --git a/netex/models/rounding_steps_rel_structure.py b/netex/models/rounding_steps_rel_structure.py index 7343356c1..8739a2eec 100644 --- a/netex/models/rounding_steps_rel_structure.py +++ b/netex/models/rounding_steps_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .rounding_step import RoundingStep @@ -16,7 +16,7 @@ class RoundingStepsRelStructure(StrictContainmentAggregationStructure): class Meta: name = "roundingSteps_RelStructure" - rounding_step: Iterable[RoundingStep] = field( + rounding_step: Sequence[RoundingStep] = field( default_factory=list, metadata={ "name": "RoundingStep", diff --git a/netex/models/roundings_rel_structure.py b/netex/models/roundings_rel_structure.py index 1f6a88c62..546b8485f 100644 --- a/netex/models/roundings_rel_structure.py +++ b/netex/models/roundings_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .frame_containment_structure import FrameContainmentStructure @@ -14,7 +14,7 @@ class RoundingsRelStructure(FrameContainmentStructure): class Meta: name = "roundings_RelStructure" - rounding: Iterable[Rounding] = field( + rounding: Sequence[Rounding] = field( default_factory=list, metadata={ "name": "Rounding", diff --git a/netex/models/route_instructions_rel_structure.py b/netex/models/route_instructions_rel_structure.py index 057e92555..2b1e49058 100644 --- a/netex/models/route_instructions_rel_structure.py +++ b/netex/models/route_instructions_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .route_instruction import RouteInstruction @@ -17,7 +17,7 @@ class RouteInstructionsRelStructure(StrictContainmentAggregationStructure): class Meta: name = "routeInstructions_RelStructure" - route_instruction_ref_or_route_instruction: Iterable[ + route_instruction_ref_or_route_instruction: Sequence[ RouteInstructionRef | RouteInstruction ] = field( default_factory=list, diff --git a/netex/models/route_links_in_frame_rel_structure.py b/netex/models/route_links_in_frame_rel_structure.py index 4f50bff25..a5d46a5bd 100644 --- a/netex/models/route_links_in_frame_rel_structure.py +++ b/netex/models/route_links_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class RouteLinksInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "routeLinksInFrame_RelStructure" - route_link: Iterable[RouteLink] = field( + route_link: Sequence[RouteLink] = field( default_factory=list, metadata={ "name": "RouteLink", diff --git a/netex/models/route_points_in_frame_rel_structure.py b/netex/models/route_points_in_frame_rel_structure.py index fbcfd09eb..ccc928bc1 100644 --- a/netex/models/route_points_in_frame_rel_structure.py +++ b/netex/models/route_points_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class RoutePointsInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "routePointsInFrame_RelStructure" - route_point: Iterable[RoutePoint] = field( + route_point: Sequence[RoutePoint] = field( default_factory=list, metadata={ "name": "RoutePoint", diff --git a/netex/models/route_refs_rel_structure.py b/netex/models/route_refs_rel_structure.py index c278c11cb..4e459e180 100644 --- a/netex/models/route_refs_rel_structure.py +++ b/netex/models/route_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .one_to_many_relationship_structure import OneToManyRelationshipStructure @@ -14,7 +14,7 @@ class RouteRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "routeRefs_RelStructure" - route_ref: Iterable[RouteRef] = field( + route_ref: Sequence[RouteRef] = field( default_factory=list, metadata={ "name": "RouteRef", diff --git a/netex/models/routes_in_frame_rel_structure.py b/netex/models/routes_in_frame_rel_structure.py index 892644960..cf2c697fd 100644 --- a/netex/models/routes_in_frame_rel_structure.py +++ b/netex/models/routes_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -15,7 +15,7 @@ class RoutesInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "routesInFrame_RelStructure" - route: Iterable[FlexibleRoute | Route] = field( + route: Sequence[FlexibleRoute | Route] = field( default_factory=list, metadata={ "type": "Elements", diff --git a/netex/models/routes_rel_structure.py b/netex/models/routes_rel_structure.py index 88f765807..b1e4a3b5b 100644 --- a/netex/models/routes_rel_structure.py +++ b/netex/models/routes_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -15,7 +15,7 @@ class RoutesRelStructure(ContainmentAggregationStructure): class Meta: name = "routes_RelStructure" - route_ref_or_route: Iterable[RouteRef | Route] = field( + route_ref_or_route: Sequence[RouteRef | Route] = field( default_factory=list, metadata={ "type": "Elements", diff --git a/netex/models/routing_constraint_zones_in_frame_rel_structure.py b/netex/models/routing_constraint_zones_in_frame_rel_structure.py index ee60d554c..c6365027e 100644 --- a/netex/models/routing_constraint_zones_in_frame_rel_structure.py +++ b/netex/models/routing_constraint_zones_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -16,7 +16,7 @@ class RoutingConstraintZonesInFrameRelStructure( class Meta: name = "routingConstraintZonesInFrame_RelStructure" - routing_constraint_zone: Iterable[RoutingConstraintZone] = field( + routing_constraint_zone: Sequence[RoutingConstraintZone] = field( default_factory=list, metadata={ "name": "RoutingConstraintZone", diff --git a/netex/models/safety_facility_list.py b/netex/models/safety_facility_list.py index 3cec9a2e8..16585db49 100644 --- a/netex/models/safety_facility_list.py +++ b/netex/models/safety_facility_list.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .safety_facility_enumeration import SafetyFacilityEnumeration @@ -13,7 +13,7 @@ class SafetyFacilityList: class Meta: namespace = "http://www.netex.org.uk/netex" - value: Iterable[SafetyFacilityEnumeration] = field( + value: Sequence[SafetyFacilityEnumeration] = field( default_factory=list, metadata={ "tokens": True, diff --git a/netex/models/sales_offer_package_elements_in_frame_rel_structure.py b/netex/models/sales_offer_package_elements_in_frame_rel_structure.py index 5253d11bb..4cf0677fc 100644 --- a/netex/models/sales_offer_package_elements_in_frame_rel_structure.py +++ b/netex/models/sales_offer_package_elements_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .frame_containment_structure import FrameContainmentStructure @@ -14,7 +14,7 @@ class SalesOfferPackageElementsInFrameRelStructure(FrameContainmentStructure): class Meta: name = "salesOfferPackageElementsInFrame_RelStructure" - sales_offer_package_element: Iterable[SalesOfferPackageElement] = field( + sales_offer_package_element: Sequence[SalesOfferPackageElement] = field( default_factory=list, metadata={ "name": "SalesOfferPackageElement", diff --git a/netex/models/sales_offer_package_elements_rel_structure.py b/netex/models/sales_offer_package_elements_rel_structure.py index 3d881872f..e80f2bf55 100644 --- a/netex/models/sales_offer_package_elements_rel_structure.py +++ b/netex/models/sales_offer_package_elements_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -15,7 +15,7 @@ class SalesOfferPackageElementsRelStructure(ContainmentAggregationStructure): class Meta: name = "salesOfferPackageElements_RelStructure" - sales_offer_package_element_ref_or_sales_offer_package_element: Iterable[ + sales_offer_package_element_ref_or_sales_offer_package_element: Sequence[ SalesOfferPackageElementRef | SalesOfferPackageElement ] = field( default_factory=list, diff --git a/netex/models/sales_offer_package_prices_rel_structure.py b/netex/models/sales_offer_package_prices_rel_structure.py index 244b7afc6..f8fa8a9c8 100644 --- a/netex/models/sales_offer_package_prices_rel_structure.py +++ b/netex/models/sales_offer_package_prices_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .cell_ref import CellRef @@ -22,7 +22,7 @@ class SalesOfferPackagePricesRelStructure( class Meta: name = "salesOfferPackagePrices_RelStructure" - sales_offer_package_price_ref_or_sales_offer_package_price_or_cell_ref: Iterable[ + sales_offer_package_price_ref_or_sales_offer_package_price_or_cell_ref: Sequence[ SalesOfferPackagePriceRef | SalesOfferPackagePriceVersionedChildStructure | CellRef diff --git a/netex/models/sales_offer_package_refs_rel_structure.py b/netex/models/sales_offer_package_refs_rel_structure.py index c25d6f25f..1facb9c89 100644 --- a/netex/models/sales_offer_package_refs_rel_structure.py +++ b/netex/models/sales_offer_package_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .one_to_many_relationship_structure import OneToManyRelationshipStructure @@ -14,7 +14,7 @@ class SalesOfferPackageRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "salesOfferPackageRefs_RelStructure" - sales_offer_package_ref: Iterable[SalesOfferPackageRef] = field( + sales_offer_package_ref: Sequence[SalesOfferPackageRef] = field( default_factory=list, metadata={ "name": "SalesOfferPackageRef", diff --git a/netex/models/sales_offer_package_substitutions_in_frame_rel_structure.py b/netex/models/sales_offer_package_substitutions_in_frame_rel_structure.py index 28b83383f..a491396a6 100644 --- a/netex/models/sales_offer_package_substitutions_in_frame_rel_structure.py +++ b/netex/models/sales_offer_package_substitutions_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .frame_containment_structure import FrameContainmentStructure @@ -16,7 +16,7 @@ class SalesOfferPackageSubstitutionsInFrameRelStructure( class Meta: name = "salesOfferPackageSubstitutionsInFrame_RelStructure" - sales_offer_package_substitution: Iterable[ + sales_offer_package_substitution: Sequence[ SalesOfferPackageSubstitution ] = field( default_factory=list, diff --git a/netex/models/sales_offer_package_substitutions_rel_structure.py b/netex/models/sales_offer_package_substitutions_rel_structure.py index c357bce58..5ffa045c2 100644 --- a/netex/models/sales_offer_package_substitutions_rel_structure.py +++ b/netex/models/sales_offer_package_substitutions_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -19,7 +19,7 @@ class SalesOfferPackageSubstitutionsRelStructure( class Meta: name = "salesOfferPackageSubstitutions_RelStructure" - sales_offer_package_substitution_ref_or_sales_offer_package_substitution: Iterable[ + sales_offer_package_substitution_ref_or_sales_offer_package_substitution: Sequence[ SalesOfferPackageSubstitutionRef | SalesOfferPackageSubstitution ] = field( default_factory=list, diff --git a/netex/models/sales_offer_packages_in_frame_rel_structure.py b/netex/models/sales_offer_packages_in_frame_rel_structure.py index 6f5814372..912c746fe 100644 --- a/netex/models/sales_offer_packages_in_frame_rel_structure.py +++ b/netex/models/sales_offer_packages_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .frame_containment_structure import FrameContainmentStructure @@ -14,7 +14,7 @@ class SalesOfferPackagesInFrameRelStructure(FrameContainmentStructure): class Meta: name = "salesOfferPackagesInFrame_RelStructure" - sales_offer_package: Iterable[SalesOfferPackage] = field( + sales_offer_package: Sequence[SalesOfferPackage] = field( default_factory=list, metadata={ "name": "SalesOfferPackage", diff --git a/netex/models/sales_transaction_refs_rel_structure.py b/netex/models/sales_transaction_refs_rel_structure.py index ad904a6fc..2faa45ee8 100644 --- a/netex/models/sales_transaction_refs_rel_structure.py +++ b/netex/models/sales_transaction_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .one_to_many_relationship_structure import OneToManyRelationshipStructure @@ -14,7 +14,7 @@ class SalesTransactionRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "salesTransactionRefs_RelStructure" - sales_transaction_ref: Iterable[SalesTransactionRef] = field( + sales_transaction_ref: Sequence[SalesTransactionRef] = field( default_factory=list, metadata={ "name": "SalesTransactionRef", diff --git a/netex/models/sales_transactions_in_frame_rel_structure.py b/netex/models/sales_transactions_in_frame_rel_structure.py index 03eeda878..947493fda 100644 --- a/netex/models/sales_transactions_in_frame_rel_structure.py +++ b/netex/models/sales_transactions_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .frame_containment_structure import FrameContainmentStructure @@ -14,7 +14,7 @@ class SalesTransactionsInFrameRelStructure(FrameContainmentStructure): class Meta: name = "salesTransactionsInFrame_RelStructure" - sales_transaction: Iterable[SalesTransaction] = field( + sales_transaction: Sequence[SalesTransaction] = field( default_factory=list, metadata={ "name": "SalesTransaction", diff --git a/netex/models/sales_transactions_rel_structure.py b/netex/models/sales_transactions_rel_structure.py index 8877bdd2b..0f0890de5 100644 --- a/netex/models/sales_transactions_rel_structure.py +++ b/netex/models/sales_transactions_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -15,7 +15,7 @@ class SalesTransactionsRelStructure(ContainmentAggregationStructure): class Meta: name = "salesTransactions_RelStructure" - sales_transaction_ref_or_sales_transaction: Iterable[ + sales_transaction_ref_or_sales_transaction: Sequence[ SalesTransactionRef | SalesTransaction ] = field( default_factory=list, diff --git a/netex/models/sanitary_equipment_version_structure.py b/netex/models/sanitary_equipment_version_structure.py index 24d5d45db..e885236e3 100644 --- a/netex/models/sanitary_equipment_version_structure.py +++ b/netex/models/sanitary_equipment_version_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from decimal import Decimal @@ -81,7 +81,7 @@ class Meta: "pattern": r"[A-Z][A-Z][A-Z]", }, ) - payment_methods: Iterable[PaymentMethodEnumeration] = field( + payment_methods: Sequence[PaymentMethodEnumeration] = field( default_factory=list, metadata={ "name": "PaymentMethods", diff --git a/netex/models/sanitary_facility_list.py b/netex/models/sanitary_facility_list.py index 4e85605eb..49ecb7600 100644 --- a/netex/models/sanitary_facility_list.py +++ b/netex/models/sanitary_facility_list.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .sanitary_facility_enumeration import SanitaryFacilityEnumeration @@ -13,7 +13,7 @@ class SanitaryFacilityList: class Meta: namespace = "http://www.netex.org.uk/netex" - value: Iterable[SanitaryFacilityEnumeration] = field( + value: Sequence[SanitaryFacilityEnumeration] = field( default_factory=list, metadata={ "tokens": True, diff --git a/netex/models/scheduled_stop_point_version_structure.py b/netex/models/scheduled_stop_point_version_structure.py index b3686fb1f..400c27bf4 100644 --- a/netex/models/scheduled_stop_point_version_structure.py +++ b/netex/models/scheduled_stop_point_version_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .country_ref import CountryRef @@ -138,7 +138,7 @@ class Meta: "namespace": "http://www.netex.org.uk/netex", }, ) - vehicle_modes: Iterable[VehicleModeEnumeration] = field( + vehicle_modes: Sequence[VehicleModeEnumeration] = field( default_factory=list, metadata={ "name": "VehicleModes", diff --git a/netex/models/scheduled_stop_points_in_frame_rel_structure.py b/netex/models/scheduled_stop_points_in_frame_rel_structure.py index 75cf151bd..b741a6755 100644 --- a/netex/models/scheduled_stop_points_in_frame_rel_structure.py +++ b/netex/models/scheduled_stop_points_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class ScheduledStopPointsInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "scheduledStopPointsInFrame_RelStructure" - scheduled_stop_point: Iterable[ScheduledStopPoint] = field( + scheduled_stop_point: Sequence[ScheduledStopPoint] = field( default_factory=list, metadata={ "name": "ScheduledStopPoint", diff --git a/netex/models/schematic_map_members_rel_structure.py b/netex/models/schematic_map_members_rel_structure.py index 3fe654ee5..883f1c7e8 100644 --- a/netex/models/schematic_map_members_rel_structure.py +++ b/netex/models/schematic_map_members_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .schematic_map_member_versioned_child_structure import ( @@ -18,7 +18,7 @@ class SchematicMapMembersRelStructure(StrictContainmentAggregationStructure): class Meta: name = "schematicMapMembers_RelStructure" - schematic_map_member: Iterable[ + schematic_map_member: Sequence[ SchematicMapMemberVersionedChildStructure ] = field( default_factory=list, diff --git a/netex/models/schematic_maps_in_frame_rel_structure.py b/netex/models/schematic_maps_in_frame_rel_structure.py index 1fa7dc0f2..2717bd83b 100644 --- a/netex/models/schematic_maps_in_frame_rel_structure.py +++ b/netex/models/schematic_maps_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class SchematicMapsInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "schematicMapsInFrame_RelStructure" - schematic_map: Iterable[SchematicMap] = field( + schematic_map: Sequence[SchematicMap] = field( default_factory=list, metadata={ "name": "SchematicMap", diff --git a/netex/models/scope_of_ticket_list.py b/netex/models/scope_of_ticket_list.py index 3a38bd441..0f8711671 100644 --- a/netex/models/scope_of_ticket_list.py +++ b/netex/models/scope_of_ticket_list.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .scope_of_ticket_enumeration import ScopeOfTicketEnumeration @@ -13,7 +13,7 @@ class ScopeOfTicketList: class Meta: namespace = "http://www.netex.org.uk/netex" - value: Iterable[ScopeOfTicketEnumeration] = field( + value: Sequence[ScopeOfTicketEnumeration] = field( default_factory=list, metadata={ "tokens": True, diff --git a/netex/models/sections_in_sequence_rel_structure.py b/netex/models/sections_in_sequence_rel_structure.py index c56b7766d..f1c3dee7e 100644 --- a/netex/models/sections_in_sequence_rel_structure.py +++ b/netex/models/sections_in_sequence_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from decimal import Decimal @@ -79,7 +79,7 @@ class SectionsInSequenceRelStructure(StrictContainmentAggregationStructure): class Meta: name = "sectionsInSequence_RelStructure" - section_in_sequence: Iterable[SectionInSequence] = field( + section_in_sequence: Sequence[SectionInSequence] = field( default_factory=list, metadata={ "name": "SectionInSequence", diff --git a/netex/models/security_listing_refs_rel_structure.py b/netex/models/security_listing_refs_rel_structure.py index adc0435c6..7c2c3ffc1 100644 --- a/netex/models/security_listing_refs_rel_structure.py +++ b/netex/models/security_listing_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .customer_account_security_listing_ref import ( @@ -25,7 +25,7 @@ class SecurityListingRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "SecurityListingRefs_RelStructure" - security_listing_ref: Iterable[ + security_listing_ref: Sequence[ TravelDocumentSecurityListingRef | MediumAccessDeviceSecurityListingRef | RetailDeviceSecurityListingRef diff --git a/netex/models/security_listings_rel_structure.py b/netex/models/security_listings_rel_structure.py index 89f45a3bf..5b0c7aa0e 100644 --- a/netex/models/security_listings_rel_structure.py +++ b/netex/models/security_listings_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -21,7 +21,7 @@ class SecurityListingsRelStructure(ContainmentAggregationStructure): class Meta: name = "securityListings_RelStructure" - security_listing: Iterable[ + security_listing: Sequence[ MediumAccessDeviceSecurityListing | TravelDocumentSecurityListing | RetailDeviceSecurityListing diff --git a/netex/models/security_lists_rel_structure.py b/netex/models/security_lists_rel_structure.py index fb8d09cbe..c20761851 100644 --- a/netex/models/security_lists_rel_structure.py +++ b/netex/models/security_lists_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .blacklist_ref import BlacklistRef @@ -15,7 +15,7 @@ class SecurityListsRelStructure(ContainmentAggregationStructure): class Meta: name = "securityLists_RelStructure" - security_list_ref: Iterable[WhitelistRef | BlacklistRef] = field( + security_list_ref: Sequence[WhitelistRef | BlacklistRef] = field( default_factory=list, metadata={ "type": "Elements", diff --git a/netex/models/securitylist_refs_rel_structure.py b/netex/models/securitylist_refs_rel_structure.py index 01c1f3f49..098f6d814 100644 --- a/netex/models/securitylist_refs_rel_structure.py +++ b/netex/models/securitylist_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .blacklist_ref import BlacklistRef @@ -15,7 +15,7 @@ class SecuritylistRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "securitylistRefs_RelStructure" - security_list_ref: Iterable[WhitelistRef | BlacklistRef] = field( + security_list_ref: Sequence[WhitelistRef | BlacklistRef] = field( default_factory=list, metadata={ "type": "Elements", diff --git a/netex/models/series_constraint_prices_rel_structure.py b/netex/models/series_constraint_prices_rel_structure.py index de4096071..6b47bf5c3 100644 --- a/netex/models/series_constraint_prices_rel_structure.py +++ b/netex/models/series_constraint_prices_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .cell_ref import CellRef @@ -22,7 +22,7 @@ class SeriesConstraintPricesRelStructure( class Meta: name = "seriesConstraintPrices_RelStructure" - series_constraint_price_ref_or_series_constraint_price_or_cell_ref: Iterable[ + series_constraint_price_ref_or_series_constraint_price_or_cell_ref: Sequence[ SeriesConstraintPriceRef | SeriesConstraintPriceVersionedChildStructure | CellRef diff --git a/netex/models/series_constraint_refs_rel_structure.py b/netex/models/series_constraint_refs_rel_structure.py index 9b0a88378..39ca0c2c0 100644 --- a/netex/models/series_constraint_refs_rel_structure.py +++ b/netex/models/series_constraint_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .one_to_many_relationship_structure import OneToManyRelationshipStructure @@ -14,7 +14,7 @@ class SeriesConstraintRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "seriesConstraintRefs_RelStructure" - series_constraint_ref: Iterable[SeriesConstraintRef] = field( + series_constraint_ref: Sequence[SeriesConstraintRef] = field( default_factory=list, metadata={ "name": "SeriesConstraintRef", diff --git a/netex/models/series_constraint_version_structure.py b/netex/models/series_constraint_version_structure.py index b9035e1a1..51447e251 100644 --- a/netex/models/series_constraint_version_structure.py +++ b/netex/models/series_constraint_version_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from decimal import Decimal @@ -118,7 +118,7 @@ class Meta: "namespace": "http://www.netex.org.uk/netex", }, ) - fare_points_in_pattern: Iterable[FarePointsInPatternRelStructure] = field( + fare_points_in_pattern: Sequence[FarePointsInPatternRelStructure] = field( default_factory=list, metadata={ "name": "farePointsInPattern", @@ -126,7 +126,7 @@ class Meta: "namespace": "http://www.netex.org.uk/netex", }, ) - journey_patterns: Iterable[JourneyPatternRefsRelStructure] = field( + journey_patterns: Sequence[JourneyPatternRefsRelStructure] = field( default_factory=list, metadata={ "name": "journeyPatterns", @@ -134,14 +134,14 @@ class Meta: "namespace": "http://www.netex.org.uk/netex", }, ) - prices: Iterable[SeriesConstraintPricesRelStructure] = field( + prices: Sequence[SeriesConstraintPricesRelStructure] = field( default_factory=list, metadata={ "type": "Element", "namespace": "http://www.netex.org.uk/netex", }, ) - replaces: Iterable[SeriesConstraintRefsRelStructure] = field( + replaces: Sequence[SeriesConstraintRefsRelStructure] = field( default_factory=list, metadata={ "type": "Element", diff --git a/netex/models/series_constraints_rel_structure.py b/netex/models/series_constraints_rel_structure.py index be6e432fc..915e5b1b5 100644 --- a/netex/models/series_constraints_rel_structure.py +++ b/netex/models/series_constraints_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -15,7 +15,7 @@ class SeriesConstraintsRelStructure(ContainmentAggregationStructure): class Meta: name = "SeriesConstraints_RelStructure" - series_constraint_ref_or_series_constraint: Iterable[ + series_constraint_ref_or_series_constraint: Sequence[ SeriesConstraintRef | SeriesConstraint ] = field( default_factory=list, diff --git a/netex/models/service_access_right_refs_rel_structure.py b/netex/models/service_access_right_refs_rel_structure.py index a287d5d6b..d15ea1fee 100644 --- a/netex/models/service_access_right_refs_rel_structure.py +++ b/netex/models/service_access_right_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .amount_of_price_unit_product_ref import AmountOfPriceUnitProductRef @@ -23,7 +23,7 @@ class ServiceAccessRightRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "serviceAccessRightRefs_RelStructure" - choice: Iterable[ + choice: Sequence[ EntitlementProductRef | SupplementProductRef | PreassignedFareProductRef diff --git a/netex/models/service_delivery_body_structure.py b/netex/models/service_delivery_body_structure.py index 7606d5c2f..87179b7de 100644 --- a/netex/models/service_delivery_body_structure.py +++ b/netex/models/service_delivery_body_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .capability_not_supported_error import CapabilityNotSupportedError @@ -39,7 +39,7 @@ class ServiceDeliveryBodyStructure: "namespace": "http://www.siri.org.uk/siri", }, ) - data_object_delivery: Iterable[DataObjectDelivery] = field( + data_object_delivery: Sequence[DataObjectDelivery] = field( default_factory=list, metadata={ "name": "DataObjectDelivery", diff --git a/netex/models/service_delivery_structure.py b/netex/models/service_delivery_structure.py index f0f0fc2b9..f45ba0196 100644 --- a/netex/models/service_delivery_structure.py +++ b/netex/models/service_delivery_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .capability_not_supported_error import CapabilityNotSupportedError @@ -38,7 +38,7 @@ class ServiceDeliveryStructure(ProducerResponseStructure): "namespace": "http://www.siri.org.uk/siri", }, ) - data_object_delivery: Iterable[DataObjectDelivery] = field( + data_object_delivery: Sequence[DataObjectDelivery] = field( default_factory=list, metadata={ "name": "DataObjectDelivery", diff --git a/netex/models/service_exclusions_in_frame_rel_structure.py b/netex/models/service_exclusions_in_frame_rel_structure.py index ee77c0ddb..4d0edd130 100644 --- a/netex/models/service_exclusions_in_frame_rel_structure.py +++ b/netex/models/service_exclusions_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class ServiceExclusionsInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "serviceExclusionsInFrame_RelStructure" - service_exclusion: Iterable[ServiceExclusion] = field( + service_exclusion: Sequence[ServiceExclusion] = field( default_factory=list, metadata={ "name": "ServiceExclusion", diff --git a/netex/models/service_facility_sets_in_frame_rel_structure.py b/netex/models/service_facility_sets_in_frame_rel_structure.py index 62196e770..c5edd4921 100644 --- a/netex/models/service_facility_sets_in_frame_rel_structure.py +++ b/netex/models/service_facility_sets_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class ServiceFacilitySetsInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "serviceFacilitySetsInFrame_RelStructure" - service_facility_set: Iterable[ServiceFacilitySet] = field( + service_facility_set: Sequence[ServiceFacilitySet] = field( default_factory=list, metadata={ "name": "ServiceFacilitySet", diff --git a/netex/models/service_facility_sets_rel_structure.py b/netex/models/service_facility_sets_rel_structure.py index a8efc5b99..580408565 100644 --- a/netex/models/service_facility_sets_rel_structure.py +++ b/netex/models/service_facility_sets_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -15,7 +15,7 @@ class ServiceFacilitySetsRelStructure(ContainmentAggregationStructure): class Meta: name = "serviceFacilitySets_RelStructure" - service_facility_set_ref_or_service_facility_set: Iterable[ + service_facility_set_ref_or_service_facility_set: Sequence[ ServiceFacilitySetRef | ServiceFacilitySet ] = field( default_factory=list, diff --git a/netex/models/service_journey_interchanges_rel_structure.py b/netex/models/service_journey_interchanges_rel_structure.py index 8dac4f2a8..8ab68574e 100644 --- a/netex/models/service_journey_interchanges_rel_structure.py +++ b/netex/models/service_journey_interchanges_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .service_journey_interchange import ServiceJourneyInterchange @@ -20,7 +20,7 @@ class ServiceJourneyInterchangesRelStructure( class Meta: name = "serviceJourneyInterchanges_RelStructure" - service_journey_interchange_ref_or_service_journey_interchange_or_service_journey_interchange_view: Iterable[ + service_journey_interchange_ref_or_service_journey_interchange_or_service_journey_interchange_view: Sequence[ ServiceJourneyInterchangeRef | ServiceJourneyInterchange | ServiceJourneyInterchangeView diff --git a/netex/models/service_links_in_frame_rel_structure.py b/netex/models/service_links_in_frame_rel_structure.py index e000efa90..cf860539b 100644 --- a/netex/models/service_links_in_frame_rel_structure.py +++ b/netex/models/service_links_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class ServiceLinksInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "serviceLinksInFrame_RelStructure" - service_link: Iterable[ServiceLink] = field( + service_link: Sequence[ServiceLink] = field( default_factory=list, metadata={ "name": "ServiceLink", diff --git a/netex/models/service_links_in_journey_pattern_rel_structure.py b/netex/models/service_links_in_journey_pattern_rel_structure.py index 81097eaca..fcfd2b14a 100644 --- a/netex/models/service_links_in_journey_pattern_rel_structure.py +++ b/netex/models/service_links_in_journey_pattern_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .service_link_in_journey_pattern import ServiceLinkInJourneyPattern @@ -18,7 +18,7 @@ class ServiceLinksInJourneyPatternRelStructure( class Meta: name = "serviceLinksInJourneyPattern_RelStructure" - service_link_in_journey_pattern: Iterable[ServiceLinkInJourneyPattern] = ( + service_link_in_journey_pattern: Sequence[ServiceLinkInJourneyPattern] = ( field( default_factory=list, metadata={ diff --git a/netex/models/service_patterns_in_frame_rel_structure.py b/netex/models/service_patterns_in_frame_rel_structure.py index 092c134d6..fcdf686f2 100644 --- a/netex/models/service_patterns_in_frame_rel_structure.py +++ b/netex/models/service_patterns_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class ServicePatternsInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "servicePatternsInFrame_RelStructure" - service_pattern: Iterable[ServicePattern] = field( + service_pattern: Sequence[ServicePattern] = field( default_factory=list, metadata={ "name": "ServicePattern", diff --git a/netex/models/service_request.py b/netex/models/service_request.py index e977e6005..002adc2b4 100644 --- a/netex/models/service_request.py +++ b/netex/models/service_request.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .data_object_request import DataObjectRequest @@ -14,7 +14,7 @@ class ServiceRequest(ServiceRequestStructure): class Meta: namespace = "http://www.siri.org.uk/siri" - data_object_request: Iterable[DataObjectRequest] = field( + data_object_request: Sequence[DataObjectRequest] = field( default_factory=list, metadata={ "name": "DataObjectRequest", diff --git a/netex/models/service_reservation_facility_list.py b/netex/models/service_reservation_facility_list.py index e5cacb8cc..76efdaec7 100644 --- a/netex/models/service_reservation_facility_list.py +++ b/netex/models/service_reservation_facility_list.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .reservation_enumeration import ReservationEnumeration @@ -13,7 +13,7 @@ class ServiceReservationFacilityList: class Meta: namespace = "http://www.netex.org.uk/netex" - value: Iterable[ReservationEnumeration] = field( + value: Sequence[ReservationEnumeration] = field( default_factory=list, metadata={ "tokens": True, diff --git a/netex/models/simple_vehicle_type_refs_rel_structure.py b/netex/models/simple_vehicle_type_refs_rel_structure.py index 134ee8947..c48cae4a3 100644 --- a/netex/models/simple_vehicle_type_refs_rel_structure.py +++ b/netex/models/simple_vehicle_type_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .one_to_many_relationship_structure import OneToManyRelationshipStructure @@ -14,7 +14,7 @@ class SimpleVehicleTypeRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "simpleVehicleTypeRefs_RelStructure" - simple_vehicle_type_ref: Iterable[SimpleVehicleTypeRef] = field( + simple_vehicle_type_ref: Sequence[SimpleVehicleTypeRef] = field( default_factory=list, metadata={ "name": "SimpleVehicleTypeRef", diff --git a/netex/models/single_journey_paths_rel_structure.py b/netex/models/single_journey_paths_rel_structure.py index fe81bce4e..1d97fb108 100644 --- a/netex/models/single_journey_paths_rel_structure.py +++ b/netex/models/single_journey_paths_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class SingleJourneyPathsRelStructure(ContainmentAggregationStructure): class Meta: name = "singleJourneyPaths_RelStructure" - single_journey_path: Iterable[SingleJourneyPath] = field( + single_journey_path: Sequence[SingleJourneyPath] = field( default_factory=list, metadata={ "name": "SingleJourneyPath", diff --git a/netex/models/single_journeys_rel_structure.py b/netex/models/single_journeys_rel_structure.py index d7254df53..a99f4de77 100644 --- a/netex/models/single_journeys_rel_structure.py +++ b/netex/models/single_journeys_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class SingleJourneysRelStructure(ContainmentAggregationStructure): class Meta: name = "singleJourneys_RelStructure" - single_journey: Iterable[SingleJourney] = field( + single_journey: Sequence[SingleJourney] = field( default_factory=list, metadata={ "name": "SingleJourney", diff --git a/netex/models/site_connection_end_structure.py b/netex/models/site_connection_end_structure.py index 2c87869d5..2dbf06815 100644 --- a/netex/models/site_connection_end_structure.py +++ b/netex/models/site_connection_end_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .access_space_ref import AccessSpaceRef @@ -73,7 +73,7 @@ class SiteConnectionEndStructure: ), }, ) - choice: Iterable[ + choice: Sequence[ TaxiRankRef | StopPlaceRef | AccessSpaceRef diff --git a/netex/models/site_element_version_structure.py b/netex/models/site_element_version_structure.py index e2c0d8bd9..cf789f9b2 100644 --- a/netex/models/site_element_version_structure.py +++ b/netex/models/site_element_version_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .access_mode_enumeration import AccessModeEnumeration @@ -33,7 +33,7 @@ class Meta: "namespace": "http://www.netex.org.uk/netex", }, ) - access_modes: Iterable[AccessModeEnumeration] = field( + access_modes: Sequence[AccessModeEnumeration] = field( default_factory=list, metadata={ "name": "AccessModes", diff --git a/netex/models/site_entrances_rel_structure.py b/netex/models/site_entrances_rel_structure.py index 32bdbf6f9..8cc90e291 100644 --- a/netex/models/site_entrances_rel_structure.py +++ b/netex/models/site_entrances_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -31,7 +31,7 @@ class SiteEntrancesRelStructure(ContainmentAggregationStructure): class Meta: name = "siteEntrances_RelStructure" - entrance_ref_or_parking_entrance_ref_or_entrance: Iterable[ + entrance_ref_or_parking_entrance_ref_or_entrance: Sequence[ StopPlaceVehicleEntranceRef | StopPlaceEntranceRef | ParkingEntranceForVehiclesRef diff --git a/netex/models/site_facility_sets_in_frame_rel_structure.py b/netex/models/site_facility_sets_in_frame_rel_structure.py index b4a74169b..a41dc1240 100644 --- a/netex/models/site_facility_sets_in_frame_rel_structure.py +++ b/netex/models/site_facility_sets_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class SiteFacilitySetsInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "siteFacilitySetsInFrame_RelStructure" - site_facility_set: Iterable[SiteFacilitySet] = field( + site_facility_set: Sequence[SiteFacilitySet] = field( default_factory=list, metadata={ "name": "SiteFacilitySet", diff --git a/netex/models/site_facility_sets_rel_structure.py b/netex/models/site_facility_sets_rel_structure.py index f78325190..b9064a275 100644 --- a/netex/models/site_facility_sets_rel_structure.py +++ b/netex/models/site_facility_sets_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -15,7 +15,7 @@ class SiteFacilitySetsRelStructure(ContainmentAggregationStructure): class Meta: name = "siteFacilitySets_RelStructure" - site_facility_set_ref_or_site_facility_set: Iterable[ + site_facility_set_ref_or_site_facility_set: Sequence[ SiteFacilitySetRef | SiteFacilitySet ] = field( default_factory=list, diff --git a/netex/models/site_path_links_rel_structure.py b/netex/models/site_path_links_rel_structure.py index d46781e19..f6cda9090 100644 --- a/netex/models/site_path_links_rel_structure.py +++ b/netex/models/site_path_links_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -15,7 +15,7 @@ class SitePathLinksRelStructure(ContainmentAggregationStructure): class Meta: name = "sitePathLinks_RelStructure" - path_link_ref_or_site_path_link: Iterable[PathLinkRef | SitePathLink] = ( + path_link_ref_or_site_path_link: Sequence[PathLinkRef | SitePathLink] = ( field( default_factory=list, metadata={ diff --git a/netex/models/site_refs_rel_structure.py b/netex/models/site_refs_rel_structure.py index 9c970b34f..797ed5db9 100644 --- a/netex/models/site_refs_rel_structure.py +++ b/netex/models/site_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .one_to_many_relationship_structure import OneToManyRelationshipStructure @@ -19,7 +19,7 @@ class SiteRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "siteRefs_RelStructure" - stop_place_ref_or_site_ref: Iterable[ + stop_place_ref_or_site_ref: Sequence[ TaxiRankRef | StopPlaceRef | ParkingRef diff --git a/netex/models/spatial_features_in_frame_rel_structure.py b/netex/models/spatial_features_in_frame_rel_structure.py index 583a45407..f01465561 100644 --- a/netex/models/spatial_features_in_frame_rel_structure.py +++ b/netex/models/spatial_features_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .complex_feature import ComplexFeature @@ -15,7 +15,7 @@ class SpatialFeaturesInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "spatialFeaturesInFrame_RelStructure" - simple_feature_or_complex_feature: Iterable[ + simple_feature_or_complex_feature: Sequence[ SimpleFeature | ComplexFeature ] = field( default_factory=list, diff --git a/netex/models/special_service_version_structure.py b/netex/models/special_service_version_structure.py index 6e030a183..5bae87fb7 100644 --- a/netex/models/special_service_version_structure.py +++ b/netex/models/special_service_version_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from xsdata.models.datatype import XmlDuration, XmlTime @@ -213,7 +213,7 @@ class Meta: "namespace": "http://www.netex.org.uk/netex", }, ) - booking_methods: Iterable[BookingMethodEnumeration] = field( + booking_methods: Sequence[BookingMethodEnumeration] = field( default_factory=list, metadata={ "name": "BookingMethods", @@ -238,7 +238,7 @@ class Meta: "namespace": "http://www.netex.org.uk/netex", }, ) - buy_when: Iterable[PurchaseMomentEnumeration] = field( + buy_when: Sequence[PurchaseMomentEnumeration] = field( default_factory=list, metadata={ "name": "BuyWhen", diff --git a/netex/models/special_services_rel_structure.py b/netex/models/special_services_rel_structure.py index 877624dd1..610a58277 100644 --- a/netex/models/special_services_rel_structure.py +++ b/netex/models/special_services_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -16,7 +16,7 @@ class SpecialServicesRelStructure(ContainmentAggregationStructure): class Meta: name = "specialServices_RelStructure" - dated_special_service_ref_or_special_service_ref_or_special_service: Iterable[ + dated_special_service_ref_or_special_service_ref_or_special_service: Sequence[ DatedSpecialServiceRef | SpecialServiceRef | SpecialService ] = field( default_factory=list, diff --git a/netex/models/specific_parameter_assignments_rel_structure.py b/netex/models/specific_parameter_assignments_rel_structure.py index e51afb659..f1e5b4563 100644 --- a/netex/models/specific_parameter_assignments_rel_structure.py +++ b/netex/models/specific_parameter_assignments_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -22,7 +22,7 @@ class SpecificParameterAssignmentsRelStructure( class Meta: name = "specificParameterAssignments_RelStructure" - specific_parameter_assignment: Iterable[SpecificParameterAssignment] = ( + specific_parameter_assignment: Sequence[SpecificParameterAssignment] = ( field( default_factory=list, metadata={ diff --git a/netex/models/stair_flights_rel_structure.py b/netex/models/stair_flights_rel_structure.py index 1cbbcd2ca..53d08dd18 100644 --- a/netex/models/stair_flights_rel_structure.py +++ b/netex/models/stair_flights_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .stair_flight import StairFlight @@ -16,7 +16,7 @@ class StairFlightsRelStructure(StrictContainmentAggregationStructure): class Meta: name = "stairFlights_RelStructure" - stair_flight: Iterable[StairFlight] = field( + stair_flight: Sequence[StairFlight] = field( default_factory=list, metadata={ "name": "StairFlight", diff --git a/netex/models/standard_fare_table_refs_rel_structure.py b/netex/models/standard_fare_table_refs_rel_structure.py index decba2120..aac1c181d 100644 --- a/netex/models/standard_fare_table_refs_rel_structure.py +++ b/netex/models/standard_fare_table_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .one_to_many_relationship_structure import OneToManyRelationshipStructure @@ -14,7 +14,7 @@ class StandardFareTableRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "StandardFareTableRefs_RelStructure" - standard_fare_table_ref: Iterable[StandardFareTableRef] = field( + standard_fare_table_ref: Sequence[StandardFareTableRef] = field( default_factory=list, metadata={ "name": "StandardFareTableRef", diff --git a/netex/models/start_time_at_stop_points_rel_structure.py b/netex/models/start_time_at_stop_points_rel_structure.py index 1793b0ebf..4ab8729d4 100644 --- a/netex/models/start_time_at_stop_points_rel_structure.py +++ b/netex/models/start_time_at_stop_points_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .start_time_at_stop_point import StartTimeAtStopPoint @@ -17,7 +17,7 @@ class StartTimeAtStopPointsRelStructure(StrictContainmentAggregationStructure): class Meta: name = "startTimeAtStopPoints_RelStructure" - start_time_at_stop_point_ref_or_start_time_at_stop_point: Iterable[ + start_time_at_stop_point_ref_or_start_time_at_stop_point: Sequence[ StartTimeAtStopPointRef | StartTimeAtStopPoint ] = field( default_factory=list, diff --git a/netex/models/stop_area_refs_rel_structure.py b/netex/models/stop_area_refs_rel_structure.py index d792acebb..30b7a259a 100644 --- a/netex/models/stop_area_refs_rel_structure.py +++ b/netex/models/stop_area_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .one_to_many_relationship_structure import OneToManyRelationshipStructure @@ -14,7 +14,7 @@ class StopAreaRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "stopAreaRefs_RelStructure" - stop_area_ref: Iterable[StopAreaRefStructure] = field( + stop_area_ref: Sequence[StopAreaRefStructure] = field( default_factory=list, metadata={ "name": "StopAreaRef", diff --git a/netex/models/stop_areas_in_frame_rel_structure.py b/netex/models/stop_areas_in_frame_rel_structure.py index b6fd0d791..981670fe0 100644 --- a/netex/models/stop_areas_in_frame_rel_structure.py +++ b/netex/models/stop_areas_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class StopAreasInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "stopAreasInFrame_RelStructure" - stop_area: Iterable[StopArea] = field( + stop_area: Sequence[StopArea] = field( default_factory=list, metadata={ "name": "StopArea", diff --git a/netex/models/stop_assignments_in_frame_rel_structure.py b/netex/models/stop_assignments_in_frame_rel_structure.py index f1763eb6c..cdcecda26 100644 --- a/netex/models/stop_assignments_in_frame_rel_structure.py +++ b/netex/models/stop_assignments_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -19,7 +19,7 @@ class StopAssignmentsInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "stopAssignmentsInFrame_RelStructure" - stop_assignment: Iterable[ + stop_assignment: Sequence[ VehicleJourneyStopAssignment | FlexibleStopAssignment | NavigationPathAssignment diff --git a/netex/models/stop_place_component_version_structure.py b/netex/models/stop_place_component_version_structure.py index 9b89fec0f..ea0307732 100644 --- a/netex/models/stop_place_component_version_structure.py +++ b/netex/models/stop_place_component_version_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .air_submode import AirSubmode @@ -158,7 +158,7 @@ class Meta: ), }, ) - other_transport_modes: Iterable[VehicleModeEnumeration] = field( + other_transport_modes: Sequence[VehicleModeEnumeration] = field( default_factory=list, metadata={ "name": "OtherTransportModes", diff --git a/netex/models/stop_place_entrance_version_structure.py b/netex/models/stop_place_entrance_version_structure.py index 0a601ade8..a3d431721 100644 --- a/netex/models/stop_place_entrance_version_structure.py +++ b/netex/models/stop_place_entrance_version_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .air_submode import AirSubmode @@ -158,7 +158,7 @@ class Meta: ), }, ) - other_transport_modes: Iterable[VehicleModeEnumeration] = field( + other_transport_modes: Sequence[VehicleModeEnumeration] = field( default_factory=list, metadata={ "name": "OtherTransportModes", diff --git a/netex/models/stop_place_refs_rel_structure.py b/netex/models/stop_place_refs_rel_structure.py index 8b4b2352e..621c29722 100644 --- a/netex/models/stop_place_refs_rel_structure.py +++ b/netex/models/stop_place_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .one_to_many_relationship_structure import OneToManyRelationshipStructure @@ -15,7 +15,7 @@ class StopPlaceRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "stopPlaceRefs_RelStructure" - stop_place_ref: Iterable[TaxiRankRef | StopPlaceRef] = field( + stop_place_ref: Sequence[TaxiRankRef | StopPlaceRef] = field( default_factory=list, metadata={ "type": "Elements", diff --git a/netex/models/stop_place_vehicle_entrance_version_structure.py b/netex/models/stop_place_vehicle_entrance_version_structure.py index f63b34688..8f009c415 100644 --- a/netex/models/stop_place_vehicle_entrance_version_structure.py +++ b/netex/models/stop_place_vehicle_entrance_version_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .air_submode import AirSubmode @@ -160,7 +160,7 @@ class Meta: ), }, ) - other_transport_modes: Iterable[VehicleModeEnumeration] = field( + other_transport_modes: Sequence[VehicleModeEnumeration] = field( default_factory=list, metadata={ "name": "OtherTransportModes", diff --git a/netex/models/stop_place_vehicle_entrances_rel_structure.py b/netex/models/stop_place_vehicle_entrances_rel_structure.py index 5781ea0d0..17e961269 100644 --- a/netex/models/stop_place_vehicle_entrances_rel_structure.py +++ b/netex/models/stop_place_vehicle_entrances_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -15,7 +15,7 @@ class StopPlaceVehicleEntrancesRelStructure(ContainmentAggregationStructure): class Meta: name = "stopPlaceVehicleEntrances_RelStructure" - vehicle_entrance_ref_or_stop_place_vehicle_entrance: Iterable[ + vehicle_entrance_ref_or_stop_place_vehicle_entrance: Sequence[ VehicleEntranceRef | StopPlaceVehicleEntrance ] = field( default_factory=list, diff --git a/netex/models/stop_place_version_structure.py b/netex/models/stop_place_version_structure.py index a30b5c241..0a2c00b0f 100644 --- a/netex/models/stop_place_version_structure.py +++ b/netex/models/stop_place_version_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .access_spaces_rel_structure import AccessSpacesRelStructure @@ -183,7 +183,7 @@ class Meta: ), }, ) - other_transport_modes: Iterable[VehicleModeEnumeration] = field( + other_transport_modes: Sequence[VehicleModeEnumeration] = field( default_factory=list, metadata={ "name": "OtherTransportModes", diff --git a/netex/models/stop_places_in_frame_rel_structure.py b/netex/models/stop_places_in_frame_rel_structure.py index f7778de73..730472b59 100644 --- a/netex/models/stop_places_in_frame_rel_structure.py +++ b/netex/models/stop_places_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class StopPlacesInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "stopPlacesInFrame_RelStructure" - stop_place: Iterable[StopPlace] = field( + stop_place: Sequence[StopPlace] = field( default_factory=list, metadata={ "name": "StopPlace", diff --git a/netex/models/stop_points_in_journey_pattern_rel_structure.py b/netex/models/stop_points_in_journey_pattern_rel_structure.py index 2a0dbe22f..289d509d4 100644 --- a/netex/models/stop_points_in_journey_pattern_rel_structure.py +++ b/netex/models/stop_points_in_journey_pattern_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .stop_point_in_journey_pattern import StopPointInJourneyPattern @@ -18,7 +18,7 @@ class StopPointsInJourneyPatternRelStructure( class Meta: name = "stopPointsInJourneyPattern_RelStructure" - stop_point_in_journey_pattern: Iterable[StopPointInJourneyPattern] = field( + stop_point_in_journey_pattern: Sequence[StopPointInJourneyPattern] = field( default_factory=list, metadata={ "name": "StopPointInJourneyPattern", diff --git a/netex/models/submodes_rel_structure.py b/netex/models/submodes_rel_structure.py index 6ca6260c1..5aeec9fd8 100644 --- a/netex/models/submodes_rel_structure.py +++ b/netex/models/submodes_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class SubmodesRelStructure(ContainmentAggregationStructure): class Meta: name = "submodes_RelStructure" - submode: Iterable[Submode] = field( + submode: Sequence[Submode] = field( default_factory=list, metadata={ "name": "Submode", diff --git a/netex/models/subscribing_version_structure.py b/netex/models/subscribing_version_structure.py index 445389b66..da447e2b4 100644 --- a/netex/models/subscribing_version_structure.py +++ b/netex/models/subscribing_version_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from xsdata.models.datatype import XmlDuration @@ -68,7 +68,7 @@ class Meta: }, ) ) - installment_payment_methods: Iterable[PaymentMethodEnumeration] = field( + installment_payment_methods: Sequence[PaymentMethodEnumeration] = field( default_factory=list, metadata={ "name": "InstallmentPaymentMethods", diff --git a/netex/models/subscription_request_structure.py b/netex/models/subscription_request_structure.py index 77ee8e482..c1cc65bb3 100644 --- a/netex/models/subscription_request_structure.py +++ b/netex/models/subscription_request_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .abstract_subscription_request_structure import ( @@ -13,7 +13,7 @@ @dataclass(kw_only=True) class SubscriptionRequestStructure(AbstractSubscriptionRequestStructure): - data_object_subscription_request: Iterable[ + data_object_subscription_request: Sequence[ DataObjectSubscriptionRequest ] = field( default_factory=list, diff --git a/netex/models/subscription_response_body_structure.py b/netex/models/subscription_response_body_structure.py index 32c3898b9..06edf4fba 100644 --- a/netex/models/subscription_response_body_structure.py +++ b/netex/models/subscription_response_body_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from xsdata.models.datatype import XmlDateTime @@ -12,7 +12,7 @@ @dataclass(kw_only=True) class SubscriptionResponseBodyStructure: - response_status: Iterable[ResponseStatus] = field( + response_status: Sequence[ResponseStatus] = field( default_factory=list, metadata={ "name": "ResponseStatus", diff --git a/netex/models/subscription_response_structure.py b/netex/models/subscription_response_structure.py index 17ec845d2..73173f3ad 100644 --- a/netex/models/subscription_response_structure.py +++ b/netex/models/subscription_response_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from xsdata.models.datatype import XmlDateTime @@ -14,7 +14,7 @@ @dataclass(kw_only=True) class SubscriptionResponseStructure(ResponseEndpointStructure): - response_status: Iterable[ResponseStatus] = field( + response_status: Sequence[ResponseStatus] = field( default_factory=list, metadata={ "name": "ResponseStatus", diff --git a/netex/models/subscription_terminated_notification_structure.py b/netex/models/subscription_terminated_notification_structure.py index 23ebee133..22b0d5b22 100644 --- a/netex/models/subscription_terminated_notification_structure.py +++ b/netex/models/subscription_terminated_notification_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .error_description_structure import ErrorDescriptionStructure @@ -15,7 +15,7 @@ @dataclass(kw_only=True) class SubscriptionTerminatedNotificationStructure(ProducerResponseStructure): - subscriber_ref: Iterable[ParticipantRefStructure] = field( + subscriber_ref: Sequence[ParticipantRefStructure] = field( default_factory=list, metadata={ "name": "SubscriberRef", @@ -23,7 +23,7 @@ class SubscriptionTerminatedNotificationStructure(ProducerResponseStructure): "namespace": "http://www.siri.org.uk/siri", }, ) - subscription_filter_ref: Iterable[SubscriptionFilterRefStructure] = field( + subscription_filter_ref: Sequence[SubscriptionFilterRefStructure] = field( default_factory=list, metadata={ "name": "SubscriptionFilterRef", @@ -31,7 +31,7 @@ class SubscriptionTerminatedNotificationStructure(ProducerResponseStructure): "namespace": "http://www.siri.org.uk/siri", }, ) - subscription_ref: Iterable[SubscriptionQualifierStructure] = field( + subscription_ref: Sequence[SubscriptionQualifierStructure] = field( default_factory=list, metadata={ "name": "SubscriptionRef", diff --git a/netex/models/suitabilities_rel_structure.py b/netex/models/suitabilities_rel_structure.py index def958533..23f5c2bbb 100644 --- a/netex/models/suitabilities_rel_structure.py +++ b/netex/models/suitabilities_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .strict_containment_aggregation_structure import ( @@ -16,7 +16,7 @@ class SuitabilitiesRelStructure(StrictContainmentAggregationStructure): class Meta: name = "suitabilities_RelStructure" - suitability: Iterable[Suitability] = field( + suitability: Sequence[Suitability] = field( default_factory=list, metadata={ "name": "Suitability", diff --git a/netex/models/surface_array_property_type.py b/netex/models/surface_array_property_type.py index 4ab39c4fb..5c6090412 100644 --- a/netex/models/surface_array_property_type.py +++ b/netex/models/surface_array_property_type.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .polygon import Polygon @@ -10,7 +10,7 @@ @dataclass(kw_only=True) class SurfaceArrayPropertyType: - polygon: Iterable[Polygon] = field( + polygon: Sequence[Polygon] = field( default_factory=list, metadata={ "name": "Polygon", diff --git a/netex/models/suspending_version_structure.py b/netex/models/suspending_version_structure.py index b67756dd2..a137bbc02 100644 --- a/netex/models/suspending_version_structure.py +++ b/netex/models/suspending_version_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from decimal import Decimal @@ -17,7 +17,7 @@ class SuspendingVersionStructure(UsageParameterVersionStructure): class Meta: name = "Suspending_VersionStructure" - suspension_policy: Iterable[SuspensionPolicyEnumeration] = field( + suspension_policy: Sequence[SuspensionPolicyEnumeration] = field( default_factory=list, metadata={ "name": "SuspensionPolicy", diff --git a/netex/models/target_passing_time_versioned_child_structure.py b/netex/models/target_passing_time_versioned_child_structure.py index 89711fecb..27d4a9e88 100644 --- a/netex/models/target_passing_time_versioned_child_structure.py +++ b/netex/models/target_passing_time_versioned_child_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from typing import ForwardRef @@ -21,7 +21,7 @@ class TargetPassingTimeVersionedChildStructure( class Meta: name = "TargetPassingTime_VersionedChildStructure" - choice_1: Iterable[ + choice_1: Sequence[ TargetPassingTimeVersionedChildStructure.AimedArrivalTime | TargetPassingTimeVersionedChildStructure.ArrivalDayOffset | TargetPassingTimeVersionedChildStructure.AimedDepartureTime diff --git a/netex/models/target_passing_time_view_structure.py b/netex/models/target_passing_time_view_structure.py index 31b7e1e1d..5c4e4d33a 100644 --- a/netex/models/target_passing_time_view_structure.py +++ b/netex/models/target_passing_time_view_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from typing import ForwardRef @@ -17,7 +17,7 @@ class TargetPassingTimeViewStructure(PassingTimeViewStructure): class Meta: name = "TargetPassingTime_ViewStructure" - choice: Iterable[ + choice: Sequence[ TargetPassingTimeViewStructure.AimedArrivalTime | TargetPassingTimeViewStructure.ArrivalDayOffset | TargetPassingTimeViewStructure.AimedDepartureTime diff --git a/netex/models/target_passing_times_rel_structure.py b/netex/models/target_passing_times_rel_structure.py index 27405efe0..40daf3c90 100644 --- a/netex/models/target_passing_times_rel_structure.py +++ b/netex/models/target_passing_times_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .strict_containment_aggregation_structure import ( @@ -16,7 +16,7 @@ class TargetPassingTimesRelStructure(StrictContainmentAggregationStructure): class Meta: name = "targetPassingTimes_RelStructure" - target_passing_time: Iterable[TargetPassingTime] = field( + target_passing_time: Sequence[TargetPassingTime] = field( default_factory=list, metadata={ "name": "TargetPassingTime", diff --git a/netex/models/tariff_refs_rel_structure.py b/netex/models/tariff_refs_rel_structure.py index 0de9d7254..8b867f606 100644 --- a/netex/models/tariff_refs_rel_structure.py +++ b/netex/models/tariff_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .one_to_many_relationship_structure import OneToManyRelationshipStructure @@ -15,7 +15,7 @@ class TariffRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "tariffRefs_RelStructure" - tariff_ref: Iterable[ParkingTariffRef | TariffRef] = field( + tariff_ref: Sequence[ParkingTariffRef | TariffRef] = field( default_factory=list, metadata={ "type": "Elements", diff --git a/netex/models/tariff_zone_refs_rel_structure.py b/netex/models/tariff_zone_refs_rel_structure.py index 1fa8f4c89..b3499de61 100644 --- a/netex/models/tariff_zone_refs_rel_structure.py +++ b/netex/models/tariff_zone_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .fare_zone_ref import FareZoneRef @@ -15,7 +15,7 @@ class TariffZoneRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "tariffZoneRefs_RelStructure" - tariff_zone_ref: Iterable[FareZoneRef | TariffZoneRef] = field( + tariff_zone_ref: Sequence[FareZoneRef | TariffZoneRef] = field( default_factory=list, metadata={ "type": "Elements", diff --git a/netex/models/tariff_zones_in_frame_rel_structure.py b/netex/models/tariff_zones_in_frame_rel_structure.py index c122befdf..6f3e63f3d 100644 --- a/netex/models/tariff_zones_in_frame_rel_structure.py +++ b/netex/models/tariff_zones_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -15,7 +15,7 @@ class TariffZonesInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "tariffZonesInFrame_RelStructure" - tariff_zone: Iterable[FareZone | TariffZone] = field( + tariff_zone: Sequence[FareZone | TariffZone] = field( default_factory=list, metadata={ "type": "Elements", diff --git a/netex/models/tariffs_in_frame_rel_structure.py b/netex/models/tariffs_in_frame_rel_structure.py index 52aab2efa..ab466cf24 100644 --- a/netex/models/tariffs_in_frame_rel_structure.py +++ b/netex/models/tariffs_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .frame_containment_structure import FrameContainmentStructure @@ -14,7 +14,7 @@ class TariffsInFrameRelStructure(FrameContainmentStructure): class Meta: name = "tariffsInFrame_RelStructure" - tariff: Iterable[Tariff] = field( + tariff: Sequence[Tariff] = field( default_factory=list, metadata={ "name": "Tariff", diff --git a/netex/models/taxi_ranks_in_frame_rel_structure.py b/netex/models/taxi_ranks_in_frame_rel_structure.py index 3301ecd47..b92fec31e 100644 --- a/netex/models/taxi_ranks_in_frame_rel_structure.py +++ b/netex/models/taxi_ranks_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class TaxiRanksInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "taxiRanksInFrame_RelStructure" - taxi_rank: Iterable[TaxiRank] = field( + taxi_rank: Sequence[TaxiRank] = field( default_factory=list, metadata={ "name": "TaxiRank", diff --git a/netex/models/taxi_stands_rel_structure.py b/netex/models/taxi_stands_rel_structure.py index eb10096be..96425d189 100644 --- a/netex/models/taxi_stands_rel_structure.py +++ b/netex/models/taxi_stands_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class TaxiStandsRelStructure(ContainmentAggregationStructure): class Meta: name = "taxiStands_RelStructure" - taxi_stand: Iterable[TaxiStand] = field( + taxi_stand: Sequence[TaxiStand] = field( default_factory=list, metadata={ "name": "TaxiStand", diff --git a/netex/models/temporal_validity_parameters_rel_structure.py b/netex/models/temporal_validity_parameters_rel_structure.py index 193242d84..ccb360e3c 100644 --- a/netex/models/temporal_validity_parameters_rel_structure.py +++ b/netex/models/temporal_validity_parameters_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .availability_condition_ref import AvailabilityConditionRef @@ -23,7 +23,7 @@ class TemporalValidityParametersRelStructure(OneToManyRelationshipStructure): class Meta: name = "temporalValidityParameters_RelStructure" - day_type_ref: Iterable[FareDayTypeRef | DayTypeRef] = field( + day_type_ref: Sequence[FareDayTypeRef | DayTypeRef] = field( default_factory=list, metadata={ "type": "Elements", @@ -41,7 +41,7 @@ class Meta: ), }, ) - group_of_timebands_ref: Iterable[GroupOfTimebandsRef] = field( + group_of_timebands_ref: Sequence[GroupOfTimebandsRef] = field( default_factory=list, metadata={ "name": "GroupOfTimebandsRef", @@ -50,7 +50,7 @@ class Meta: "sequence": 1, }, ) - operating_day_ref: Iterable[OperatingDayRef] = field( + operating_day_ref: Sequence[OperatingDayRef] = field( default_factory=list, metadata={ "name": "OperatingDayRef", @@ -59,7 +59,7 @@ class Meta: "sequence": 1, }, ) - operating_period_ref: Iterable[ + operating_period_ref: Sequence[ UicOperatingPeriodRef | OperatingPeriodRef ] = field( default_factory=list, @@ -79,7 +79,7 @@ class Meta: ), }, ) - validity_condition_ref: Iterable[ + validity_condition_ref: Sequence[ AvailabilityConditionRef | ValidityRuleParameterRef | ValidityTriggerRef diff --git a/netex/models/terminate_subscription_request_body_structure.py b/netex/models/terminate_subscription_request_body_structure.py index baa64b298..fb7a3b390 100644 --- a/netex/models/terminate_subscription_request_body_structure.py +++ b/netex/models/terminate_subscription_request_body_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .empty_type_1 import EmptyType1 @@ -20,7 +20,7 @@ class TerminateSubscriptionRequestBodyStructure: "namespace": "http://www.siri.org.uk/siri", }, ) - all_or_subscription_ref: Iterable[ + all_or_subscription_ref: Sequence[ EmptyType1 | SubscriptionQualifierStructure ] = field( default_factory=list, diff --git a/netex/models/terminate_subscription_request_structure.py b/netex/models/terminate_subscription_request_structure.py index 9b0af2956..98017212c 100644 --- a/netex/models/terminate_subscription_request_structure.py +++ b/netex/models/terminate_subscription_request_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .authenticated_request_structure import AuthenticatedRequestStructure @@ -64,7 +64,7 @@ class TerminateSubscriptionRequestStructure(AuthenticatedRequestStructure): "namespace": "http://www.siri.org.uk/siri", }, ) - all_or_subscription_ref: Iterable[ + all_or_subscription_ref: Sequence[ EmptyType1 | SubscriptionQualifierStructure ] = field( default_factory=list, diff --git a/netex/models/terminate_subscription_response_structure.py b/netex/models/terminate_subscription_response_structure.py index 00bc075d1..e7d7bea90 100644 --- a/netex/models/terminate_subscription_response_structure.py +++ b/netex/models/terminate_subscription_response_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .response_endpoint_structure import ResponseEndpointStructure @@ -13,7 +13,7 @@ @dataclass(kw_only=True) class TerminateSubscriptionResponseStructure(ResponseEndpointStructure): - termination_response_status: Iterable[ + termination_response_status: Sequence[ TerminationResponseStatusStructure ] = field( default_factory=list, diff --git a/netex/models/third_party_product_refs_rel_structure.py b/netex/models/third_party_product_refs_rel_structure.py index 7bdafa1d0..34bff74bd 100644 --- a/netex/models/third_party_product_refs_rel_structure.py +++ b/netex/models/third_party_product_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .one_to_many_relationship_structure import OneToManyRelationshipStructure @@ -14,7 +14,7 @@ class ThirdPartyProductRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "thirdPartyProductRefs_RelStructure" - third_party_product_ref: Iterable[ThirdPartyProductRef] = field( + third_party_product_ref: Sequence[ThirdPartyProductRef] = field( default_factory=list, metadata={ "name": "ThirdPartyProductRef", diff --git a/netex/models/ticket_validator_equipment_version_structure.py b/netex/models/ticket_validator_equipment_version_structure.py index 489da5660..1101d12a7 100644 --- a/netex/models/ticket_validator_equipment_version_structure.py +++ b/netex/models/ticket_validator_equipment_version_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .multilingual_string import MultilingualString @@ -19,7 +19,7 @@ class TicketValidatorEquipmentVersionStructure( class Meta: name = "TicketValidatorEquipment_VersionStructure" - ticket_validator_type: Iterable[TicketValidatorEnumeration] = field( + ticket_validator_type: Sequence[TicketValidatorEnumeration] = field( default_factory=list, metadata={ "name": "TicketValidatorType", diff --git a/netex/models/ticketing_equipment_version_structure.py b/netex/models/ticketing_equipment_version_structure.py index 09f0816f2..4baeb79ce 100644 --- a/netex/models/ticketing_equipment_version_structure.py +++ b/netex/models/ticketing_equipment_version_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from decimal import Decimal @@ -23,7 +23,7 @@ class TicketingEquipmentVersionStructure(PassengerEquipmentVersionStructure): class Meta: name = "TicketingEquipment_VersionStructure" - vehicle_modes: Iterable[AllModesEnumeration] = field( + vehicle_modes: Sequence[AllModesEnumeration] = field( default_factory=list, metadata={ "name": "VehicleModes", @@ -106,7 +106,7 @@ class Meta: "namespace": "http://www.netex.org.uk/netex", }, ) - payment_methods: Iterable[PaymentMethodEnumeration] = field( + payment_methods: Sequence[PaymentMethodEnumeration] = field( default_factory=list, metadata={ "name": "PaymentMethods", @@ -115,7 +115,7 @@ class Meta: "tokens": True, }, ) - ticket_types_available: Iterable[TicketTypeEnumeration] = field( + ticket_types_available: Sequence[TicketTypeEnumeration] = field( default_factory=list, metadata={ "name": "TicketTypesAvailable", @@ -124,7 +124,7 @@ class Meta: "tokens": True, }, ) - scope_of_tickets_available: Iterable[ScopeOfTicketEnumeration] = field( + scope_of_tickets_available: Sequence[ScopeOfTicketEnumeration] = field( default_factory=list, metadata={ "name": "ScopeOfTicketsAvailable", diff --git a/netex/models/ticketing_facility_list.py b/netex/models/ticketing_facility_list.py index 10110041d..c4ed39ae7 100644 --- a/netex/models/ticketing_facility_list.py +++ b/netex/models/ticketing_facility_list.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .ticketing_facility_enumeration import TicketingFacilityEnumeration @@ -13,7 +13,7 @@ class TicketingFacilityList: class Meta: namespace = "http://www.netex.org.uk/netex" - value: Iterable[TicketingFacilityEnumeration] = field( + value: Sequence[TicketingFacilityEnumeration] = field( default_factory=list, metadata={ "tokens": True, diff --git a/netex/models/ticketing_service_facility_list.py b/netex/models/ticketing_service_facility_list.py index d3c3cb6b2..a2662572a 100644 --- a/netex/models/ticketing_service_facility_list.py +++ b/netex/models/ticketing_service_facility_list.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .ticketing_service_facility_enumeration import ( @@ -15,7 +15,7 @@ class TicketingServiceFacilityList: class Meta: namespace = "http://www.netex.org.uk/netex" - value: Iterable[TicketingServiceFacilityEnumeration] = field( + value: Sequence[TicketingServiceFacilityEnumeration] = field( default_factory=list, metadata={ "tokens": True, diff --git a/netex/models/ticketing_service_version_structure.py b/netex/models/ticketing_service_version_structure.py index 69707a641..5cc9d26cc 100644 --- a/netex/models/ticketing_service_version_structure.py +++ b/netex/models/ticketing_service_version_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .local_service_version_structure import LocalServiceVersionStructure @@ -19,7 +19,7 @@ class TicketingServiceVersionStructure(LocalServiceVersionStructure): class Meta: name = "TicketingService_VersionStructure" - vehicle_modes: Iterable[VehicleModeEnumeration] = field( + vehicle_modes: Sequence[VehicleModeEnumeration] = field( default_factory=list, metadata={ "name": "VehicleModes", @@ -28,7 +28,7 @@ class Meta: "tokens": True, }, ) - ticketing_service_list: Iterable[TicketingServiceFacilityEnumeration] = ( + ticketing_service_list: Sequence[TicketingServiceFacilityEnumeration] = ( field( default_factory=list, metadata={ @@ -39,7 +39,7 @@ class Meta: }, ) ) - ticket_type_list: Iterable[Iterable[TicketTypeEnumeration]] = field( + ticket_type_list: Sequence[Sequence[TicketTypeEnumeration]] = field( default_factory=list, metadata={ "name": "TicketTypeList", @@ -88,7 +88,7 @@ class Meta: "namespace": "http://www.netex.org.uk/netex", }, ) - payment_methods: Iterable[PaymentMethodEnumeration] = field( + payment_methods: Sequence[PaymentMethodEnumeration] = field( default_factory=list, metadata={ "name": "PaymentMethods", diff --git a/netex/models/time_demand_profile_members_rel_structure.py b/netex/models/time_demand_profile_members_rel_structure.py index 0b82b194e..03c4ce835 100644 --- a/netex/models/time_demand_profile_members_rel_structure.py +++ b/netex/models/time_demand_profile_members_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .strict_containment_aggregation_structure import ( @@ -18,7 +18,7 @@ class TimeDemandProfileMembersRelStructure( class Meta: name = "timeDemandProfileMembers_RelStructure" - time_demand_profile_member: Iterable[TimeDemandProfileMember] = field( + time_demand_profile_member: Sequence[TimeDemandProfileMember] = field( default_factory=list, metadata={ "name": "TimeDemandProfileMember", diff --git a/netex/models/time_demand_type_assignments_in_frame_rel_structure.py b/netex/models/time_demand_type_assignments_in_frame_rel_structure.py index 3094123db..9df94e03c 100644 --- a/netex/models/time_demand_type_assignments_in_frame_rel_structure.py +++ b/netex/models/time_demand_type_assignments_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -16,7 +16,7 @@ class TimeDemandTypeAssignmentsInFrameRelStructure( class Meta: name = "timeDemandTypeAssignmentsInFrame_RelStructure" - time_demand_type_assignment: Iterable[TimeDemandTypeAssignment] = field( + time_demand_type_assignment: Sequence[TimeDemandTypeAssignment] = field( default_factory=list, metadata={ "name": "TimeDemandTypeAssignment", diff --git a/netex/models/time_demand_type_refs_rel_structure.py b/netex/models/time_demand_type_refs_rel_structure.py index 6dde9cb43..9a6ca681a 100644 --- a/netex/models/time_demand_type_refs_rel_structure.py +++ b/netex/models/time_demand_type_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .one_to_many_relationship_structure import OneToManyRelationshipStructure @@ -14,7 +14,7 @@ class TimeDemandTypeRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "timeDemandTypeRefs_RelStructure" - time_demand_type_ref: Iterable[TimeDemandTypeRef] = field( + time_demand_type_ref: Sequence[TimeDemandTypeRef] = field( default_factory=list, metadata={ "name": "TimeDemandTypeRef", diff --git a/netex/models/time_demand_types_in_frame_rel_structure.py b/netex/models/time_demand_types_in_frame_rel_structure.py index e535311b5..1c76aa073 100644 --- a/netex/models/time_demand_types_in_frame_rel_structure.py +++ b/netex/models/time_demand_types_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class TimeDemandTypesInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "timeDemandTypesInFrame_RelStructure" - time_demand_type: Iterable[TimeDemandType] = field( + time_demand_type: Sequence[TimeDemandType] = field( default_factory=list, metadata={ "name": "TimeDemandType", diff --git a/netex/models/time_interval_prices_rel_structure.py b/netex/models/time_interval_prices_rel_structure.py index e444a9001..35175f8e7 100644 --- a/netex/models/time_interval_prices_rel_structure.py +++ b/netex/models/time_interval_prices_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .cell_ref import CellRef @@ -20,7 +20,7 @@ class TimeIntervalPricesRelStructure(StrictContainmentAggregationStructure): class Meta: name = "timeIntervalPrices_RelStructure" - time_interval_price_ref_or_time_interval_price_or_cell_ref: Iterable[ + time_interval_price_ref_or_time_interval_price_or_cell_ref: Sequence[ TimeIntervalPriceRef | TimeIntervalPriceVersionedChildStructure | CellRef diff --git a/netex/models/time_interval_refs_rel_structure.py b/netex/models/time_interval_refs_rel_structure.py index f8cb9f6fa..ae6f0b5bb 100644 --- a/netex/models/time_interval_refs_rel_structure.py +++ b/netex/models/time_interval_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .one_to_many_relationship_structure import OneToManyRelationshipStructure @@ -14,7 +14,7 @@ class TimeIntervalRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "timeIntervalRefs_RelStructure" - time_interval_ref: Iterable[TimeIntervalRef] = field( + time_interval_ref: Sequence[TimeIntervalRef] = field( default_factory=list, metadata={ "name": "TimeIntervalRef", diff --git a/netex/models/time_intervals_rel_structure.py b/netex/models/time_intervals_rel_structure.py index da3219553..9c5d3a150 100644 --- a/netex/models/time_intervals_rel_structure.py +++ b/netex/models/time_intervals_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -15,7 +15,7 @@ class TimeIntervalsRelStructure(ContainmentAggregationStructure): class Meta: name = "timeIntervals_RelStructure" - time_interval_ref_or_time_interval: Iterable[ + time_interval_ref_or_time_interval: Sequence[ TimeIntervalRef | TimeInterval ] = field( default_factory=list, diff --git a/netex/models/time_structure_factors_rel_structure.py b/netex/models/time_structure_factors_rel_structure.py index b7a1daa10..6d46a2373 100644 --- a/netex/models/time_structure_factors_rel_structure.py +++ b/netex/models/time_structure_factors_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .parking_charge_band_ref import ParkingChargeBandRef @@ -18,7 +18,7 @@ class TimeStructureFactorsRelStructure(StrictContainmentAggregationStructure): class Meta: name = "timeStructureFactors_RelStructure" - parking_charge_band_ref_or_time_structure_factor_ref_or_time_structure_factor: Iterable[ + parking_charge_band_ref_or_time_structure_factor_ref_or_time_structure_factor: Sequence[ ParkingChargeBandRef | TimeStructureFactorRef | TimeStructureFactor ] = field( default_factory=list, diff --git a/netex/models/time_unit_prices_rel_structure.py b/netex/models/time_unit_prices_rel_structure.py index 4ec21a517..4bbae1d81 100644 --- a/netex/models/time_unit_prices_rel_structure.py +++ b/netex/models/time_unit_prices_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .cell_ref import CellRef @@ -20,7 +20,7 @@ class TimeUnitPricesRelStructure(StrictContainmentAggregationStructure): class Meta: name = "timeUnitPrices_RelStructure" - time_unit_price_ref_or_time_unit_price_or_cell_ref: Iterable[ + time_unit_price_ref_or_time_unit_price_or_cell_ref: Sequence[ TimeUnitPriceRef | TimeUnitPriceVersionedChildStructure | CellRef ] = field( default_factory=list, diff --git a/netex/models/time_units_rel_structure.py b/netex/models/time_units_rel_structure.py index 74ce5c6df..816aafea9 100644 --- a/netex/models/time_units_rel_structure.py +++ b/netex/models/time_units_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -15,7 +15,7 @@ class TimeUnitsRelStructure(ContainmentAggregationStructure): class Meta: name = "timeUnits_RelStructure" - time_unit_ref_or_time_unit: Iterable[TimeUnitRef | TimeUnit] = field( + time_unit_ref_or_time_unit: Sequence[TimeUnitRef | TimeUnit] = field( default_factory=list, metadata={ "type": "Elements", diff --git a/netex/models/timeband_refs_rel_structure.py b/netex/models/timeband_refs_rel_structure.py index 62584c122..fd20b35c4 100644 --- a/netex/models/timeband_refs_rel_structure.py +++ b/netex/models/timeband_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .one_to_many_relationship_structure import OneToManyRelationshipStructure @@ -14,7 +14,7 @@ class TimebandRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "timebandRefs_RelStructure" - timeband_ref: Iterable[TimebandRef] = field( + timeband_ref: Sequence[TimebandRef] = field( default_factory=list, metadata={ "name": "TimebandRef", diff --git a/netex/models/timebands_in_frame_rel_structure.py b/netex/models/timebands_in_frame_rel_structure.py index 79bb72624..e980cbed9 100644 --- a/netex/models/timebands_in_frame_rel_structure.py +++ b/netex/models/timebands_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class TimebandsInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "timebandsInFrame_RelStructure" - timeband: Iterable[Timeband] = field( + timeband: Sequence[Timeband] = field( default_factory=list, metadata={ "name": "Timeband", diff --git a/netex/models/timetable_version_frame_structure.py b/netex/models/timetable_version_frame_structure.py index 321001f83..91caed7ec 100644 --- a/netex/models/timetable_version_frame_structure.py +++ b/netex/models/timetable_version_frame_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .accessibility_assessment import AccessibilityAssessment @@ -87,7 +87,7 @@ class TimetableVersionFrameStructure(CommonVersionFrameStructure): class Meta: name = "Timetable_VersionFrameStructure" - vehicle_modes: Iterable[VehicleModeEnumeration] = field( + vehicle_modes: Sequence[VehicleModeEnumeration] = field( default_factory=list, metadata={ "name": "VehicleModes", diff --git a/netex/models/timetabled_passing_times_rel_structure.py b/netex/models/timetabled_passing_times_rel_structure.py index ab404f045..4838ff0b7 100644 --- a/netex/models/timetabled_passing_times_rel_structure.py +++ b/netex/models/timetabled_passing_times_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .strict_containment_aggregation_structure import ( @@ -18,7 +18,7 @@ class TimetabledPassingTimesRelStructure( class Meta: name = "timetabledPassingTimes_RelStructure" - timetabled_passing_time: Iterable[TimetabledPassingTime] = field( + timetabled_passing_time: Sequence[TimetabledPassingTime] = field( default_factory=list, metadata={ "name": "TimetabledPassingTime", diff --git a/netex/models/timing_link_refs_rel_structure.py b/netex/models/timing_link_refs_rel_structure.py index d04b2927a..f79b6fd74 100644 --- a/netex/models/timing_link_refs_rel_structure.py +++ b/netex/models/timing_link_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .one_to_many_relationship_structure import OneToManyRelationshipStructure @@ -15,7 +15,7 @@ class TimingLinkRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "timingLinkRefs_RelStructure" - timing_link_ref_or_timing_link_ref_by_value: Iterable[ + timing_link_ref_or_timing_link_ref_by_value: Sequence[ TimingLinkRef | TimingLinkRefByValue ] = field( default_factory=list, diff --git a/netex/models/timing_links_in_frame_rel_structure.py b/netex/models/timing_links_in_frame_rel_structure.py index 69bee949b..37eb5b764 100644 --- a/netex/models/timing_links_in_frame_rel_structure.py +++ b/netex/models/timing_links_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class TimingLinksInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "timingLinksInFrame_RelStructure" - timing_link: Iterable[TimingLink] = field( + timing_link: Sequence[TimingLink] = field( default_factory=list, metadata={ "name": "TimingLink", diff --git a/netex/models/timing_links_rel_structure.py b/netex/models/timing_links_rel_structure.py index 9d4e9cf36..aea10b77a 100644 --- a/netex/models/timing_links_rel_structure.py +++ b/netex/models/timing_links_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .strict_containment_aggregation_structure import ( @@ -16,7 +16,7 @@ class TimingLinksRelStructure(StrictContainmentAggregationStructure): class Meta: name = "timingLinks_RelStructure" - timing_link: Iterable[TimingLink] = field( + timing_link: Sequence[TimingLink] = field( default_factory=list, metadata={ "name": "TimingLink", diff --git a/netex/models/timing_patterns_in_frame_rel_structure.py b/netex/models/timing_patterns_in_frame_rel_structure.py index 0527582f0..ea812cd67 100644 --- a/netex/models/timing_patterns_in_frame_rel_structure.py +++ b/netex/models/timing_patterns_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class TimingPatternsInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "timingPatternsInFrame_RelStructure" - timing_pattern: Iterable[TimingPattern] = field( + timing_pattern: Sequence[TimingPattern] = field( default_factory=list, metadata={ "name": "TimingPattern", diff --git a/netex/models/timing_points_in_frame_rel_structure.py b/netex/models/timing_points_in_frame_rel_structure.py index 7c6c6749a..1fb008dec 100644 --- a/netex/models/timing_points_in_frame_rel_structure.py +++ b/netex/models/timing_points_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class TimingPointsInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "timingPointsInFrame_RelStructure" - timing_point: Iterable[TimingPoint] = field( + timing_point: Sequence[TimingPoint] = field( default_factory=list, metadata={ "name": "TimingPoint", diff --git a/netex/models/timing_points_in_journey_pattern_rel_structure.py b/netex/models/timing_points_in_journey_pattern_rel_structure.py index 504e970c5..6be701e36 100644 --- a/netex/models/timing_points_in_journey_pattern_rel_structure.py +++ b/netex/models/timing_points_in_journey_pattern_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .strict_containment_aggregation_structure import ( @@ -18,7 +18,7 @@ class TimingPointsInJourneyPatternRelStructure( class Meta: name = "timingPointsInJourneyPattern_RelStructure" - timing_point_in_journey_pattern: Iterable[TimingPointInJourneyPattern] = ( + timing_point_in_journey_pattern: Sequence[TimingPointInJourneyPattern] = ( field( default_factory=list, metadata={ diff --git a/netex/models/timing_points_rel_structure.py b/netex/models/timing_points_rel_structure.py index fce5e9272..7d91a8d84 100644 --- a/netex/models/timing_points_rel_structure.py +++ b/netex/models/timing_points_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -17,7 +17,7 @@ class TimingPointsRelStructure(ContainmentAggregationStructure): class Meta: name = "timingPoints_RelStructure" - relief_point_or_parking_point_or_timing_point: Iterable[ + relief_point_or_parking_point_or_timing_point: Sequence[ ParkingPoint | GaragePoint | ReliefPoint | TimingPoint ] = field( default_factory=list, diff --git a/netex/models/topographic_place_descriptors_rel_structure.py b/netex/models/topographic_place_descriptors_rel_structure.py index 0477775b4..184551b53 100644 --- a/netex/models/topographic_place_descriptors_rel_structure.py +++ b/netex/models/topographic_place_descriptors_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .strict_containment_aggregation_structure import ( @@ -20,7 +20,7 @@ class TopographicPlaceDescriptorsRelStructure( class Meta: name = "topographicPlaceDescriptors_RelStructure" - topographic_place_descriptor: Iterable[ + topographic_place_descriptor: Sequence[ TopographicPlaceDescriptorVersionedChildStructure ] = field( default_factory=list, diff --git a/netex/models/topographic_place_refs_rel_structure.py b/netex/models/topographic_place_refs_rel_structure.py index 752d4e8b5..072942427 100644 --- a/netex/models/topographic_place_refs_rel_structure.py +++ b/netex/models/topographic_place_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .one_to_many_relationship_structure import OneToManyRelationshipStructure @@ -14,7 +14,7 @@ class TopographicPlaceRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "topographicPlaceRefs_RelStructure" - topographic_place_ref: Iterable[TopographicPlaceRefStructure] = field( + topographic_place_ref: Sequence[TopographicPlaceRefStructure] = field( default_factory=list, metadata={ "name": "TopographicPlaceRef", diff --git a/netex/models/topographic_places_in_frame_rel_structure.py b/netex/models/topographic_places_in_frame_rel_structure.py index c0e511dad..58acae7d5 100644 --- a/netex/models/topographic_places_in_frame_rel_structure.py +++ b/netex/models/topographic_places_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class TopographicPlacesInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "topographicPlacesInFrame_RelStructure" - topographic_place: Iterable[TopographicPlace] = field( + topographic_place: Sequence[TopographicPlace] = field( default_factory=list, metadata={ "name": "TopographicPlace", diff --git a/netex/models/topographic_places_rel_structure.py b/netex/models/topographic_places_rel_structure.py index 702cf6780..ed59fbbfb 100644 --- a/netex/models/topographic_places_rel_structure.py +++ b/netex/models/topographic_places_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -15,7 +15,7 @@ class TopographicPlacesRelStructure(ContainmentAggregationStructure): class Meta: name = "topographicPlaces_RelStructure" - topographic_place_ref: Iterable[TopographicPlaceRef] = field( + topographic_place_ref: Sequence[TopographicPlaceRef] = field( default_factory=list, metadata={ "name": "TopographicPlaceRef", @@ -25,7 +25,7 @@ class Meta: "sequence": 1, }, ) - topographic_place: Iterable[TopographicPlace] = field( + topographic_place: Sequence[TopographicPlace] = field( default_factory=list, metadata={ "name": "TopographicPlace", diff --git a/netex/models/traces_rel_structure.py b/netex/models/traces_rel_structure.py index f3ff9d890..9ec9bf301 100644 --- a/netex/models/traces_rel_structure.py +++ b/netex/models/traces_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .trace import Trace @@ -13,7 +13,7 @@ class TracesRelStructure: class Meta: name = "traces_RelStructure" - trace: Iterable[Trace] = field( + trace: Sequence[Trace] = field( default_factory=list, metadata={ "name": "Trace", diff --git a/netex/models/traffic_control_points_in_frame_rel_structure.py b/netex/models/traffic_control_points_in_frame_rel_structure.py index 652432263..593524845 100644 --- a/netex/models/traffic_control_points_in_frame_rel_structure.py +++ b/netex/models/traffic_control_points_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class TrafficControlPointsInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "trafficControlPointsInFrame_RelStructure" - traffic_control_point: Iterable[TrafficControlPoint] = field( + traffic_control_point: Sequence[TrafficControlPoint] = field( default_factory=list, metadata={ "name": "TrafficControlPoint", diff --git a/netex/models/train_component_label_assignment_refs_rel_structure.py b/netex/models/train_component_label_assignment_refs_rel_structure.py index 02cd3effd..c17ae12eb 100644 --- a/netex/models/train_component_label_assignment_refs_rel_structure.py +++ b/netex/models/train_component_label_assignment_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .one_to_many_relationship_structure import OneToManyRelationshipStructure @@ -18,7 +18,7 @@ class TrainComponentLabelAssignmentRefsRelStructure( class Meta: name = "TrainComponentLabelAssignmentRefs_RelStructure" - train_component_label_assignment_ref: Iterable[ + train_component_label_assignment_ref: Sequence[ TrainComponentLabelAssignmentRef ] = field( default_factory=list, diff --git a/netex/models/train_component_label_assignments_rel_structure.py b/netex/models/train_component_label_assignments_rel_structure.py index 956ed6fc2..a7669f087 100644 --- a/netex/models/train_component_label_assignments_rel_structure.py +++ b/netex/models/train_component_label_assignments_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -19,7 +19,7 @@ class TrainComponentLabelAssignmentsRelStructure( class Meta: name = "trainComponentLabelAssignments_RelStructure" - train_component_label_assignment_ref_or_train_component_label_assignment: Iterable[ + train_component_label_assignment_ref_or_train_component_label_assignment: Sequence[ TrainComponentLabelAssignmentRef | TrainComponentLabelAssignment ] = field( default_factory=list, diff --git a/netex/models/train_components_rel_structure.py b/netex/models/train_components_rel_structure.py index 936c81225..7a9a869e0 100644 --- a/netex/models/train_components_rel_structure.py +++ b/netex/models/train_components_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -15,7 +15,7 @@ class TrainComponentsRelStructure(ContainmentAggregationStructure): class Meta: name = "trainComponents_RelStructure" - train_component_ref_or_train_component: Iterable[ + train_component_ref_or_train_component: Sequence[ TrainComponentRef | TrainComponent ] = field( default_factory=list, diff --git a/netex/models/train_number_refs_rel_structure.py b/netex/models/train_number_refs_rel_structure.py index 4f1cb2cbc..5986ab936 100644 --- a/netex/models/train_number_refs_rel_structure.py +++ b/netex/models/train_number_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .one_to_many_relationship_structure import OneToManyRelationshipStructure @@ -14,7 +14,7 @@ class TrainNumberRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "trainNumberRefs_RelStructure" - train_number_ref: Iterable[TrainNumberRef] = field( + train_number_ref: Sequence[TrainNumberRef] = field( default_factory=list, metadata={ "name": "TrainNumberRef", diff --git a/netex/models/train_numbers_in_frame_rel_structure.py b/netex/models/train_numbers_in_frame_rel_structure.py index 68ab8e627..5fee914d6 100644 --- a/netex/models/train_numbers_in_frame_rel_structure.py +++ b/netex/models/train_numbers_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -15,7 +15,7 @@ class TrainNumbersInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "trainNumbersInFrame_RelStructure" - train_number_or_train_number_ref: Iterable[ + train_number_or_train_number_ref: Sequence[ TrainNumber | TrainNumberRef ] = field( default_factory=list, diff --git a/netex/models/train_stop_assignments_rel_structure.py b/netex/models/train_stop_assignments_rel_structure.py index 9615f3441..033e699f1 100644 --- a/netex/models/train_stop_assignments_rel_structure.py +++ b/netex/models/train_stop_assignments_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -15,7 +15,7 @@ class TrainStopAssignmentsRelStructure(ContainmentAggregationStructure): class Meta: name = "trainStopAssignments_RelStructure" - train_stop_assignment_ref_or_train_stop_assignment: Iterable[ + train_stop_assignment_ref_or_train_stop_assignment: Sequence[ TrainStopAssignmentRef | TrainStopAssignment ] = field( default_factory=list, diff --git a/netex/models/trains_in_compound_train_rel_structure.py b/netex/models/trains_in_compound_train_rel_structure.py index 062e9575b..f07aa805a 100644 --- a/netex/models/trains_in_compound_train_rel_structure.py +++ b/netex/models/trains_in_compound_train_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .strict_containment_aggregation_structure import ( @@ -18,7 +18,7 @@ class TrainsInCompoundTrainRelStructure(StrictContainmentAggregationStructure): class Meta: name = "trainsInCompoundTrain_RelStructure" - train_in_compound_train: Iterable[ + train_in_compound_train: Sequence[ TrainInCompoundTrainVersionedChildStructure ] = field( default_factory=list, diff --git a/netex/models/transfer_refs_rel_structure.py b/netex/models/transfer_refs_rel_structure.py index 2fc2eabe7..327855b83 100644 --- a/netex/models/transfer_refs_rel_structure.py +++ b/netex/models/transfer_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .access_ref import AccessRef @@ -17,7 +17,7 @@ class TransferRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "transferRefs_RelStructure" - connection_ref_or_transfer_ref: Iterable[ + connection_ref_or_transfer_ref: Sequence[ DefaultConnectionRef | SiteConnectionRef | ConnectionRef | AccessRef ] = field( default_factory=list, diff --git a/netex/models/transfer_restrictions_in_frame_rel_structure.py b/netex/models/transfer_restrictions_in_frame_rel_structure.py index 22148906e..56865ba90 100644 --- a/netex/models/transfer_restrictions_in_frame_rel_structure.py +++ b/netex/models/transfer_restrictions_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class TransferRestrictionsInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "transferRestrictionsInFrame_RelStructure" - transfer_restriction: Iterable[TransferRestriction] = field( + transfer_restriction: Sequence[TransferRestriction] = field( default_factory=list, metadata={ "name": "TransferRestriction", diff --git a/netex/models/transfers_in_frame_rel_structure.py b/netex/models/transfers_in_frame_rel_structure.py index 4e4dd3ec5..a4e3bfc92 100644 --- a/netex/models/transfers_in_frame_rel_structure.py +++ b/netex/models/transfers_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .access import Access @@ -17,7 +17,7 @@ class TransfersInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "transfersInFrame_RelStructure" - transfer: Iterable[ + transfer: Sequence[ Connection | DefaultConnection | SiteConnection | Access ] = field( default_factory=list, diff --git a/netex/models/transport_modes_rel_structure.py b/netex/models/transport_modes_rel_structure.py index 894adb922..7b76d5b8c 100644 --- a/netex/models/transport_modes_rel_structure.py +++ b/netex/models/transport_modes_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -15,7 +15,7 @@ class TransportModesRelStructure(ContainmentAggregationStructure): class Meta: name = "transportModes_RelStructure" - open_transport_mode_ref_or_transport_mode: Iterable[ + open_transport_mode_ref_or_transport_mode: Sequence[ OpenTransportModeRef | TransportModeStructure ] = field( default_factory=list, diff --git a/netex/models/transport_operators_in_frame_rel_structure.py b/netex/models/transport_operators_in_frame_rel_structure.py index 918e605d4..254daadf1 100644 --- a/netex/models/transport_operators_in_frame_rel_structure.py +++ b/netex/models/transport_operators_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .authority import Authority @@ -15,7 +15,7 @@ class TransportOperatorsInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "transportOperatorsInFrame_RelStructure" - authority_or_operator: Iterable[Authority | Operator] = field( + authority_or_operator: Sequence[Authority | Operator] = field( default_factory=list, metadata={ "type": "Elements", diff --git a/netex/models/transport_organisation_refs_rel_structure.py b/netex/models/transport_organisation_refs_rel_structure.py index e78985372..f7d6a70d8 100644 --- a/netex/models/transport_organisation_refs_rel_structure.py +++ b/netex/models/transport_organisation_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .authority_ref import AuthorityRef @@ -15,7 +15,7 @@ class TransportOrganisationRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "transportOrganisationRefs_RelStructure" - transport_organisation_ref: Iterable[AuthorityRef | OperatorRef] = field( + transport_organisation_ref: Sequence[AuthorityRef | OperatorRef] = field( default_factory=list, metadata={ "type": "Elements", diff --git a/netex/models/transport_organisation_version_structure.py b/netex/models/transport_organisation_version_structure.py index 02f92c268..c586e2c85 100644 --- a/netex/models/transport_organisation_version_structure.py +++ b/netex/models/transport_organisation_version_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from typing import Any, ForwardRef @@ -215,7 +215,7 @@ class Meta: ), }, ) - operator_activities: Iterable[OperatorActivitiesEnumeration] = field( + operator_activities: Sequence[OperatorActivitiesEnumeration] = field( default_factory=list, metadata={ "name": "OperatorActivities", diff --git a/netex/models/transport_type_refs_rel_structure.py b/netex/models/transport_type_refs_rel_structure.py index 23bc27f29..0f8331aed 100644 --- a/netex/models/transport_type_refs_rel_structure.py +++ b/netex/models/transport_type_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .compound_train_ref import CompoundTrainRef @@ -18,7 +18,7 @@ class TransportTypeRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "transportTypeRefs_RelStructure" - transport_type_ref_or_vehicle_type_ref: Iterable[ + transport_type_ref_or_vehicle_type_ref: Sequence[ SimpleVehicleTypeRef | CompoundTrainRef | TrainRef diff --git a/netex/models/travel_document_security_listing_refs_rel_structure.py b/netex/models/travel_document_security_listing_refs_rel_structure.py index f89b7137b..17c71f731 100644 --- a/netex/models/travel_document_security_listing_refs_rel_structure.py +++ b/netex/models/travel_document_security_listing_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .one_to_many_relationship_structure import OneToManyRelationshipStructure @@ -18,7 +18,7 @@ class TravelDocumentSecurityListingRefsRelStructure( class Meta: name = "TravelDocumentSecurityListingRefs_RelStructure" - travel_document_security_listing_ref: Iterable[ + travel_document_security_listing_ref: Sequence[ TravelDocumentSecurityListingRef ] = field( default_factory=list, diff --git a/netex/models/travel_documents_in_frame_rel_structure.py b/netex/models/travel_documents_in_frame_rel_structure.py index d7c390f59..27d138f6f 100644 --- a/netex/models/travel_documents_in_frame_rel_structure.py +++ b/netex/models/travel_documents_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .frame_containment_structure import FrameContainmentStructure @@ -14,7 +14,7 @@ class TravelDocumentsInFrameRelStructure(FrameContainmentStructure): class Meta: name = "travelDocumentsInFrame_RelStructure" - travel_document: Iterable[TravelDocument] = field( + travel_document: Sequence[TravelDocument] = field( default_factory=list, metadata={ "name": "TravelDocument", diff --git a/netex/models/travel_documents_rel_structure.py b/netex/models/travel_documents_rel_structure.py index a45ee1d1d..e17de797e 100644 --- a/netex/models/travel_documents_rel_structure.py +++ b/netex/models/travel_documents_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .frame_containment_structure import FrameContainmentStructure @@ -17,7 +17,7 @@ class TravelDocumentsRelStructure(FrameContainmentStructure): class Meta: name = "travelDocuments_RelStructure" - choice: Iterable[ + choice: Sequence[ ServiceAccessCodeRef | TravelDocumentRef | TravelDocument diff --git a/netex/models/travel_specification_journey_refs_rel_structure.py b/netex/models/travel_specification_journey_refs_rel_structure.py index 5b63b35da..89f4b6b3c 100644 --- a/netex/models/travel_specification_journey_refs_rel_structure.py +++ b/netex/models/travel_specification_journey_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .one_to_many_relationship_structure import OneToManyRelationshipStructure @@ -19,7 +19,7 @@ class TravelSpecificationJourneyRefsRelStructure( class Meta: name = "travelSpecificationJourneyRefs_RelStructure" - choice: Iterable[ + choice: Sequence[ TemplateServiceJourneyRef | ServiceJourneyRef | SingleJourneyRef diff --git a/netex/models/travel_specification_refs_rel_structure.py b/netex/models/travel_specification_refs_rel_structure.py index 5653cfd89..788b7e64c 100644 --- a/netex/models/travel_specification_refs_rel_structure.py +++ b/netex/models/travel_specification_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .offered_travel_specification_ref import OfferedTravelSpecificationRef @@ -16,7 +16,7 @@ class TravelSpecificationRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "travelSpecificationRefs_RelStructure" - travel_specification_ref: Iterable[ + travel_specification_ref: Sequence[ OfferedTravelSpecificationRef | RequestedTravelSpecificationRef | TravelSpecificationRef diff --git a/netex/models/travel_specification_summary_endpoint_structure.py b/netex/models/travel_specification_summary_endpoint_structure.py index f026a620f..bd1461863 100644 --- a/netex/models/travel_specification_summary_endpoint_structure.py +++ b/netex/models/travel_specification_summary_endpoint_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .address_ref import AddressRef @@ -144,7 +144,7 @@ class TravelSpecificationSummaryEndpointStructure: "namespace": "http://www.netex.org.uk/netex", }, ) - tariff_zone_ref: Iterable[TariffZoneRef] = field( + tariff_zone_ref: Sequence[TariffZoneRef] = field( default_factory=list, metadata={ "name": "TariffZoneRef", diff --git a/netex/models/travel_specifications_in_frame_rel_structure.py b/netex/models/travel_specifications_in_frame_rel_structure.py index 434ceff8f..4aa579742 100644 --- a/netex/models/travel_specifications_in_frame_rel_structure.py +++ b/netex/models/travel_specifications_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .frame_containment_structure import FrameContainmentStructure @@ -14,7 +14,7 @@ class TravelSpecificationsInFrameRelStructure(FrameContainmentStructure): class Meta: name = "travelSpecificationsInFrame_RelStructure" - travel_specification: Iterable[TravelSpecification1] = field( + travel_specification: Sequence[TravelSpecification1] = field( default_factory=list, metadata={ "name": "TravelSpecification", diff --git a/netex/models/travel_specifications_rel_structure.py b/netex/models/travel_specifications_rel_structure.py index 457abaa64..7704afd6f 100644 --- a/netex/models/travel_specifications_rel_structure.py +++ b/netex/models/travel_specifications_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -20,7 +20,7 @@ class TravelSpecificationsRelStructure(ContainmentAggregationStructure): class Meta: name = "travelSpecifications_RelStructure" - travel_specification_ref_or_travel_specification: Iterable[ + travel_specification_ref_or_travel_specification: Sequence[ OfferedTravelSpecificationRef | RequestedTravelSpecificationRef | TravelSpecificationRef diff --git a/netex/models/trolley_stand_equipment_version_structure.py b/netex/models/trolley_stand_equipment_version_structure.py index a86d3b23f..59a4556f4 100644 --- a/netex/models/trolley_stand_equipment_version_structure.py +++ b/netex/models/trolley_stand_equipment_version_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from decimal import Decimal @@ -42,7 +42,7 @@ class Meta: "pattern": r"[A-Z][A-Z][A-Z]", }, ) - payment_methods: Iterable[PaymentMethodEnumeration] = field( + payment_methods: Sequence[PaymentMethodEnumeration] = field( default_factory=list, metadata={ "name": "PaymentMethods", diff --git a/netex/models/turnaround_time_limit_times_rel_structure.py b/netex/models/turnaround_time_limit_times_rel_structure.py index 59ad6ece9..f569a6dcf 100644 --- a/netex/models/turnaround_time_limit_times_rel_structure.py +++ b/netex/models/turnaround_time_limit_times_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .strict_containment_aggregation_structure import ( @@ -18,7 +18,7 @@ class TurnaroundTimeLimitTimesRelStructure( class Meta: name = "turnaroundTimeLimitTimes_RelStructure" - turnaround_time_limit_time: Iterable[TurnaroundTimeLimitTime] = field( + turnaround_time_limit_time: Sequence[TurnaroundTimeLimitTime] = field( default_factory=list, metadata={ "name": "TurnaroundTimeLimitTime", diff --git a/netex/models/type_of_access_right_assignment_refs_rel_structure.py b/netex/models/type_of_access_right_assignment_refs_rel_structure.py index 130475e3e..3f1ff7611 100644 --- a/netex/models/type_of_access_right_assignment_refs_rel_structure.py +++ b/netex/models/type_of_access_right_assignment_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .one_to_many_relationship_structure import OneToManyRelationshipStructure @@ -16,7 +16,7 @@ class TypeOfAccessRightAssignmentRefsRelStructure( class Meta: name = "TypeOfAccessRightAssignmentRefs_RelStructure" - type_of_access_right_assignment_ref: Iterable[ + type_of_access_right_assignment_ref: Sequence[ TypeOfAccessRightAssignmentRef ] = field( default_factory=list, diff --git a/netex/models/type_of_access_right_assignments_rel_structure.py b/netex/models/type_of_access_right_assignments_rel_structure.py index 8a5a8cea3..d332f0cd2 100644 --- a/netex/models/type_of_access_right_assignments_rel_structure.py +++ b/netex/models/type_of_access_right_assignments_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -17,7 +17,7 @@ class TypeOfAccessRightAssignmentsRelStructure( class Meta: name = "TypeOfAccessRightAssignments_RelStructure" - type_of_access_right_assignment_ref_or_type_of_access_right_assignment: Iterable[ + type_of_access_right_assignment_ref_or_type_of_access_right_assignment: Sequence[ TypeOfAccessRightAssignmentRef | TypeOfAccessRightAssignment ] = field( default_factory=list, diff --git a/netex/models/type_of_concessions_rel_structure.py b/netex/models/type_of_concessions_rel_structure.py index 1127d63a5..b67a3cef2 100644 --- a/netex/models/type_of_concessions_rel_structure.py +++ b/netex/models/type_of_concessions_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -15,7 +15,7 @@ class TypeOfConcessionsRelStructure(ContainmentAggregationStructure): class Meta: name = "typeOfConcessions_RelStructure" - type_of_concession_ref_or_type_of_concession: Iterable[ + type_of_concession_ref_or_type_of_concession: Sequence[ TypeOfConcessionRef | TypeOfConcession ] = field( default_factory=list, diff --git a/netex/models/type_of_customer_account_refs_rel_structure.py b/netex/models/type_of_customer_account_refs_rel_structure.py index f90707594..ff50b1954 100644 --- a/netex/models/type_of_customer_account_refs_rel_structure.py +++ b/netex/models/type_of_customer_account_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .one_to_many_relationship_structure import OneToManyRelationshipStructure @@ -14,7 +14,7 @@ class TypeOfCustomerAccountRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "typeOfCustomerAccountRefs_RelStructure" - type_of_customer_account_ref: Iterable[TypeOfCustomerAccountRef] = field( + type_of_customer_account_ref: Sequence[TypeOfCustomerAccountRef] = field( default_factory=list, metadata={ "name": "TypeOfCustomerAccountRef", diff --git a/netex/models/type_of_entity_refs_rel_structure.py b/netex/models/type_of_entity_refs_rel_structure.py index 8564a7867..3c66ca8a2 100644 --- a/netex/models/type_of_entity_refs_rel_structure.py +++ b/netex/models/type_of_entity_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .all_distribution_channels_ref import AllDistributionChannelsRef @@ -65,7 +65,7 @@ class TypeOfEntityRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "typeOfEntityRefs_RelStructure" - choice: Iterable[ + choice: Sequence[ TypeOfRetailDeviceRef | CustomerAccountStatusRef | TypeOfCustomerAccountRef diff --git a/netex/models/type_of_facility_refs_rel_structure.py b/netex/models/type_of_facility_refs_rel_structure.py index fcfcb6c40..30a9e6037 100644 --- a/netex/models/type_of_facility_refs_rel_structure.py +++ b/netex/models/type_of_facility_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .one_to_many_relationship_structure import OneToManyRelationshipStructure @@ -14,7 +14,7 @@ class TypeOfFacilityRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "typeOfFacilityRefs_RelStructure" - type_of_facility_ref: Iterable[TypeOfFacilityRef] = field( + type_of_facility_ref: Sequence[TypeOfFacilityRef] = field( default_factory=list, metadata={ "name": "TypeOfFacilityRef", diff --git a/netex/models/type_of_fare_contract_entry_refs_rel_structure.py b/netex/models/type_of_fare_contract_entry_refs_rel_structure.py index fd15c742f..19002088f 100644 --- a/netex/models/type_of_fare_contract_entry_refs_rel_structure.py +++ b/netex/models/type_of_fare_contract_entry_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .one_to_many_relationship_structure import OneToManyRelationshipStructure @@ -14,7 +14,7 @@ class TypeOfFareContractEntryRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "typeOfFareContractEntryRefs_RelStructure" - type_of_fare_contract_entry_ref: Iterable[TypeOfFareContractEntryRef] = ( + type_of_fare_contract_entry_ref: Sequence[TypeOfFareContractEntryRef] = ( field( default_factory=list, metadata={ diff --git a/netex/models/type_of_fare_contract_refs_rel_structure.py b/netex/models/type_of_fare_contract_refs_rel_structure.py index a5b8216a2..535e46718 100644 --- a/netex/models/type_of_fare_contract_refs_rel_structure.py +++ b/netex/models/type_of_fare_contract_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .one_to_many_relationship_structure import OneToManyRelationshipStructure @@ -14,7 +14,7 @@ class TypeOfFareContractRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "typeOfFareContractRefs_RelStructure" - type_of_fare_contract_ref: Iterable[TypeOfFareContractRef] = field( + type_of_fare_contract_ref: Sequence[TypeOfFareContractRef] = field( default_factory=list, metadata={ "name": "TypeOfFareContractRef", diff --git a/netex/models/type_of_fare_product_refs_rel_structure.py b/netex/models/type_of_fare_product_refs_rel_structure.py index 64587953c..764fc7f43 100644 --- a/netex/models/type_of_fare_product_refs_rel_structure.py +++ b/netex/models/type_of_fare_product_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .one_to_many_relationship_structure import OneToManyRelationshipStructure @@ -14,7 +14,7 @@ class TypeOfFareProductRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "typeOfFareProductRefs_RelStructure" - type_of_fare_product_ref: Iterable[TypeOfFareProductRef] = field( + type_of_fare_product_ref: Sequence[TypeOfFareProductRef] = field( default_factory=list, metadata={ "name": "TypeOfFareProductRef", diff --git a/netex/models/type_of_fare_products_rel_structure.py b/netex/models/type_of_fare_products_rel_structure.py index 3c3d4a188..197396fe3 100644 --- a/netex/models/type_of_fare_products_rel_structure.py +++ b/netex/models/type_of_fare_products_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -15,7 +15,7 @@ class TypeOfFareProductsRelStructure(ContainmentAggregationStructure): class Meta: name = "typeOfFareProducts_RelStructure" - type_of_fare_product_ref_or_type_of_fare_product: Iterable[ + type_of_fare_product_ref_or_type_of_fare_product: Sequence[ TypeOfFareProductRef | TypeOfFareProduct ] = field( default_factory=list, diff --git a/netex/models/type_of_frame_refs_rel_structure.py b/netex/models/type_of_frame_refs_rel_structure.py index 3d946961f..9d7d7c175 100644 --- a/netex/models/type_of_frame_refs_rel_structure.py +++ b/netex/models/type_of_frame_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .one_to_many_relationship_structure import OneToManyRelationshipStructure @@ -14,7 +14,7 @@ class TypeOfFrameRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "typeOfFrameRefs_RelStructure" - type_of_frame_ref: Iterable[TypeOfFrameRef] = field( + type_of_frame_ref: Sequence[TypeOfFrameRef] = field( default_factory=list, metadata={ "name": "TypeOfFrameRef", diff --git a/netex/models/type_of_machine_readability_refs_rel_structure.py b/netex/models/type_of_machine_readability_refs_rel_structure.py index dca5f8a24..fa696ce98 100644 --- a/netex/models/type_of_machine_readability_refs_rel_structure.py +++ b/netex/models/type_of_machine_readability_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .one_to_many_relationship_structure import OneToManyRelationshipStructure @@ -14,7 +14,7 @@ class TypeOfMachineReadabilityRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "TypeOfMachineReadabilityRefs_RelStructure" - type_of_machine_readability_ref: Iterable[TypeOfMachineReadabilityRef] = ( + type_of_machine_readability_ref: Sequence[TypeOfMachineReadabilityRef] = ( field( default_factory=list, metadata={ diff --git a/netex/models/type_of_organisation_refs_rel_structure.py b/netex/models/type_of_organisation_refs_rel_structure.py index 4a26be82a..4802d3415 100644 --- a/netex/models/type_of_organisation_refs_rel_structure.py +++ b/netex/models/type_of_organisation_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .one_to_many_relationship_structure import OneToManyRelationshipStructure @@ -14,7 +14,7 @@ class TypeOfOrganisationRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "typeOfOrganisationRefs_RelStructure" - type_of_organisation_ref: Iterable[TypeOfOrganisationRef] = field( + type_of_organisation_ref: Sequence[TypeOfOrganisationRef] = field( default_factory=list, metadata={ "name": "TypeOfOrganisationRef", diff --git a/netex/models/type_of_payment_method_refs_rel_structure.py b/netex/models/type_of_payment_method_refs_rel_structure.py index 7a22bed42..32c3ca30e 100644 --- a/netex/models/type_of_payment_method_refs_rel_structure.py +++ b/netex/models/type_of_payment_method_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .one_to_many_relationship_structure import OneToManyRelationshipStructure @@ -14,7 +14,7 @@ class TypeOfPaymentMethodRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "TypeOfPaymentMethodRefs_RelStructure" - type_of_payment_method_ref: Iterable[TypeOfPaymentMethodRef] = field( + type_of_payment_method_ref: Sequence[TypeOfPaymentMethodRef] = field( default_factory=list, metadata={ "name": "TypeOfPaymentMethodRef", diff --git a/netex/models/type_of_place_refs_rel_structure.py b/netex/models/type_of_place_refs_rel_structure.py index 8bb63838a..2e044b447 100644 --- a/netex/models/type_of_place_refs_rel_structure.py +++ b/netex/models/type_of_place_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .one_to_many_relationship_structure import OneToManyRelationshipStructure @@ -14,7 +14,7 @@ class TypeOfPlaceRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "typeOfPlaceRefs_RelStructure" - type_of_place_ref: Iterable[TypeOfPlaceRef] = field( + type_of_place_ref: Sequence[TypeOfPlaceRef] = field( default_factory=list, metadata={ "name": "TypeOfPlaceRef", diff --git a/netex/models/type_of_point_refs_rel_structure.py b/netex/models/type_of_point_refs_rel_structure.py index f99072589..439e50191 100644 --- a/netex/models/type_of_point_refs_rel_structure.py +++ b/netex/models/type_of_point_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .one_to_many_relationship_structure import OneToManyRelationshipStructure @@ -14,7 +14,7 @@ class TypeOfPointRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "typeOfPointRefs_RelStructure" - type_of_point_ref: Iterable[TypeOfPointRef] = field( + type_of_point_ref: Sequence[TypeOfPointRef] = field( default_factory=list, metadata={ "name": "TypeOfPointRef", diff --git a/netex/models/type_of_pricing_rule_refs_rel_structure.py b/netex/models/type_of_pricing_rule_refs_rel_structure.py index c320887db..38fbad9b4 100644 --- a/netex/models/type_of_pricing_rule_refs_rel_structure.py +++ b/netex/models/type_of_pricing_rule_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .one_to_many_relationship_structure import OneToManyRelationshipStructure @@ -14,7 +14,7 @@ class TypeOfPricingRuleRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "TypeOfPricingRuleRefs_RelStructure" - type_of_pricing_rule_ref: Iterable[TypeOfPricingRuleRef] = field( + type_of_pricing_rule_ref: Sequence[TypeOfPricingRuleRef] = field( default_factory=list, metadata={ "name": "TypeOfPricingRuleRef", diff --git a/netex/models/type_of_product_category_refs_rel_structure.py b/netex/models/type_of_product_category_refs_rel_structure.py index 9ac6e060a..d65cc3fc0 100644 --- a/netex/models/type_of_product_category_refs_rel_structure.py +++ b/netex/models/type_of_product_category_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .one_to_many_relationship_structure import OneToManyRelationshipStructure @@ -14,7 +14,7 @@ class TypeOfProductCategoryRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "typeOfProductCategoryRefs_RelStructure" - type_of_product_category_ref: Iterable[TypeOfProductCategoryRef] = field( + type_of_product_category_ref: Sequence[TypeOfProductCategoryRef] = field( default_factory=list, metadata={ "name": "TypeOfProductCategoryRef", diff --git a/netex/models/type_of_retail_device_refs_rel_structure.py b/netex/models/type_of_retail_device_refs_rel_structure.py index 0b3674967..5a7325c87 100644 --- a/netex/models/type_of_retail_device_refs_rel_structure.py +++ b/netex/models/type_of_retail_device_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .one_to_many_relationship_structure import OneToManyRelationshipStructure @@ -14,7 +14,7 @@ class TypeOfRetailDeviceRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "typeOfRetailDeviceRefs_RelStructure" - type_of_retail_device_ref: Iterable[TypeOfRetailDeviceRef] = field( + type_of_retail_device_ref: Sequence[TypeOfRetailDeviceRef] = field( default_factory=list, metadata={ "name": "TypeOfRetailDeviceRef", diff --git a/netex/models/type_of_security_list_refs_rel_structure.py b/netex/models/type_of_security_list_refs_rel_structure.py index 8563ae43b..16d016dee 100644 --- a/netex/models/type_of_security_list_refs_rel_structure.py +++ b/netex/models/type_of_security_list_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .one_to_many_relationship_structure import OneToManyRelationshipStructure @@ -14,7 +14,7 @@ class TypeOfSecurityListRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "typeOfSecurityListRefs_RelStructure" - type_of_security_list_ref: Iterable[TypeOfSecurityListRef] = field( + type_of_security_list_ref: Sequence[TypeOfSecurityListRef] = field( default_factory=list, metadata={ "name": "TypeOfSecurityListRef", diff --git a/netex/models/type_of_service_feature_refs_rel_structure.py b/netex/models/type_of_service_feature_refs_rel_structure.py index 0b2ad6fad..94c9e8194 100644 --- a/netex/models/type_of_service_feature_refs_rel_structure.py +++ b/netex/models/type_of_service_feature_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .one_to_many_relationship_structure import OneToManyRelationshipStructure @@ -14,7 +14,7 @@ class TypeOfServiceFeatureRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "typeOfServiceFeatureRefs_RelStructure" - type_of_service_feature_ref: Iterable[TypeOfServiceFeatureRef] = field( + type_of_service_feature_ref: Sequence[TypeOfServiceFeatureRef] = field( default_factory=list, metadata={ "name": "TypeOfServiceFeatureRef", diff --git a/netex/models/type_of_service_refs_rel_structure.py b/netex/models/type_of_service_refs_rel_structure.py index 9112d8ee6..27e6d7da3 100644 --- a/netex/models/type_of_service_refs_rel_structure.py +++ b/netex/models/type_of_service_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .one_to_many_relationship_structure import OneToManyRelationshipStructure @@ -14,7 +14,7 @@ class TypeOfServiceRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "typeOfServiceRefs_RelStructure" - type_of_service_ref: Iterable[TypeOfServiceRef] = field( + type_of_service_ref: Sequence[TypeOfServiceRef] = field( default_factory=list, metadata={ "name": "TypeOfServiceRef", diff --git a/netex/models/type_of_travel_document_refs_rel_structure.py b/netex/models/type_of_travel_document_refs_rel_structure.py index c45857637..136979514 100644 --- a/netex/models/type_of_travel_document_refs_rel_structure.py +++ b/netex/models/type_of_travel_document_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .one_to_many_relationship_structure import OneToManyRelationshipStructure @@ -14,7 +14,7 @@ class TypeOfTravelDocumentRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "TypeOfTravelDocumentRefs_RelStructure" - type_of_travel_document_ref: Iterable[TypeOfTravelDocumentRef] = field( + type_of_travel_document_ref: Sequence[TypeOfTravelDocumentRef] = field( default_factory=list, metadata={ "name": "TypeOfTravelDocumentRef", diff --git a/netex/models/type_of_travel_document_version_structure.py b/netex/models/type_of_travel_document_version_structure.py index a54217cb4..3b70a2ce2 100644 --- a/netex/models/type_of_travel_document_version_structure.py +++ b/netex/models/type_of_travel_document_version_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .alternative_names_rel_structure import AlternativeNamesRelStructure @@ -51,7 +51,7 @@ class Meta: "namespace": "http://www.netex.org.uk/netex", }, ) - machine_readable: Iterable[MachineReadableEnumeration] = field( + machine_readable: Sequence[MachineReadableEnumeration] = field( default_factory=list, metadata={ "name": "MachineReadable", diff --git a/netex/models/type_of_usage_parameters_rel_structure.py b/netex/models/type_of_usage_parameters_rel_structure.py index 2f7ad7486..9b57f1484 100644 --- a/netex/models/type_of_usage_parameters_rel_structure.py +++ b/netex/models/type_of_usage_parameters_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -15,7 +15,7 @@ class TypeOfUsageParametersRelStructure(ContainmentAggregationStructure): class Meta: name = "typeOfUsageParameters_RelStructure" - type_of_usage_parameter_ref_or_type_of_usage_parameter: Iterable[ + type_of_usage_parameter_ref_or_type_of_usage_parameter: Sequence[ TypeOfUsageParameterRef | TypeOfUsageParameter ] = field( default_factory=list, diff --git a/netex/models/type_of_zone_refs_rel_structure.py b/netex/models/type_of_zone_refs_rel_structure.py index a7951abea..12e4ed3cd 100644 --- a/netex/models/type_of_zone_refs_rel_structure.py +++ b/netex/models/type_of_zone_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .one_to_many_relationship_structure import OneToManyRelationshipStructure @@ -14,7 +14,7 @@ class TypeOfZoneRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "typeOfZoneRefs_RelStructure" - type_of_zone_ref: Iterable[TypeOfZoneRef] = field( + type_of_zone_ref: Sequence[TypeOfZoneRef] = field( default_factory=list, metadata={ "name": "TypeOfZoneRef", diff --git a/netex/models/type_ofsales_offer_package_refs_rel_structure.py b/netex/models/type_ofsales_offer_package_refs_rel_structure.py index 36ac26ab6..fa30d24f4 100644 --- a/netex/models/type_ofsales_offer_package_refs_rel_structure.py +++ b/netex/models/type_ofsales_offer_package_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .one_to_many_relationship_structure import OneToManyRelationshipStructure @@ -14,7 +14,7 @@ class TypeOfsalesOfferPackageRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "typeOfsalesOfferPackageRefs_RelStructure" - type_of_sales_offer_package_ref: Iterable[TypeOfSalesOfferPackageRef] = ( + type_of_sales_offer_package_ref: Sequence[TypeOfSalesOfferPackageRef] = ( field( default_factory=list, metadata={ diff --git a/netex/models/types_of_account_status_rel_structure.py b/netex/models/types_of_account_status_rel_structure.py index 45303bb52..ae40a097c 100644 --- a/netex/models/types_of_account_status_rel_structure.py +++ b/netex/models/types_of_account_status_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -15,7 +15,7 @@ class TypesOfAccountStatusRelStructure(ContainmentAggregationStructure): class Meta: name = "typesOfAccountStatus_RelStructure" - customer_account_status_ref_or_customer_account_status: Iterable[ + customer_account_status_ref_or_customer_account_status: Sequence[ CustomerAccountStatusRef | CustomerAccountStatus ] = field( default_factory=list, diff --git a/netex/models/types_of_customer_account_rel_structure.py b/netex/models/types_of_customer_account_rel_structure.py index 6cd94b703..c1aa87325 100644 --- a/netex/models/types_of_customer_account_rel_structure.py +++ b/netex/models/types_of_customer_account_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -15,7 +15,7 @@ class TypesOfCustomerAccountRelStructure(ContainmentAggregationStructure): class Meta: name = "typesOfCustomerAccount_RelStructure" - type_of_customer_account_ref_or_type_of_customer_account: Iterable[ + type_of_customer_account_ref_or_type_of_customer_account: Sequence[ TypeOfCustomerAccountRef | TypeOfCustomerAccount ] = field( default_factory=list, diff --git a/netex/models/types_of_equipment_rel_structure.py b/netex/models/types_of_equipment_rel_structure.py index bf8052245..df8b7ac83 100644 --- a/netex/models/types_of_equipment_rel_structure.py +++ b/netex/models/types_of_equipment_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .one_to_many_relationship_structure import OneToManyRelationshipStructure @@ -15,7 +15,7 @@ class TypesOfEquipmentRelStructure(OneToManyRelationshipStructure): class Meta: name = "typesOfEquipment_RelStructure" - type_of_equipment_ref_or_type_of_equipment: Iterable[ + type_of_equipment_ref_or_type_of_equipment: Sequence[ TypeOfEquipmentRef | TypeOfEquipment ] = field( default_factory=list, diff --git a/netex/models/types_of_facility_rel_structure.py b/netex/models/types_of_facility_rel_structure.py index dd39e3855..bc5540c5b 100644 --- a/netex/models/types_of_facility_rel_structure.py +++ b/netex/models/types_of_facility_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -15,7 +15,7 @@ class TypesOfFacilityRelStructure(ContainmentAggregationStructure): class Meta: name = "typesOfFacility_RelStructure" - type_of_facility_ref_or_type_of_facility: Iterable[ + type_of_facility_ref_or_type_of_facility: Sequence[ TypeOfFacilityRef | TypeOfFacility ] = field( default_factory=list, diff --git a/netex/models/types_of_fare_contract_entry_rel_structure.py b/netex/models/types_of_fare_contract_entry_rel_structure.py index 36fbdc7a4..6763be1ca 100644 --- a/netex/models/types_of_fare_contract_entry_rel_structure.py +++ b/netex/models/types_of_fare_contract_entry_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -15,7 +15,7 @@ class TypesOfFareContractEntryRelStructure(ContainmentAggregationStructure): class Meta: name = "typesOfFareContractEntry_RelStructure" - type_of_fare_contract_entry_ref_or_type_of_fare_contract_entry: Iterable[ + type_of_fare_contract_entry_ref_or_type_of_fare_contract_entry: Sequence[ TypeOfFareContractEntryRef | TypeOfFareContractEntry ] = field( default_factory=list, diff --git a/netex/models/types_of_fare_contract_rel_structure.py b/netex/models/types_of_fare_contract_rel_structure.py index 49881be37..e528ee75c 100644 --- a/netex/models/types_of_fare_contract_rel_structure.py +++ b/netex/models/types_of_fare_contract_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -15,7 +15,7 @@ class TypesOfFareContractRelStructure(ContainmentAggregationStructure): class Meta: name = "typesOfFareContract_RelStructure" - type_of_fare_contract_ref_or_type_of_fare_contract: Iterable[ + type_of_fare_contract_ref_or_type_of_fare_contract: Sequence[ TypeOfFareContractRef | TypeOfFareContract ] = field( default_factory=list, diff --git a/netex/models/types_of_frame_rel_structure.py b/netex/models/types_of_frame_rel_structure.py index ba9c69222..aea7927f6 100644 --- a/netex/models/types_of_frame_rel_structure.py +++ b/netex/models/types_of_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from typing import ForwardRef @@ -24,7 +24,7 @@ class TypesOfFrameRelStructure(OneToManyRelationshipStructure): class Meta: name = "typesOfFrame_RelStructure" - type_of_frame_ref_or_type_of_frame: Iterable[ + type_of_frame_ref_or_type_of_frame: Sequence[ TypeOfFrameRef | TypeOfFrame ] = field( default_factory=list, diff --git a/netex/models/types_of_machine_readabilities_rel_structure.py b/netex/models/types_of_machine_readabilities_rel_structure.py index 8c1da56dc..7f01734c2 100644 --- a/netex/models/types_of_machine_readabilities_rel_structure.py +++ b/netex/models/types_of_machine_readabilities_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class TypesOfMachineReadabilitiesRelStructure(ContainmentAggregationStructure): class Meta: name = "typesOfMachineReadabilities_RelStructure" - type_of_machine_readability_ref: Iterable[TypeOfMachineReadabilityRef] = ( + type_of_machine_readability_ref: Sequence[TypeOfMachineReadabilityRef] = ( field( default_factory=list, metadata={ diff --git a/netex/models/types_of_proof_refs_rel_structure.py b/netex/models/types_of_proof_refs_rel_structure.py index 75e1c5436..97eb44e63 100644 --- a/netex/models/types_of_proof_refs_rel_structure.py +++ b/netex/models/types_of_proof_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .one_to_many_relationship_structure import OneToManyRelationshipStructure @@ -14,7 +14,7 @@ class TypesOfProofRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "typesOfProofRefs_RelStructure" - type_of_proof_ref: Iterable[TypeOfProofRef] = field( + type_of_proof_ref: Sequence[TypeOfProofRef] = field( default_factory=list, metadata={ "name": "TypeOfProofRef", diff --git a/netex/models/types_of_retail_device_rel_structure.py b/netex/models/types_of_retail_device_rel_structure.py index eb8166c1b..df85bd3a3 100644 --- a/netex/models/types_of_retail_device_rel_structure.py +++ b/netex/models/types_of_retail_device_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -15,7 +15,7 @@ class TypesOfRetailDeviceRelStructure(ContainmentAggregationStructure): class Meta: name = "typesOfRetailDevice_RelStructure" - type_of_retail_device_ref_or_type_of_retail_device: Iterable[ + type_of_retail_device_ref_or_type_of_retail_device: Sequence[ TypeOfRetailDeviceRef | TypeOfRetailDevice ] = field( default_factory=list, diff --git a/netex/models/types_of_sales_offer_package_rel_structure.py b/netex/models/types_of_sales_offer_package_rel_structure.py index 62aaf966b..4ed3a7294 100644 --- a/netex/models/types_of_sales_offer_package_rel_structure.py +++ b/netex/models/types_of_sales_offer_package_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -15,7 +15,7 @@ class TypesOfSalesOfferPackageRelStructure(ContainmentAggregationStructure): class Meta: name = "typesOfSalesOfferPackage_RelStructure" - type_of_sales_offer_package_ref_or_type_of_sales_offer_package: Iterable[ + type_of_sales_offer_package_ref_or_type_of_sales_offer_package: Sequence[ TypeOfSalesOfferPackageRef | TypeOfSalesOfferPackage ] = field( default_factory=list, diff --git a/netex/models/types_of_security_list_rel_structure.py b/netex/models/types_of_security_list_rel_structure.py index a690ef52b..7e6301f70 100644 --- a/netex/models/types_of_security_list_rel_structure.py +++ b/netex/models/types_of_security_list_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -15,7 +15,7 @@ class TypesOfSecurityListRelStructure(ContainmentAggregationStructure): class Meta: name = "typesOfSecurityList_RelStructure" - type_of_security_list_ref_or_type_of_security_list: Iterable[ + type_of_security_list_ref_or_type_of_security_list: Sequence[ TypeOfSecurityListRef | TypeOfSecurityList ] = field( default_factory=list, diff --git a/netex/models/types_of_service_in_frame_rel_structure.py b/netex/models/types_of_service_in_frame_rel_structure.py index ec1b65212..ececf139c 100644 --- a/netex/models/types_of_service_in_frame_rel_structure.py +++ b/netex/models/types_of_service_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class TypesOfServiceInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "typesOfServiceInFrame_RelStructure" - type_of_service: Iterable[TypeOfService] = field( + type_of_service: Sequence[TypeOfService] = field( default_factory=list, metadata={ "name": "TypeOfService", diff --git a/netex/models/types_of_travel_document_in_frame_rel_structure.py b/netex/models/types_of_travel_document_in_frame_rel_structure.py index 53f13c8b4..234ebda1e 100644 --- a/netex/models/types_of_travel_document_in_frame_rel_structure.py +++ b/netex/models/types_of_travel_document_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .frame_containment_structure import FrameContainmentStructure @@ -14,7 +14,7 @@ class TypesOfTravelDocumentInFrameRelStructure(FrameContainmentStructure): class Meta: name = "typesOfTravelDocumentInFrame_RelStructure" - type_of_travel_document: Iterable[TypeOfTravelDocument] = field( + type_of_travel_document: Sequence[TypeOfTravelDocument] = field( default_factory=list, metadata={ "name": "TypeOfTravelDocument", diff --git a/netex/models/types_of_travel_documents_rel_structure.py b/netex/models/types_of_travel_documents_rel_structure.py index 7e1dbf16e..a95f1be36 100644 --- a/netex/models/types_of_travel_documents_rel_structure.py +++ b/netex/models/types_of_travel_documents_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -15,7 +15,7 @@ class TypesOfTravelDocumentsRelStructure(ContainmentAggregationStructure): class Meta: name = "typesOfTravelDocuments_RelStructure" - type_of_travel_document_ref_or_type_of_travel_document: Iterable[ + type_of_travel_document_ref_or_type_of_travel_document: Sequence[ TypeOfTravelDocumentRef | TypeOfTravelDocument ] = field( default_factory=list, diff --git a/netex/models/types_of_value_in_frame_rel_structure.py b/netex/models/types_of_value_in_frame_rel_structure.py index 8a45d3ac3..d126a56ae 100644 --- a/netex/models/types_of_value_in_frame_rel_structure.py +++ b/netex/models/types_of_value_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .branding import Branding @@ -89,7 +89,7 @@ class TypesOfValueInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "typesOfValueInFrame_RelStructure" - choice: Iterable[ + choice: Sequence[ ValueSet | TypeOfFleet | ParkingBayStatus diff --git a/netex/models/types_of_value_structure.py b/netex/models/types_of_value_structure.py index 647db7f1d..a3d497a4e 100644 --- a/netex/models/types_of_value_structure.py +++ b/netex/models/types_of_value_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .branding import Branding @@ -90,7 +90,7 @@ class TypesOfValueStructure(StrictContainmentAggregationStructure): class Meta: name = "typesOfValueStructure" - type_of_value_or_type_of_entity: Iterable[ + type_of_value_or_type_of_entity: Sequence[ TypeOfFleet | ParkingBayStatus | TypeOfMediumAccessDevice diff --git a/netex/models/uic_product_characteristic_list.py b/netex/models/uic_product_characteristic_list.py index 946c85160..c871ac589 100644 --- a/netex/models/uic_product_characteristic_list.py +++ b/netex/models/uic_product_characteristic_list.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .uic_product_characteristic_enumeration import ( @@ -15,7 +15,7 @@ class UicProductCharacteristicList: class Meta: namespace = "http://www.netex.org.uk/netex" - value: Iterable[UicProductCharacteristicEnumeration] = field( + value: Sequence[UicProductCharacteristicEnumeration] = field( default_factory=list, metadata={ "tokens": True, diff --git a/netex/models/unknown_extensions_error_structure.py b/netex/models/unknown_extensions_error_structure.py index ec1097e0d..e4b91d6d3 100644 --- a/netex/models/unknown_extensions_error_structure.py +++ b/netex/models/unknown_extensions_error_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .error_code_structure import ErrorCodeStructure @@ -10,7 +10,7 @@ @dataclass(kw_only=True) class UnknownExtensionsErrorStructure(ErrorCodeStructure): - extension_name: Iterable[str] = field( + extension_name: Sequence[str] = field( default_factory=list, metadata={ "name": "ExtensionName", diff --git a/netex/models/usage_parameter_price_refs_rel_structure.py b/netex/models/usage_parameter_price_refs_rel_structure.py index 06a1eaac9..f77e484ae 100644 --- a/netex/models/usage_parameter_price_refs_rel_structure.py +++ b/netex/models/usage_parameter_price_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .strict_containment_aggregation_structure import ( @@ -18,7 +18,7 @@ class UsageParameterPriceRefsRelStructure( class Meta: name = "usageParameterPriceRefs_RelStructure" - usage_parameter_price_ref: Iterable[UsageParameterPriceRef] = field( + usage_parameter_price_ref: Sequence[UsageParameterPriceRef] = field( default_factory=list, metadata={ "name": "UsageParameterPriceRef", diff --git a/netex/models/usage_parameter_prices_rel_structure.py b/netex/models/usage_parameter_prices_rel_structure.py index d96b1a773..f679d39c1 100644 --- a/netex/models/usage_parameter_prices_rel_structure.py +++ b/netex/models/usage_parameter_prices_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .cell_ref import CellRef @@ -18,7 +18,7 @@ class UsageParameterPricesRelStructure(StrictContainmentAggregationStructure): class Meta: name = "usageParameterPrices_RelStructure" - usage_parameter_price_ref_or_usage_parameter_price_or_cell_ref: Iterable[ + usage_parameter_price_ref_or_usage_parameter_price_or_cell_ref: Sequence[ UsageParameterPriceRef | UsageParameterPrice | CellRef ] = field( default_factory=list, diff --git a/netex/models/usage_parameter_refs_rel_structure.py b/netex/models/usage_parameter_refs_rel_structure.py index 1671a1339..6a3e4889d 100644 --- a/netex/models/usage_parameter_refs_rel_structure.py +++ b/netex/models/usage_parameter_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .additional_driver_option_ref import AdditionalDriverOptionRef @@ -52,7 +52,7 @@ class UsageParameterRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "usageParameterRefs_RelStructure" - choice: Iterable[ + choice: Sequence[ AdditionalDriverOptionRef | RentalOptionRef | RentalPenaltyPolicyRef diff --git a/netex/models/usage_parameters_in_frame_rel_structure.py b/netex/models/usage_parameters_in_frame_rel_structure.py index 69472dc6b..7641488a8 100644 --- a/netex/models/usage_parameters_in_frame_rel_structure.py +++ b/netex/models/usage_parameters_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .additional_driver_option import AdditionalDriverOption @@ -50,7 +50,7 @@ class UsageParametersInFrameRelStructure(FrameContainmentStructure): class Meta: name = "usageParametersInFrame_RelStructure" - usage_parameter: Iterable[ + usage_parameter: Sequence[ AdditionalDriverOption | RentalOption | RentalPenaltyPolicy diff --git a/netex/models/usage_parameters_rel_structure.py b/netex/models/usage_parameters_rel_structure.py index 9427b3d0d..9aeea1ef2 100644 --- a/netex/models/usage_parameters_rel_structure.py +++ b/netex/models/usage_parameters_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .additional_driver_option import AdditionalDriverOption @@ -89,7 +89,7 @@ class UsageParametersRelStructure(OneToManyRelationshipStructure): class Meta: name = "usageParameters_RelStructure" - choice: Iterable[ + choice: Sequence[ AdditionalDriverOptionRef | RentalOptionRef | RentalPenaltyPolicyRef diff --git a/netex/models/used_in_refs_rel_structure.py b/netex/models/used_in_refs_rel_structure.py index bac39904e..dcdc3c693 100644 --- a/netex/models/used_in_refs_rel_structure.py +++ b/netex/models/used_in_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .group_of_distance_matrix_elements_ref import ( @@ -19,7 +19,7 @@ class UsedInRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "usedInRefs_RelStructure" - choice: Iterable[ + choice: Sequence[ ParkingTariffRef | TariffRef | GroupOfDistanceMatrixElementsRef diff --git a/netex/models/user_profile_refs_rel_structure.py b/netex/models/user_profile_refs_rel_structure.py index c346b635d..b5f744f43 100644 --- a/netex/models/user_profile_refs_rel_structure.py +++ b/netex/models/user_profile_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .companion_profile_ref import CompanionProfileRef @@ -16,7 +16,7 @@ class UserProfileRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "userProfileRefs_RelStructure" - user_profile_ref: Iterable[ + user_profile_ref: Sequence[ VehiclePoolerProfileRef | CompanionProfileRef | UserProfileRef ] = field( default_factory=list, diff --git a/netex/models/user_profile_version_structure.py b/netex/models/user_profile_version_structure.py index 6d5d52adf..c39ba10c1 100644 --- a/netex/models/user_profile_version_structure.py +++ b/netex/models/user_profile_version_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from decimal import Decimal @@ -114,7 +114,7 @@ class Meta: "namespace": "http://www.netex.org.uk/netex", }, ) - proof_required: Iterable[ProofOfIdentityEnumeration] = field( + proof_required: Sequence[ProofOfIdentityEnumeration] = field( default_factory=list, metadata={ "name": "ProofRequired", diff --git a/netex/models/validable_element_prices_rel_structure.py b/netex/models/validable_element_prices_rel_structure.py index 254b8cb39..e60f2f464 100644 --- a/netex/models/validable_element_prices_rel_structure.py +++ b/netex/models/validable_element_prices_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .cell_ref import CellRef @@ -20,7 +20,7 @@ class ValidableElementPricesRelStructure( class Meta: name = "validableElementPrices_RelStructure" - validable_element_price_ref_or_validable_element_price_or_cell_ref: Iterable[ + validable_element_price_ref_or_validable_element_price_or_cell_ref: Sequence[ ValidableElementPriceRef | ValidableElementPrice | CellRef ] = field( default_factory=list, diff --git a/netex/models/validable_elements_in_frame_rel_structure.py b/netex/models/validable_elements_in_frame_rel_structure.py index 272c42f38..5cae67c73 100644 --- a/netex/models/validable_elements_in_frame_rel_structure.py +++ b/netex/models/validable_elements_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .frame_containment_structure import FrameContainmentStructure @@ -14,7 +14,7 @@ class ValidableElementsInFrameRelStructure(FrameContainmentStructure): class Meta: name = "validableElementsInFrame_RelStructure" - validable_element: Iterable[ValidableElement] = field( + validable_element: Sequence[ValidableElement] = field( default_factory=list, metadata={ "name": "ValidableElement", diff --git a/netex/models/validable_elements_rel_structure.py b/netex/models/validable_elements_rel_structure.py index 9883fa9dd..731edd37b 100644 --- a/netex/models/validable_elements_rel_structure.py +++ b/netex/models/validable_elements_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .strict_containment_aggregation_structure import ( @@ -17,7 +17,7 @@ class ValidableElementsRelStructure(StrictContainmentAggregationStructure): class Meta: name = "validableElements_RelStructure" - validable_element_ref_or_validable_element: Iterable[ + validable_element_ref_or_validable_element: Sequence[ ValidableElementRef | ValidableElement ] = field( default_factory=list, diff --git a/netex/models/validity_condition_refs_rel_structure.py b/netex/models/validity_condition_refs_rel_structure.py index 0dae11129..275e03b32 100644 --- a/netex/models/validity_condition_refs_rel_structure.py +++ b/netex/models/validity_condition_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .availability_condition_ref import AvailabilityConditionRef @@ -17,7 +17,7 @@ class ValidityConditionRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "validityConditionRefs_RelStructure" - validity_condition_ref: Iterable[ + validity_condition_ref: Sequence[ AvailabilityConditionRef | ValidityRuleParameterRef | ValidityTriggerRef diff --git a/netex/models/validity_parameter_assignments_in_frame_rel_structure.py b/netex/models/validity_parameter_assignments_in_frame_rel_structure.py index 54f692402..53e037de6 100644 --- a/netex/models/validity_parameter_assignments_in_frame_rel_structure.py +++ b/netex/models/validity_parameter_assignments_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .frame_containment_structure import FrameContainmentStructure @@ -16,7 +16,7 @@ class ValidityParameterAssignmentsInFrameRelStructure( class Meta: name = "validityParameterAssignmentsInFrame_RelStructure" - validity_parameter_assignment: Iterable[ValidityParameterAssignment] = ( + validity_parameter_assignment: Sequence[ValidityParameterAssignment] = ( field( default_factory=list, metadata={ diff --git a/netex/models/validity_parameter_assignments_rel_structure.py b/netex/models/validity_parameter_assignments_rel_structure.py index 9eef3acf7..05010f683 100644 --- a/netex/models/validity_parameter_assignments_rel_structure.py +++ b/netex/models/validity_parameter_assignments_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .access_right_parameter_assignment import AccessRightParameterAssignment @@ -27,7 +27,7 @@ class ValidityParameterAssignmentsRelStructure( class Meta: name = "validityParameterAssignments_RelStructure" - access_right_parameter_assignment: Iterable[ + access_right_parameter_assignment: Sequence[ CustomerPurchaseParameterAssignment | SpecificParameterAssignment | GenericParameterAssignmentInContext diff --git a/netex/models/validity_parameters_rel_structure.py b/netex/models/validity_parameters_rel_structure.py index a172fb5ca..b16f84869 100644 --- a/netex/models/validity_parameters_rel_structure.py +++ b/netex/models/validity_parameters_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .access_space_ref import AccessSpaceRef @@ -173,8 +173,8 @@ class ValidityParametersRelStructure(OneToManyRelationshipStructure): class Meta: name = "validityParameters_RelStructure" - vehicle_modes_or_transport_modes: Iterable[ - Iterable[VehicleModeEnumeration] | Iterable[AllModesEnumeration] + vehicle_modes_or_transport_modes: Sequence[ + Sequence[VehicleModeEnumeration] | Sequence[AllModesEnumeration] ] = field( default_factory=list, metadata={ @@ -182,14 +182,14 @@ class Meta: "choices": ( { "name": "VehicleModes", - "type": Iterable[VehicleModeEnumeration], + "type": Sequence[VehicleModeEnumeration], "namespace": "http://www.netex.org.uk/netex", "default_factory": list, "tokens": True, }, { "name": "TransportModes", - "type": Iterable[AllModesEnumeration], + "type": Sequence[AllModesEnumeration], "namespace": "http://www.netex.org.uk/netex", "default_factory": list, "tokens": True, @@ -197,7 +197,7 @@ class Meta: ), }, ) - transport_submode: Iterable[TransportSubmode] = field( + transport_submode: Sequence[TransportSubmode] = field( default_factory=list, metadata={ "name": "TransportSubmode", @@ -206,7 +206,7 @@ class Meta: "sequence": 1, }, ) - mode_of_operation_ref_or_alternative_mode_of_operation_ref_or_conventional_mode_of_operation_ref: Iterable[ + mode_of_operation_ref_or_alternative_mode_of_operation_ref_or_conventional_mode_of_operation_ref: Sequence[ PersonalModeOfOperationRef | VehiclePoolingRef | VehicleSharingRef @@ -251,7 +251,7 @@ class Meta: ), }, ) - group_of_operators_ref: Iterable[GroupOfOperatorsRef] = field( + group_of_operators_ref: Sequence[GroupOfOperatorsRef] = field( default_factory=list, metadata={ "name": "GroupOfOperatorsRef", @@ -260,7 +260,7 @@ class Meta: "sequence": 1, }, ) - choice: Iterable[ + choice: Sequence[ AllAuthoritiesRef | AllOperatorsRef | AllPublicTransportOrganisationsRef @@ -359,7 +359,7 @@ class Meta: ), }, ) - group_of_lines_ref: Iterable[NetworkRef | GroupOfLinesRef] = field( + group_of_lines_ref: Sequence[NetworkRef | GroupOfLinesRef] = field( default_factory=list, metadata={ "type": "Elements", @@ -377,7 +377,7 @@ class Meta: ), }, ) - line_ref: Iterable[FlexibleLineRef | LineRef] = field( + line_ref: Sequence[FlexibleLineRef | LineRef] = field( default_factory=list, metadata={ "type": "Elements", @@ -395,7 +395,7 @@ class Meta: ), }, ) - type_of_line_ref: Iterable[TypeOfLineRef] = field( + type_of_line_ref: Sequence[TypeOfLineRef] = field( default_factory=list, metadata={ "name": "TypeOfLineRef", @@ -404,7 +404,7 @@ class Meta: "sequence": 1, }, ) - tariff_zone_ref: Iterable[TariffZoneRef] = field( + tariff_zone_ref: Sequence[TariffZoneRef] = field( default_factory=list, metadata={ "name": "TariffZoneRef", @@ -413,7 +413,7 @@ class Meta: "sequence": 1, }, ) - fare_zone_ref: Iterable[FareZoneRef] = field( + fare_zone_ref: Sequence[FareZoneRef] = field( default_factory=list, metadata={ "name": "FareZoneRef", @@ -422,7 +422,7 @@ class Meta: "sequence": 1, }, ) - fare_section_ref: Iterable[FareSectionRef] = field( + fare_section_ref: Sequence[FareSectionRef] = field( default_factory=list, metadata={ "name": "FareSectionRef", @@ -431,7 +431,7 @@ class Meta: "sequence": 1, }, ) - scheduled_stop_point_ref: Iterable[ + scheduled_stop_point_ref: Sequence[ FareScheduledStopPointRef | ScheduledStopPointRef ] = field( default_factory=list, @@ -451,7 +451,7 @@ class Meta: ), }, ) - vehicle_meeting_point_ref: Iterable[VehicleMeetingPointRef] = field( + vehicle_meeting_point_ref: Sequence[VehicleMeetingPointRef] = field( default_factory=list, metadata={ "name": "VehicleMeetingPointRef", @@ -460,7 +460,7 @@ class Meta: "sequence": 1, }, ) - vehicle_meeting_link_ref: Iterable[VehicleMeetingLinkRef] = field( + vehicle_meeting_link_ref: Sequence[VehicleMeetingLinkRef] = field( default_factory=list, metadata={ "name": "VehicleMeetingLinkRef", @@ -469,7 +469,7 @@ class Meta: "sequence": 1, }, ) - vehicle_meeting_place_ref: Iterable[ + vehicle_meeting_place_ref: Sequence[ VehiclePoolingMeetingPlaceRef | VehicleMeetingPlaceRef ] = field( default_factory=list, @@ -489,7 +489,7 @@ class Meta: ), }, ) - place_use: Iterable[PlaceUseEnumeration] = field( + place_use: Sequence[PlaceUseEnumeration] = field( default_factory=list, metadata={ "name": "PlaceUse", @@ -498,7 +498,7 @@ class Meta: "sequence": 1, }, ) - topographic_place_ref: Iterable[TopographicPlaceRef] = field( + topographic_place_ref: Sequence[TopographicPlaceRef] = field( default_factory=list, metadata={ "name": "TopographicPlaceRef", @@ -507,7 +507,7 @@ class Meta: "sequence": 1, }, ) - address_ref: Iterable[PostalAddressRef | RoadAddressRef | AddressRef] = ( + address_ref: Sequence[PostalAddressRef | RoadAddressRef | AddressRef] = ( field( default_factory=list, metadata={ @@ -532,7 +532,7 @@ class Meta: }, ) ) - choice_1: Iterable[ + choice_1: Sequence[ VehicleStoppingPositionRef | VehicleStoppingPlaceRef | BoardingPositionRef @@ -739,7 +739,7 @@ class Meta: ), }, ) - point_of_interest_classification_ref: Iterable[ + point_of_interest_classification_ref: Sequence[ PointOfInterestClassificationRef ] = field( default_factory=list, @@ -750,7 +750,7 @@ class Meta: "sequence": 1, }, ) - mobility_service_constraint_zone_ref: Iterable[ + mobility_service_constraint_zone_ref: Sequence[ MobilityServiceConstraintZoneRef ] = field( default_factory=list, @@ -761,7 +761,7 @@ class Meta: "sequence": 1, }, ) - routing_type: Iterable[RoutingTypeEnumeration] = field( + routing_type: Sequence[RoutingTypeEnumeration] = field( default_factory=list, metadata={ "name": "RoutingType", @@ -770,7 +770,7 @@ class Meta: "sequence": 1, }, ) - directions: Iterable[RelativeDirectionEnumeration] = field( + directions: Sequence[RelativeDirectionEnumeration] = field( default_factory=list, metadata={ "name": "Directions", @@ -779,7 +779,7 @@ class Meta: "sequence": 1, }, ) - series_constraint_ref: Iterable[SeriesConstraintRef] = field( + series_constraint_ref: Sequence[SeriesConstraintRef] = field( default_factory=list, metadata={ "name": "SeriesConstraintRef", @@ -788,7 +788,7 @@ class Meta: "sequence": 1, }, ) - service_journey_pattern_ref: Iterable[ServiceJourneyPatternRef] = field( + service_journey_pattern_ref: Sequence[ServiceJourneyPatternRef] = field( default_factory=list, metadata={ "name": "ServiceJourneyPatternRef", @@ -797,7 +797,7 @@ class Meta: "sequence": 1, }, ) - single_journey_path_ref: Iterable[SingleJourneyPathRef] = field( + single_journey_path_ref: Sequence[SingleJourneyPathRef] = field( default_factory=list, metadata={ "name": "SingleJourneyPathRef", @@ -806,7 +806,7 @@ class Meta: "sequence": 1, }, ) - class_of_use_ref: Iterable[ClassOfUseRef] = field( + class_of_use_ref: Sequence[ClassOfUseRef] = field( default_factory=list, metadata={ "name": "ClassOfUseRef", @@ -815,7 +815,7 @@ class Meta: "sequence": 1, }, ) - fare_class: Iterable[FareClass] = field( + fare_class: Sequence[FareClass] = field( default_factory=list, metadata={ "name": "FareClass", @@ -824,7 +824,7 @@ class Meta: "sequence": 1, }, ) - facility_set_ref: Iterable[ + facility_set_ref: Sequence[ ServiceFacilitySetRef | SiteFacilitySetRef | FacilitySetRef ] = field( default_factory=list, @@ -849,7 +849,7 @@ class Meta: ), }, ) - type_of_product_category_ref: Iterable[TypeOfProductCategoryRef] = field( + type_of_product_category_ref: Sequence[TypeOfProductCategoryRef] = field( default_factory=list, metadata={ "name": "TypeOfProductCategoryRef", @@ -858,7 +858,7 @@ class Meta: "sequence": 1, }, ) - service_journey_ref: Iterable[ + service_journey_ref: Sequence[ TemplateServiceJourneyRef | ServiceJourneyRef ] = field( default_factory=list, @@ -878,7 +878,7 @@ class Meta: ), }, ) - train_number_ref: Iterable[TrainNumberRef] = field( + train_number_ref: Sequence[TrainNumberRef] = field( default_factory=list, metadata={ "name": "TrainNumberRef", @@ -887,7 +887,7 @@ class Meta: "sequence": 1, }, ) - group_of_services_ref: Iterable[GroupOfServicesRef] = field( + group_of_services_ref: Sequence[GroupOfServicesRef] = field( default_factory=list, metadata={ "name": "GroupOfServicesRef", @@ -896,7 +896,7 @@ class Meta: "sequence": 1, }, ) - single_journey_ref: Iterable[SingleJourneyRef] = field( + single_journey_ref: Sequence[SingleJourneyRef] = field( default_factory=list, metadata={ "name": "SingleJourneyRef", @@ -905,7 +905,7 @@ class Meta: "sequence": 1, }, ) - group_of_single_journeys_ref: Iterable[GroupOfSingleJourneysRef] = field( + group_of_single_journeys_ref: Sequence[GroupOfSingleJourneysRef] = field( default_factory=list, metadata={ "name": "GroupOfSingleJourneysRef", @@ -914,7 +914,7 @@ class Meta: "sequence": 1, }, ) - transport_type_ref_or_vehicle_type_ref: Iterable[ + transport_type_ref_or_vehicle_type_ref: Sequence[ SimpleVehicleTypeRef | CompoundTrainRef | TrainRef @@ -953,7 +953,7 @@ class Meta: ), }, ) - vehicle_model_ref: Iterable[VehicleModelRef] = field( + vehicle_model_ref: Sequence[VehicleModelRef] = field( default_factory=list, metadata={ "name": "VehicleModelRef", @@ -962,7 +962,7 @@ class Meta: "sequence": 1, }, ) - type_of_service_ref: Iterable[TypeOfServiceRef] = field( + type_of_service_ref: Sequence[TypeOfServiceRef] = field( default_factory=list, metadata={ "name": "TypeOfServiceRef", @@ -971,7 +971,7 @@ class Meta: "sequence": 1, }, ) - vehicle_model_profile_ref: Iterable[ + vehicle_model_profile_ref: Sequence[ CycleModelProfileRef | CarModelProfileRef ] = field( default_factory=list, @@ -991,7 +991,7 @@ class Meta: ), }, ) - choice_2: Iterable[ + choice_2: Sequence[ OnlineServiceRef | VehicleRentalServiceRef | VehicleSharingServiceRef @@ -1126,7 +1126,7 @@ class Meta: ), }, ) - train_element_ref: Iterable[TrainElementRef] = field( + train_element_ref: Sequence[TrainElementRef] = field( default_factory=list, metadata={ "name": "TrainElementRef", @@ -1135,7 +1135,7 @@ class Meta: "sequence": 1, }, ) - train_component_label_assignment_ref: Iterable[ + train_component_label_assignment_ref: Sequence[ TrainComponentLabelAssignmentRef ] = field( default_factory=list, @@ -1146,7 +1146,7 @@ class Meta: "sequence": 1, }, ) - passenger_seat_ref: Iterable[PassengerSeatRef] = field( + passenger_seat_ref: Sequence[PassengerSeatRef] = field( default_factory=list, metadata={ "name": "PassengerSeatRef", @@ -1155,7 +1155,7 @@ class Meta: "sequence": 1, }, ) - vehicle_ref: Iterable[VehicleRef] = field( + vehicle_ref: Sequence[VehicleRef] = field( default_factory=list, metadata={ "name": "VehicleRef", @@ -1164,7 +1164,7 @@ class Meta: "sequence": 1, }, ) - type_of_fare_structure_factor_ref: Iterable[ + type_of_fare_structure_factor_ref: Sequence[ TypeOfFareStructureFactorRef ] = field( default_factory=list, @@ -1175,7 +1175,7 @@ class Meta: "sequence": 1, }, ) - type_of_fare_structure_element_ref: Iterable[ + type_of_fare_structure_element_ref: Sequence[ TypeOfFareStructureElementRef ] = field( default_factory=list, @@ -1186,7 +1186,7 @@ class Meta: "sequence": 1, }, ) - type_of_tariff_ref: Iterable[TypeOfTariffRef] = field( + type_of_tariff_ref: Sequence[TypeOfTariffRef] = field( default_factory=list, metadata={ "name": "TypeOfTariffRef", @@ -1195,7 +1195,7 @@ class Meta: "sequence": 1, }, ) - discounting_rule_ref_or_pricing_rule_ref: Iterable[ + discounting_rule_ref_or_pricing_rule_ref: Sequence[ LimitingRuleRef | DiscountingRuleRef | PricingRuleRef ] = field( default_factory=list, @@ -1220,7 +1220,7 @@ class Meta: ), }, ) - type_of_pricing_rule_ref: Iterable[TypeOfPricingRuleRef] = field( + type_of_pricing_rule_ref: Sequence[TypeOfPricingRuleRef] = field( default_factory=list, metadata={ "name": "TypeOfPricingRuleRef", @@ -1229,7 +1229,7 @@ class Meta: "sequence": 1, }, ) - charging_moment_ref: Iterable[ChargingMomentRef] = field( + charging_moment_ref: Sequence[ChargingMomentRef] = field( default_factory=list, metadata={ "name": "ChargingMomentRef", @@ -1238,7 +1238,7 @@ class Meta: "sequence": 1, }, ) - type_of_fare_product_ref: Iterable[TypeOfFareProductRef] = field( + type_of_fare_product_ref: Sequence[TypeOfFareProductRef] = field( default_factory=list, metadata={ "name": "TypeOfFareProductRef", @@ -1247,7 +1247,7 @@ class Meta: "sequence": 1, }, ) - type_of_usage_parameter_ref: Iterable[TypeOfUsageParameterRef] = field( + type_of_usage_parameter_ref: Sequence[TypeOfUsageParameterRef] = field( default_factory=list, metadata={ "name": "TypeOfUsageParameterRef", @@ -1256,7 +1256,7 @@ class Meta: "sequence": 1, }, ) - type_of_concession_ref: Iterable[TypeOfConcessionRef] = field( + type_of_concession_ref: Sequence[TypeOfConcessionRef] = field( default_factory=list, metadata={ "name": "TypeOfConcessionRef", @@ -1265,7 +1265,7 @@ class Meta: "sequence": 1, }, ) - type_of_sales_offer_package_ref: Iterable[TypeOfSalesOfferPackageRef] = ( + type_of_sales_offer_package_ref: Sequence[TypeOfSalesOfferPackageRef] = ( field( default_factory=list, metadata={ @@ -1276,7 +1276,7 @@ class Meta: }, ) ) - type_of_travel_document_ref: Iterable[TypeOfTravelDocumentRef] = field( + type_of_travel_document_ref: Sequence[TypeOfTravelDocumentRef] = field( default_factory=list, metadata={ "name": "TypeOfTravelDocumentRef", @@ -1285,7 +1285,7 @@ class Meta: "sequence": 1, }, ) - type_of_machine_readability_ref: Iterable[TypeOfMachineReadabilityRef] = ( + type_of_machine_readability_ref: Sequence[TypeOfMachineReadabilityRef] = ( field( default_factory=list, metadata={ @@ -1296,7 +1296,7 @@ class Meta: }, ) ) - distribution_channel_ref_or_group_of_distribution_channels_ref: Iterable[ + distribution_channel_ref_or_group_of_distribution_channels_ref: Sequence[ DistributionChannelRef | GroupOfDistributionChannelsRef ] = field( default_factory=list, @@ -1316,7 +1316,7 @@ class Meta: ), }, ) - fulfilment_method_ref: Iterable[FulfilmentMethodRef] = field( + fulfilment_method_ref: Sequence[FulfilmentMethodRef] = field( default_factory=list, metadata={ "name": "FulfilmentMethodRef", @@ -1325,7 +1325,7 @@ class Meta: "sequence": 1, }, ) - type_of_payment_method_ref: Iterable[TypeOfPaymentMethodRef] = field( + type_of_payment_method_ref: Sequence[TypeOfPaymentMethodRef] = field( default_factory=list, metadata={ "name": "TypeOfPaymentMethodRef", diff --git a/netex/models/validity_rule_parameter_refs_rel_structure.py b/netex/models/validity_rule_parameter_refs_rel_structure.py index 1531a26a4..2cf852140 100644 --- a/netex/models/validity_rule_parameter_refs_rel_structure.py +++ b/netex/models/validity_rule_parameter_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .one_to_many_relationship_structure import OneToManyRelationshipStructure @@ -14,7 +14,7 @@ class ValidityRuleParameterRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "validityRuleParameterRefs_RelStructure" - validity_rule_parameter_ref: Iterable[ValidityRuleParameterRef] = field( + validity_rule_parameter_ref: Sequence[ValidityRuleParameterRef] = field( default_factory=list, metadata={ "name": "ValidityRuleParameterRef", diff --git a/netex/models/validity_rule_parameters_rel_structure.py b/netex/models/validity_rule_parameters_rel_structure.py index 611064dd2..10401ec92 100644 --- a/netex/models/validity_rule_parameters_rel_structure.py +++ b/netex/models/validity_rule_parameters_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class ValidityRuleParametersRelStructure(ContainmentAggregationStructure): class Meta: name = "validityRuleParameters_RelStructure" - validity_rule_parameter: Iterable[ + validity_rule_parameter: Sequence[ ValidityRuleParameterVersionStructure ] = field( default_factory=list, diff --git a/netex/models/validity_trigger_refs_rel_structure.py b/netex/models/validity_trigger_refs_rel_structure.py index babc31768..d94292d5e 100644 --- a/netex/models/validity_trigger_refs_rel_structure.py +++ b/netex/models/validity_trigger_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .one_to_many_relationship_structure import OneToManyRelationshipStructure @@ -14,7 +14,7 @@ class ValidityTriggerRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "validityTriggerRefs_RelStructure" - validity_trigger_ref: Iterable[ValidityTriggerRef] = field( + validity_trigger_ref: Sequence[ValidityTriggerRef] = field( default_factory=list, metadata={ "name": "ValidityTriggerRef", diff --git a/netex/models/validity_triggers_rel_structure.py b/netex/models/validity_triggers_rel_structure.py index 8152729c5..21974a04a 100644 --- a/netex/models/validity_triggers_rel_structure.py +++ b/netex/models/validity_triggers_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class ValidityTriggersRelStructure(ContainmentAggregationStructure): class Meta: name = "validityTriggers_RelStructure" - validity_trigger: Iterable[ValidityTriggerVersionStructure] = field( + validity_trigger: Sequence[ValidityTriggerVersionStructure] = field( default_factory=list, metadata={ "name": "ValidityTrigger", diff --git a/netex/models/vehicle_access_credential_assignments_rel_structure.py b/netex/models/vehicle_access_credential_assignments_rel_structure.py index 4d0f4d7d2..bb9dcbb9c 100644 --- a/netex/models/vehicle_access_credential_assignments_rel_structure.py +++ b/netex/models/vehicle_access_credential_assignments_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -18,7 +18,7 @@ class VehicleAccessCredentialAssignmentsRelStructure( class Meta: name = "vehicleAccessCredentialAssignments_RelStructure" - vehicle_access_credentials_assignment: Iterable[ + vehicle_access_credentials_assignment: Sequence[ VehicleAccessCredentialsAssignment ] = field( default_factory=list, diff --git a/netex/models/vehicle_access_facility_list.py b/netex/models/vehicle_access_facility_list.py index ab079ddaa..83b9b309d 100644 --- a/netex/models/vehicle_access_facility_list.py +++ b/netex/models/vehicle_access_facility_list.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .vehicle_access_facility_enumeration import ( @@ -15,7 +15,7 @@ class VehicleAccessFacilityList: class Meta: namespace = "http://www.netex.org.uk/netex" - value: Iterable[VehicleAccessFacilityEnumeration] = field( + value: Sequence[VehicleAccessFacilityEnumeration] = field( default_factory=lambda: [ VehicleAccessFacilityEnumeration.UNKNOWN, ], diff --git a/netex/models/vehicle_entrances_rel_structure.py b/netex/models/vehicle_entrances_rel_structure.py index b3073f89d..a3b3f98d6 100644 --- a/netex/models/vehicle_entrances_rel_structure.py +++ b/netex/models/vehicle_entrances_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class VehicleEntrancesRelStructure(ContainmentAggregationStructure): class Meta: name = "vehicleEntrances_RelStructure" - vehicle_entrance_ref: Iterable[VehicleEntranceRef] = field( + vehicle_entrance_ref: Sequence[VehicleEntranceRef] = field( default_factory=list, metadata={ "name": "VehicleEntranceRef", diff --git a/netex/models/vehicle_equipmen_profiles_in_frame_rel_structure.py b/netex/models/vehicle_equipmen_profiles_in_frame_rel_structure.py index e610aa3d9..c4d49af65 100644 --- a/netex/models/vehicle_equipmen_profiles_in_frame_rel_structure.py +++ b/netex/models/vehicle_equipmen_profiles_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .charging_equipment_profile import ChargingEquipmentProfile @@ -17,7 +17,7 @@ class VehicleEquipmenProfilesInFrameRelStructure( class Meta: name = "vehicleEquipmenProfilesInFrame_RelStructure" - vehicle_equipment_profile_or_charging_equipment_profile: Iterable[ + vehicle_equipment_profile_or_charging_equipment_profile: Sequence[ VehicleEquipmentProfile | ChargingEquipmentProfile ] = field( default_factory=list, diff --git a/netex/models/vehicle_equipment_profile_member_refs_rel_structure.py b/netex/models/vehicle_equipment_profile_member_refs_rel_structure.py index b6b61fe93..3135edc6b 100644 --- a/netex/models/vehicle_equipment_profile_member_refs_rel_structure.py +++ b/netex/models/vehicle_equipment_profile_member_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .one_to_many_relationship_structure import OneToManyRelationshipStructure @@ -18,7 +18,7 @@ class VehicleEquipmentProfileMemberRefsRelStructure( class Meta: name = "vehicleEquipmentProfileMemberRefs_RelStructure" - vehicle_equipment_profile_member_ref: Iterable[ + vehicle_equipment_profile_member_ref: Sequence[ VehicleEquipmentProfileMemberRef ] = field( default_factory=list, diff --git a/netex/models/vehicle_equipment_profile_members_rel_structure.py b/netex/models/vehicle_equipment_profile_members_rel_structure.py index 4ff9dbfdb..e6f317349 100644 --- a/netex/models/vehicle_equipment_profile_members_rel_structure.py +++ b/netex/models/vehicle_equipment_profile_members_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .strict_containment_aggregation_structure import ( @@ -18,7 +18,7 @@ class VehicleEquipmentProfileMembersRelStructure( class Meta: name = "vehicleEquipmentProfileMembers_RelStructure" - vehicle_equipment_profile_member: Iterable[ + vehicle_equipment_profile_member: Sequence[ VehicleEquipmentProfileMember ] = field( default_factory=list, diff --git a/netex/models/vehicle_equipment_profile_refs_rel_structure.py b/netex/models/vehicle_equipment_profile_refs_rel_structure.py index a8ed6c45c..9db983e3a 100644 --- a/netex/models/vehicle_equipment_profile_refs_rel_structure.py +++ b/netex/models/vehicle_equipment_profile_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .charging_equipment_profile_ref import ChargingEquipmentProfileRef @@ -15,7 +15,7 @@ class VehicleEquipmentProfileRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "vehicleEquipmentProfileRefs_RelStructure" - vehicle_equipment_profile_ref: Iterable[ + vehicle_equipment_profile_ref: Sequence[ ChargingEquipmentProfileRef | VehicleEquipmentProfileRef ] = field( default_factory=list, diff --git a/netex/models/vehicle_equipments_rel_structure.py b/netex/models/vehicle_equipments_rel_structure.py index 4dd299757..a7327c42b 100644 --- a/netex/models/vehicle_equipments_rel_structure.py +++ b/netex/models/vehicle_equipments_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .access_vehicle_equipment import AccessVehicleEquipment @@ -15,7 +15,7 @@ class VehicleEquipmentsRelStructure(ContainmentAggregationStructure): class Meta: name = "vehicleEquipments_RelStructure" - access_vehicle_equipment_or_wheelchair_vehicle_equipment: Iterable[ + access_vehicle_equipment_or_wheelchair_vehicle_equipment: Sequence[ AccessVehicleEquipment | WheelchairVehicleEquipment ] = field( default_factory=list, diff --git a/netex/models/vehicle_journey_headways_rel_structure.py b/netex/models/vehicle_journey_headways_rel_structure.py index 45cc2bc69..72155c020 100644 --- a/netex/models/vehicle_journey_headways_rel_structure.py +++ b/netex/models/vehicle_journey_headways_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .strict_containment_aggregation_structure import ( @@ -18,7 +18,7 @@ class VehicleJourneyHeadwaysRelStructure( class Meta: name = "vehicleJourneyHeadways_RelStructure" - vehicle_journey_headway: Iterable[VehicleJourneyHeadway] = field( + vehicle_journey_headway: Sequence[VehicleJourneyHeadway] = field( default_factory=list, metadata={ "name": "VehicleJourneyHeadway", diff --git a/netex/models/vehicle_journey_layovers_rel_structure.py b/netex/models/vehicle_journey_layovers_rel_structure.py index 963e9a4df..92cd0af74 100644 --- a/netex/models/vehicle_journey_layovers_rel_structure.py +++ b/netex/models/vehicle_journey_layovers_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .strict_containment_aggregation_structure import ( @@ -18,7 +18,7 @@ class VehicleJourneyLayoversRelStructure( class Meta: name = "vehicleJourneyLayovers_RelStructure" - vehicle_journey_layover: Iterable[VehicleJourneyLayover] = field( + vehicle_journey_layover: Sequence[VehicleJourneyLayover] = field( default_factory=list, metadata={ "name": "VehicleJourneyLayover", diff --git a/netex/models/vehicle_journey_refs_rel_structure.py b/netex/models/vehicle_journey_refs_rel_structure.py index b6c04ced1..968ae775c 100644 --- a/netex/models/vehicle_journey_refs_rel_structure.py +++ b/netex/models/vehicle_journey_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .dead_run_ref import DeadRunRef @@ -15,7 +15,7 @@ class VehicleJourneyRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "vehicleJourneyRefs_RelStructure" - vehicle_journey_ref: Iterable[DeadRunRef | VehicleJourneyRef] = field( + vehicle_journey_ref: Sequence[DeadRunRef | VehicleJourneyRef] = field( default_factory=list, metadata={ "type": "Elements", diff --git a/netex/models/vehicle_journey_run_times_rel_structure.py b/netex/models/vehicle_journey_run_times_rel_structure.py index 586070172..bc9e66db1 100644 --- a/netex/models/vehicle_journey_run_times_rel_structure.py +++ b/netex/models/vehicle_journey_run_times_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .strict_containment_aggregation_structure import ( @@ -18,7 +18,7 @@ class VehicleJourneyRunTimesRelStructure( class Meta: name = "vehicleJourneyRunTimes_RelStructure" - vehicle_journey_run_time: Iterable[VehicleJourneyRunTime] = field( + vehicle_journey_run_time: Sequence[VehicleJourneyRunTime] = field( default_factory=list, metadata={ "name": "VehicleJourneyRunTime", diff --git a/netex/models/vehicle_journey_stop_assignment_version_structure.py b/netex/models/vehicle_journey_stop_assignment_version_structure.py index 246b621e7..5ac6e3f1a 100644 --- a/netex/models/vehicle_journey_stop_assignment_version_structure.py +++ b/netex/models/vehicle_journey_stop_assignment_version_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .dead_run_ref import DeadRunRef @@ -24,7 +24,7 @@ class VehicleJourneyStopAssignmentVersionStructure( class Meta: name = "VehicleJourneyStopAssignment_VersionStructure" - vehicle_journey_ref: Iterable[DeadRunRef | VehicleJourneyRef] = field( + vehicle_journey_ref: Sequence[DeadRunRef | VehicleJourneyRef] = field( default_factory=list, metadata={ "type": "Elements", diff --git a/netex/models/vehicle_journey_stop_assignments_in_frame_rel_structure.py b/netex/models/vehicle_journey_stop_assignments_in_frame_rel_structure.py index 48de32dc8..236c467dc 100644 --- a/netex/models/vehicle_journey_stop_assignments_in_frame_rel_structure.py +++ b/netex/models/vehicle_journey_stop_assignments_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -16,7 +16,7 @@ class VehicleJourneyStopAssignmentsInFrameRelStructure( class Meta: name = "vehicleJourneyStopAssignmentsInFrame_RelStructure" - vehicle_journey_stop_assignment: Iterable[VehicleJourneyStopAssignment] = ( + vehicle_journey_stop_assignment: Sequence[VehicleJourneyStopAssignment] = ( field( default_factory=list, metadata={ diff --git a/netex/models/vehicle_journey_stop_assignments_rel_structure.py b/netex/models/vehicle_journey_stop_assignments_rel_structure.py index 95e81bcbf..ed29fd2d9 100644 --- a/netex/models/vehicle_journey_stop_assignments_rel_structure.py +++ b/netex/models/vehicle_journey_stop_assignments_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -19,7 +19,7 @@ class VehicleJourneyStopAssignmentsRelStructure( class Meta: name = "vehicleJourneyStopAssignments_RelStructure" - vehicle_journey_stop_assignment_ref_or_vehicle_journey_stop_assignment: Iterable[ + vehicle_journey_stop_assignment_ref_or_vehicle_journey_stop_assignment: Sequence[ VehicleJourneyStopAssignmentRef | VehicleJourneyStopAssignment ] = field( default_factory=list, diff --git a/netex/models/vehicle_journey_wait_times_rel_structure.py b/netex/models/vehicle_journey_wait_times_rel_structure.py index 1f81149b4..903452330 100644 --- a/netex/models/vehicle_journey_wait_times_rel_structure.py +++ b/netex/models/vehicle_journey_wait_times_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .strict_containment_aggregation_structure import ( @@ -18,7 +18,7 @@ class VehicleJourneyWaitTimesRelStructure( class Meta: name = "vehicleJourneyWaitTimes_RelStructure" - vehicle_journey_wait_time: Iterable[VehicleJourneyWaitTime] = field( + vehicle_journey_wait_time: Sequence[VehicleJourneyWaitTime] = field( default_factory=list, metadata={ "name": "VehicleJourneyWaitTime", diff --git a/netex/models/vehicle_manoeuvring_requirements_rel_structure.py b/netex/models/vehicle_manoeuvring_requirements_rel_structure.py index 6cb347bcf..c8c667082 100644 --- a/netex/models/vehicle_manoeuvring_requirements_rel_structure.py +++ b/netex/models/vehicle_manoeuvring_requirements_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -19,7 +19,7 @@ class VehicleManoeuvringRequirementsRelStructure( class Meta: name = "vehicleManoeuvringRequirements_RelStructure" - vehicle_manoeuvring_requirement_ref_or_vehicle_manoeuvring_requirement: Iterable[ + vehicle_manoeuvring_requirement_ref_or_vehicle_manoeuvring_requirement: Sequence[ VehicleManoeuvringRequirementRef | VehicleManoeuvringRequirement ] = field( default_factory=list, diff --git a/netex/models/vehicle_meeting_links_in_frame_rel_structure.py b/netex/models/vehicle_meeting_links_in_frame_rel_structure.py index efcc11dbe..a77726ff1 100644 --- a/netex/models/vehicle_meeting_links_in_frame_rel_structure.py +++ b/netex/models/vehicle_meeting_links_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class VehicleMeetingLinksInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "vehicleMeetingLinksInFrame_RelStructure" - vehicle_meeting_link: Iterable[VehicleMeetingLink] = field( + vehicle_meeting_link: Sequence[VehicleMeetingLink] = field( default_factory=list, metadata={ "name": "VehicleMeetingLink", diff --git a/netex/models/vehicle_meeting_places_rel_structure.py b/netex/models/vehicle_meeting_places_rel_structure.py index fcb41c3a0..6914209ac 100644 --- a/netex/models/vehicle_meeting_places_rel_structure.py +++ b/netex/models/vehicle_meeting_places_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -15,7 +15,7 @@ class VehicleMeetingPlacesRelStructure(ContainmentAggregationStructure): class Meta: name = "vehicleMeetingPlaces_RelStructure" - vehicle_meeting_place: Iterable[ + vehicle_meeting_place: Sequence[ VehiclePoolingMeetingPlace | VehicleMeetingPlace2 ] = field( default_factory=list, diff --git a/netex/models/vehicle_meeting_point_assignments_in_frame_rel_structure.py b/netex/models/vehicle_meeting_point_assignments_in_frame_rel_structure.py index 01b1794a0..aa09632b8 100644 --- a/netex/models/vehicle_meeting_point_assignments_in_frame_rel_structure.py +++ b/netex/models/vehicle_meeting_point_assignments_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -16,7 +16,7 @@ class VehicleMeetingPointAssignmentsInFrameRelStructure( class Meta: name = "vehicleMeetingPointAssignmentsInFrame_RelStructure" - vehicle_meeting_point_assignment: Iterable[ + vehicle_meeting_point_assignment: Sequence[ VehicleMeetingPointAssignment1 ] = field( default_factory=list, diff --git a/netex/models/vehicle_meeting_point_assignments_rel_structure.py b/netex/models/vehicle_meeting_point_assignments_rel_structure.py index df945e92d..1f330b5e2 100644 --- a/netex/models/vehicle_meeting_point_assignments_rel_structure.py +++ b/netex/models/vehicle_meeting_point_assignments_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -22,7 +22,7 @@ class VehicleMeetingPointAssignmentsRelStructure( class Meta: name = "vehicleMeetingPointAssignments_RelStructure" - dynamic_vehicle_meeting_point_assignment_ref_or_vehicle_meeting_point_assignment_ref_or_vehicle_meeting_point_assignment: Iterable[ + dynamic_vehicle_meeting_point_assignment_ref_or_vehicle_meeting_point_assignment_ref_or_vehicle_meeting_point_assignment: Sequence[ DynamicVehicleMeetingPointAssignmentRef | VehicleMeetingPointAssignmentRef | VehicleMeetingPointAssignment1 diff --git a/netex/models/vehicle_meeting_points_in_frame_rel_structure.py b/netex/models/vehicle_meeting_points_in_frame_rel_structure.py index 9afe7b9b0..86105a5dc 100644 --- a/netex/models/vehicle_meeting_points_in_frame_rel_structure.py +++ b/netex/models/vehicle_meeting_points_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class VehicleMeetingPointsInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "vehicleMeetingPointsInFrame_RelStructure" - vehicle_meeting_point: Iterable[VehicleMeetingPoint] = field( + vehicle_meeting_point: Sequence[VehicleMeetingPoint] = field( default_factory=list, metadata={ "name": "VehicleMeetingPoint", diff --git a/netex/models/vehicle_meeting_points_in_sequence_rel_structure.py b/netex/models/vehicle_meeting_points_in_sequence_rel_structure.py index c74f9778d..40c789856 100644 --- a/netex/models/vehicle_meeting_points_in_sequence_rel_structure.py +++ b/netex/models/vehicle_meeting_points_in_sequence_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -16,7 +16,7 @@ class VehicleMeetingPointsInSequenceRelStructure( class Meta: name = "vehicleMeetingPointsInSequence_RelStructure" - vehicle_meeting_point_in_path: Iterable[VehicleMeetingPointInPath] = field( + vehicle_meeting_point_in_path: Sequence[VehicleMeetingPointInPath] = field( default_factory=list, metadata={ "name": "VehicleMeetingPointInPath", diff --git a/netex/models/vehicle_meeting_points_rel_structure.py b/netex/models/vehicle_meeting_points_rel_structure.py index 79fc08a6d..30aeacaff 100644 --- a/netex/models/vehicle_meeting_points_rel_structure.py +++ b/netex/models/vehicle_meeting_points_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -15,7 +15,7 @@ class VehicleMeetingPointsRelStructure(ContainmentAggregationStructure): class Meta: name = "vehicleMeetingPoints_RelStructure" - vehicle_meeting_point_ref_or_vehicle_meeting_point: Iterable[ + vehicle_meeting_point_ref_or_vehicle_meeting_point: Sequence[ VehicleMeetingPointRef | VehicleMeetingPoint ] = field( default_factory=list, diff --git a/netex/models/vehicle_model_profiles_in_frame_rel_structure.py b/netex/models/vehicle_model_profiles_in_frame_rel_structure.py index be2cd04f2..b5b3eff0c 100644 --- a/netex/models/vehicle_model_profiles_in_frame_rel_structure.py +++ b/netex/models/vehicle_model_profiles_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .car_model_profile import CarModelProfile @@ -15,7 +15,7 @@ class VehicleModelProfilesInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "vehicleModelProfilesInFrame_RelStructure" - car_model_profile_or_cycle_model_profile: Iterable[ + car_model_profile_or_cycle_model_profile: Sequence[ CarModelProfile | CycleModelProfile ] = field( default_factory=list, diff --git a/netex/models/vehicle_models_in_frame_rel_structure.py b/netex/models/vehicle_models_in_frame_rel_structure.py index dfe04c17b..cc49cd4d7 100644 --- a/netex/models/vehicle_models_in_frame_rel_structure.py +++ b/netex/models/vehicle_models_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class VehicleModelsInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "vehicleModelsInFrame_RelStructure" - vehicle_model: Iterable[VehicleModel] = field( + vehicle_model: Sequence[VehicleModel] = field( default_factory=list, metadata={ "name": "VehicleModel", diff --git a/netex/models/vehicle_pooling_driver_infos_rel_structure.py b/netex/models/vehicle_pooling_driver_infos_rel_structure.py index b937198ff..f4683e4ca 100644 --- a/netex/models/vehicle_pooling_driver_infos_rel_structure.py +++ b/netex/models/vehicle_pooling_driver_infos_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class VehiclePoolingDriverInfosRelStructure(ContainmentAggregationStructure): class Meta: name = "vehiclePoolingDriverInfos_RelStructure" - vehicle_pooling_driver_info: Iterable[VehiclePoolingDriverInfo] = field( + vehicle_pooling_driver_info: Sequence[VehiclePoolingDriverInfo] = field( default_factory=list, metadata={ "name": "VehiclePoolingDriverInfo", diff --git a/netex/models/vehicle_position_alignments_rel_structure.py b/netex/models/vehicle_position_alignments_rel_structure.py index e0fd39c1b..bac056311 100644 --- a/netex/models/vehicle_position_alignments_rel_structure.py +++ b/netex/models/vehicle_position_alignments_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class VehiclePositionAlignmentsRelStructure(ContainmentAggregationStructure): class Meta: name = "vehiclePositionAlignments_RelStructure" - vehicle_position_alignment: Iterable[VehiclePositionAlignment] = field( + vehicle_position_alignment: Sequence[VehiclePositionAlignment] = field( default_factory=list, metadata={ "name": "VehiclePositionAlignment", diff --git a/netex/models/vehicle_quay_alignments_rel_structure.py b/netex/models/vehicle_quay_alignments_rel_structure.py index c78dab087..2f729f5c5 100644 --- a/netex/models/vehicle_quay_alignments_rel_structure.py +++ b/netex/models/vehicle_quay_alignments_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class VehicleQuayAlignmentsRelStructure(ContainmentAggregationStructure): class Meta: name = "vehicleQuayAlignments_RelStructure" - vehicle_quay_alignment: Iterable[VehicleQuayAlignment] = field( + vehicle_quay_alignment: Sequence[VehicleQuayAlignment] = field( default_factory=list, metadata={ "name": "VehicleQuayAlignment", diff --git a/netex/models/vehicle_refs_rel_structure.py b/netex/models/vehicle_refs_rel_structure.py index 44a4933f5..305b71d4b 100644 --- a/netex/models/vehicle_refs_rel_structure.py +++ b/netex/models/vehicle_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .one_to_many_relationship_structure import OneToManyRelationshipStructure @@ -14,7 +14,7 @@ class VehicleRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "vehicleRefs_RelStructure" - vehicle_ref: Iterable[VehicleRef] = field( + vehicle_ref: Sequence[VehicleRef] = field( default_factory=list, metadata={ "name": "VehicleRef", diff --git a/netex/models/vehicle_service_parts_rel_structure.py b/netex/models/vehicle_service_parts_rel_structure.py index 4fac87773..22bc16a69 100644 --- a/netex/models/vehicle_service_parts_rel_structure.py +++ b/netex/models/vehicle_service_parts_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -15,7 +15,7 @@ class VehicleServicePartsRelStructure(ContainmentAggregationStructure): class Meta: name = "vehicleServiceParts_RelStructure" - vehicle_service_part_ref_or_vehicle_service_part: Iterable[ + vehicle_service_part_ref_or_vehicle_service_part: Sequence[ VehicleServicePartRef | VehicleServicePart ] = field( default_factory=list, diff --git a/netex/models/vehicle_service_place_assignments_rel_structure.py b/netex/models/vehicle_service_place_assignments_rel_structure.py index 0a65e05c5..0ef1636f4 100644 --- a/netex/models/vehicle_service_place_assignments_rel_structure.py +++ b/netex/models/vehicle_service_place_assignments_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .one_to_many_relationship_structure import OneToManyRelationshipStructure @@ -18,7 +18,7 @@ class VehicleServicePlaceAssignmentsRelStructure( class Meta: name = "vehicleServicePlaceAssignments_RelStructure" - vehicle_sharing_place_assignment_or_vehicle_pooling_place_assignment_or_taxi_service_place_assignment: Iterable[ + vehicle_sharing_place_assignment_or_vehicle_pooling_place_assignment_or_taxi_service_place_assignment: Sequence[ VehicleSharingPlaceAssignment | VehiclePoolingPlaceAssignment | TaxiServicePlaceAssignment diff --git a/netex/models/vehicle_services_in_frame_rel_structure.py b/netex/models/vehicle_services_in_frame_rel_structure.py index 2276e4fa5..0e9fdbb26 100644 --- a/netex/models/vehicle_services_in_frame_rel_structure.py +++ b/netex/models/vehicle_services_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class VehicleServicesInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "vehicleServicesInFrame_RelStructure" - vehicle_service: Iterable[VehicleService] = field( + vehicle_service: Sequence[VehicleService] = field( default_factory=list, metadata={ "name": "VehicleService", diff --git a/netex/models/vehicle_stopping_places_rel_structure.py b/netex/models/vehicle_stopping_places_rel_structure.py index a08f2c6bb..20d3f1e6b 100644 --- a/netex/models/vehicle_stopping_places_rel_structure.py +++ b/netex/models/vehicle_stopping_places_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -15,7 +15,7 @@ class VehicleStoppingPlacesRelStructure(ContainmentAggregationStructure): class Meta: name = "vehicleStoppingPlaces_RelStructure" - vehicle_stopping_place_ref_or_vehicle_stopping_place: Iterable[ + vehicle_stopping_place_ref_or_vehicle_stopping_place: Sequence[ VehicleStoppingPlaceRef | VehicleStoppingPlace ] = field( default_factory=list, diff --git a/netex/models/vehicle_stopping_positions_rel_structure.py b/netex/models/vehicle_stopping_positions_rel_structure.py index 2d7c83ee9..d5e7e5340 100644 --- a/netex/models/vehicle_stopping_positions_rel_structure.py +++ b/netex/models/vehicle_stopping_positions_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -15,7 +15,7 @@ class VehicleStoppingPositionsRelStructure(ContainmentAggregationStructure): class Meta: name = "vehicleStoppingPositions_RelStructure" - vehicle_stopping_position_ref_or_vehicle_stopping_position: Iterable[ + vehicle_stopping_position_ref_or_vehicle_stopping_position: Sequence[ VehicleStoppingPositionRef | VehicleStoppingPosition ] = field( default_factory=list, diff --git a/netex/models/vehicle_type_preferences_rel_structure.py b/netex/models/vehicle_type_preferences_rel_structure.py index 8d947aecb..b86fd787b 100644 --- a/netex/models/vehicle_type_preferences_rel_structure.py +++ b/netex/models/vehicle_type_preferences_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .strict_containment_aggregation_structure import ( @@ -18,7 +18,7 @@ class VehicleTypePreferencesRelStructure( class Meta: name = "vehicleTypePreferences_RelStructure" - vehicle_type_preference: Iterable[VehicleTypePreference] = field( + vehicle_type_preference: Sequence[VehicleTypePreference] = field( default_factory=list, metadata={ "name": "VehicleTypePreference", diff --git a/netex/models/vehicle_type_refs_rel_structure.py b/netex/models/vehicle_type_refs_rel_structure.py index 540c8cd5c..c685c35c1 100644 --- a/netex/models/vehicle_type_refs_rel_structure.py +++ b/netex/models/vehicle_type_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .compound_train_ref import CompoundTrainRef @@ -16,7 +16,7 @@ class VehicleTypeRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "vehicleTypeRefs_RelStructure" - vehicle_type_ref: Iterable[ + vehicle_type_ref: Sequence[ CompoundTrainRef | TrainRef | VehicleTypeRef ] = field( default_factory=list, diff --git a/netex/models/vehicle_type_stop_assignments_rel_structure.py b/netex/models/vehicle_type_stop_assignments_rel_structure.py index 942ff8b3b..64812563e 100644 --- a/netex/models/vehicle_type_stop_assignments_rel_structure.py +++ b/netex/models/vehicle_type_stop_assignments_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -15,7 +15,7 @@ class VehicleTypeStopAssignmentsRelStructure(ContainmentAggregationStructure): class Meta: name = "vehicleTypeStopAssignments_RelStructure" - vehicle_type_stop_assignment_ref_or_vehicle_type_stop_assignment: Iterable[ + vehicle_type_stop_assignment_ref_or_vehicle_type_stop_assignment: Sequence[ VehicleTypeStopAssignmentRef | VehicleTypeStopAssignment ] = field( default_factory=list, diff --git a/netex/models/vehicle_type_zone_restriction_refs_rel_structure.py b/netex/models/vehicle_type_zone_restriction_refs_rel_structure.py index 5385ac2a0..291d5bdcb 100644 --- a/netex/models/vehicle_type_zone_restriction_refs_rel_structure.py +++ b/netex/models/vehicle_type_zone_restriction_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .one_to_many_relationship_structure import OneToManyRelationshipStructure @@ -16,7 +16,7 @@ class VehicleTypeZoneRestrictionRefsRelStructure( class Meta: name = "vehicleTypeZoneRestrictionRefs_RelStructure" - vehicle_type_zone_restriction_ref: Iterable[ + vehicle_type_zone_restriction_ref: Sequence[ VehicleTypeZoneRestrictionRef ] = field( default_factory=list, diff --git a/netex/models/vehicle_type_zone_restrictions_rel_structure.py b/netex/models/vehicle_type_zone_restrictions_rel_structure.py index d295ea052..2be3a4709 100644 --- a/netex/models/vehicle_type_zone_restrictions_rel_structure.py +++ b/netex/models/vehicle_type_zone_restrictions_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class VehicleTypeZoneRestrictionsRelStructure(ContainmentAggregationStructure): class Meta: name = "vehicleTypeZoneRestrictions_RelStructure" - vehicle_type_zone_restriction: Iterable[VehicleTypeZoneRestriction] = ( + vehicle_type_zone_restriction: Sequence[VehicleTypeZoneRestriction] = ( field( default_factory=list, metadata={ diff --git a/netex/models/vehicle_types_in_frame_rel_structure.py b/netex/models/vehicle_types_in_frame_rel_structure.py index 008aa4dd6..105bbe8fa 100644 --- a/netex/models/vehicle_types_in_frame_rel_structure.py +++ b/netex/models/vehicle_types_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .compound_train import CompoundTrain @@ -17,7 +17,7 @@ class VehicleTypesInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "vehicleTypesInFrame_RelStructure" - choice: Iterable[ + choice: Sequence[ CompoundTrain | Train | VehicleType | SimpleVehicleType ] = field( default_factory=list, diff --git a/netex/models/vehicles_in_frame_rel_structure.py b/netex/models/vehicles_in_frame_rel_structure.py index 29535c1ef..024fe2ba9 100644 --- a/netex/models/vehicles_in_frame_rel_structure.py +++ b/netex/models/vehicles_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -15,7 +15,7 @@ class VehiclesInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "vehiclesInFrame_RelStructure" - train_element_or_vehicle: Iterable[TrainElement | Vehicle] = field( + train_element_or_vehicle: Sequence[TrainElement | Vehicle] = field( default_factory=list, metadata={ "type": "Elements", diff --git a/netex/models/vehicles_rel_structure.py b/netex/models/vehicles_rel_structure.py index aa0581740..b331a2299 100644 --- a/netex/models/vehicles_rel_structure.py +++ b/netex/models/vehicles_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -15,7 +15,7 @@ class VehiclesRelStructure(ContainmentAggregationStructure): class Meta: name = "vehicles_RelStructure" - vehicle_ref_or_vehicle: Iterable[VehicleRef | Vehicle] = field( + vehicle_ref_or_vehicle: Sequence[VehicleRef | Vehicle] = field( default_factory=list, metadata={ "type": "Elements", diff --git a/netex/models/version_frame_members_rel_structure.py b/netex/models/version_frame_members_rel_structure.py index 18b987712..fcb456d64 100644 --- a/netex/models/version_frame_members_rel_structure.py +++ b/netex/models/version_frame_members_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .accepted_driver_permit import AcceptedDriverPermit @@ -572,7 +572,7 @@ class VersionFrameMembersRelStructure(ContainmentAggregationStructure): class Meta: name = "versionFrameMembers_RelStructure" - choice: Iterable[ + choice: Sequence[ EntityInVersionInFrameRefStructure | Fleet | IndividualPassengerInfo diff --git a/netex/models/version_frame_refs_rel_structure.py b/netex/models/version_frame_refs_rel_structure.py index 5057a590c..decc1db1b 100644 --- a/netex/models/version_frame_refs_rel_structure.py +++ b/netex/models/version_frame_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .composite_frame_ref import CompositeFrameRef @@ -27,7 +27,7 @@ class VersionFrameRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "versionFrameRefs_RelStructure" - version_frame_ref: Iterable[ + version_frame_ref: Sequence[ MobilityJourneyFrameRef | MobilityServiceFrameRef | SalesTransactionFrameRef diff --git a/netex/models/versions_in_frame_rel_structure.py b/netex/models/versions_in_frame_rel_structure.py index 0cfa8331c..99c5f6e02 100644 --- a/netex/models/versions_in_frame_rel_structure.py +++ b/netex/models/versions_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -14,7 +14,7 @@ class VersionsInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "versionsInFrame_RelStructure" - version: Iterable[Version] = field( + version: Sequence[Version] = field( default_factory=list, metadata={ "name": "Version", diff --git a/netex/models/versions_rel_structure.py b/netex/models/versions_rel_structure.py index 272cadf5d..e735af52a 100644 --- a/netex/models/versions_rel_structure.py +++ b/netex/models/versions_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -15,7 +15,7 @@ class VersionsRelStructure(ContainmentAggregationStructure): class Meta: name = "versions_RelStructure" - version_ref_or_version: Iterable[VersionRef | Version] = field( + version_ref_or_version: Sequence[VersionRef | Version] = field( default_factory=list, metadata={ "type": "Elements", diff --git a/netex/models/vias_rel_structure.py b/netex/models/vias_rel_structure.py index 0f0a1a8a9..f11f9eb2a 100644 --- a/netex/models/vias_rel_structure.py +++ b/netex/models/vias_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .empty_type_2 import EmptyType2 @@ -17,7 +17,7 @@ class ViasRelStructure(StrictContainmentAggregationStructure): class Meta: name = "vias_RelStructure" - none_or_via: Iterable[EmptyType2 | ViaVersionedChildStructure] = field( + none_or_via: Sequence[EmptyType2 | ViaVersionedChildStructure] = field( default_factory=list, metadata={ "type": "Elements", diff --git a/netex/models/waiting_room_equipment_version_structure.py b/netex/models/waiting_room_equipment_version_structure.py index a1d35dea7..3c440c8ce 100644 --- a/netex/models/waiting_room_equipment_version_structure.py +++ b/netex/models/waiting_room_equipment_version_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .class_of_use_ref import ClassOfUseRef @@ -18,7 +18,7 @@ class WaitingRoomEquipmentVersionStructure(WaitingEquipmentVersionStructure): class Meta: name = "WaitingRoomEquipment_VersionStructure" - fare_class: Iterable[FareClassEnumeration] = field( + fare_class: Sequence[FareClassEnumeration] = field( default_factory=list, metadata={ "name": "FareClass", @@ -35,7 +35,7 @@ class Meta: "namespace": "http://www.netex.org.uk/netex", }, ) - sanitary: Iterable[SanitaryFacilityEnumeration] = field( + sanitary: Sequence[SanitaryFacilityEnumeration] = field( default_factory=list, metadata={ "name": "Sanitary", diff --git a/netex/models/whitelist_refs_rel_structure.py b/netex/models/whitelist_refs_rel_structure.py index df9f9a04d..5f894cb7f 100644 --- a/netex/models/whitelist_refs_rel_structure.py +++ b/netex/models/whitelist_refs_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .one_to_many_relationship_structure import OneToManyRelationshipStructure @@ -14,7 +14,7 @@ class WhitelistRefsRelStructure(OneToManyRelationshipStructure): class Meta: name = "whitelistRefs_RelStructure" - whitelist_ref: Iterable[WhitelistRef] = field( + whitelist_ref: Sequence[WhitelistRef] = field( default_factory=list, metadata={ "name": "WhitelistRef", diff --git a/netex/models/whitelists_in_frame_rel_structure.py b/netex/models/whitelists_in_frame_rel_structure.py index 6b0701415..fd8d26f59 100644 --- a/netex/models/whitelists_in_frame_rel_structure.py +++ b/netex/models/whitelists_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .frame_containment_structure import FrameContainmentStructure @@ -14,7 +14,7 @@ class WhitelistsInFrameRelStructure(FrameContainmentStructure): class Meta: name = "whitelistsInFrame_RelStructure" - whitelist: Iterable[Whitelist] = field( + whitelist: Sequence[Whitelist] = field( default_factory=list, metadata={ "name": "Whitelist", diff --git a/netex/models/whitelists_rel_structure.py b/netex/models/whitelists_rel_structure.py index 7cdec03bf..394c3229d 100644 --- a/netex/models/whitelists_rel_structure.py +++ b/netex/models/whitelists_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .containment_aggregation_structure import ContainmentAggregationStructure @@ -15,7 +15,7 @@ class WhitelistsRelStructure(ContainmentAggregationStructure): class Meta: name = "whitelists_RelStructure" - whitelist_ref_or_whitelist: Iterable[WhitelistRef | Whitelist] = field( + whitelist_ref_or_whitelist: Sequence[WhitelistRef | Whitelist] = field( default_factory=list, metadata={ "type": "Elements", diff --git a/netex/models/zones_in_frame_rel_structure.py b/netex/models/zones_in_frame_rel_structure.py index d6ebb956e..716e2c9a4 100644 --- a/netex/models/zones_in_frame_rel_structure.py +++ b/netex/models/zones_in_frame_rel_structure.py @@ -1,6 +1,6 @@ from __future__ import annotations -from collections.abc import Iterable +from collections.abc import Sequence from dataclasses import dataclass, field from .access_space import AccessSpace @@ -69,7 +69,7 @@ class ZonesInFrameRelStructure(ContainmentAggregationStructure): class Meta: name = "zonesInFrame_RelStructure" - choice: Iterable[ + choice: Sequence[ MobilityServiceConstraintZone | RoutingConstraintZone | StopArea