Skip to content

Commit

Permalink
Use StrictFloat and StrictInt
Browse files Browse the repository at this point in the history
Use const=True for Field type_ for Schema.org model discrimination
  • Loading branch information
crbaker89 committed Feb 18, 2022
1 parent eecaa83 commit 1a21f94
Show file tree
Hide file tree
Showing 1,330 changed files with 1,806 additions and 1,829 deletions.
2 changes: 1 addition & 1 deletion pydantic_schemaorg/AMRadioChannel.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ class AMRadioChannel(RadioChannel):
See: https://schema.org/AMRadioChannel
Model depth: 5
"""
type_: str = Field(default="AMRadioChannel", alias='@type', constant=True)
type_: str = Field(default="AMRadioChannel", alias='@type', const=True)

2 changes: 1 addition & 1 deletion pydantic_schemaorg/APIReference.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class APIReference(TechArticle):
See: https://schema.org/APIReference
Model depth: 5
"""
type_: str = Field(default="APIReference", alias='@type', constant=True)
type_: str = Field(default="APIReference", alias='@type', const=True)
assemblyVersion: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field(
default=None,
description="Associated product/technology version. e.g., .NET Framework 4.5.",
Expand Down
2 changes: 1 addition & 1 deletion pydantic_schemaorg/Abdomen.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ class Abdomen(PhysicalExam):
See: https://schema.org/Abdomen
Model depth: 5
"""
type_: str = Field(default="Abdomen", alias='@type', constant=True)
type_: str = Field(default="Abdomen", alias='@type', const=True)

2 changes: 1 addition & 1 deletion pydantic_schemaorg/AboutPage.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ class AboutPage(WebPage):
See: https://schema.org/AboutPage
Model depth: 4
"""
type_: str = Field(default="AboutPage", alias='@type', constant=True)
type_: str = Field(default="AboutPage", alias='@type', const=True)

2 changes: 1 addition & 1 deletion pydantic_schemaorg/AcceptAction.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ class AcceptAction(AllocateAction):
See: https://schema.org/AcceptAction
Model depth: 5
"""
type_: str = Field(default="AcceptAction", alias='@type', constant=True)
type_: str = Field(default="AcceptAction", alias='@type', const=True)

17 changes: 8 additions & 9 deletions pydantic_schemaorg/Accommodation.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
from __future__ import annotations
from typing import TYPE_CHECKING

from decimal import Decimal
from pydantic import AnyUrl, StrictBool, StrictInt, StrictFloat
from typing import List, Optional, Union
from pydantic import AnyUrl, StrictBool


from pydantic import Field
Expand All @@ -20,8 +19,8 @@ class Accommodation(Place):
See: https://schema.org/Accommodation
Model depth: 3
"""
type_: str = Field(default="Accommodation", alias='@type', constant=True)
numberOfBedrooms: Optional[Union[List[Union[int, float, 'Number', 'QuantitativeValue', str]], int, float, 'Number', 'QuantitativeValue', str]] = Field(
type_: str = Field(default="Accommodation", alias='@type', const=True)
numberOfBedrooms: Optional[Union[List[Union[StrictInt, StrictFloat, 'Number', 'QuantitativeValue', str]], StrictInt, StrictFloat, 'Number', 'QuantitativeValue', str]] = Field(
default=None,
description="The total integer number of bedrooms in a some [[Accommodation]], [[ApartmentComplex]]"
"or [[FloorPlan]].",
Expand All @@ -37,17 +36,17 @@ class Accommodation(Place):
default=None,
description="Indications regarding the permitted usage of the accommodation.",
)
numberOfPartialBathrooms: Optional[Union[List[Union[int, float, 'Number', str]], int, float, 'Number', str]] = Field(
numberOfPartialBathrooms: Optional[Union[List[Union[StrictInt, StrictFloat, 'Number', str]], StrictInt, StrictFloat, 'Number', str]] = Field(
default=None,
description="Number of partial bathrooms - The total number of half and ¼ bathrooms in an [[Accommodation]]."
"This corresponds to the [BathroomsPartial field in RESO](https://ddwiki.reso.org/display/DDW17/BathroomsPartial+Field).",
)
yearBuilt: Optional[Union[List[Union[int, float, 'Number', str]], int, float, 'Number', str]] = Field(
yearBuilt: Optional[Union[List[Union[StrictInt, StrictFloat, 'Number', str]], StrictInt, StrictFloat, 'Number', str]] = Field(
default=None,
description="The year an [[Accommodation]] was constructed. This corresponds to the [YearBuilt"
"field in RESO](https://ddwiki.reso.org/display/DDW17/YearBuilt+Field).",
)
leaseLength: Optional[Union[List[Union['QuantitativeValue', 'Duration', str]], 'QuantitativeValue', 'Duration', str]] = Field(
leaseLength: Optional[Union[List[Union['Duration', 'QuantitativeValue', str]], 'Duration', 'QuantitativeValue', str]] = Field(
default=None,
description="Length of the lease for some [[Accommodation]], either particular to some [[Offer]]"
"or in some cases intrinsic to the property.",
Expand All @@ -58,7 +57,7 @@ class Accommodation(Place):
"property does not make a statement about whether the feature is included in an offer for"
"the main accommodation or available at extra costs.",
)
numberOfRooms: Optional[Union[List[Union[int, float, 'Number', 'QuantitativeValue', str]], int, float, 'Number', 'QuantitativeValue', str]] = Field(
numberOfRooms: Optional[Union[List[Union[StrictInt, StrictFloat, 'Number', 'QuantitativeValue', str]], StrictInt, StrictFloat, 'Number', 'QuantitativeValue', str]] = Field(
default=None,
description="The number of rooms (excluding bathrooms and closets) of the accommodation or lodging"
"business. Typical unit code(s): ROM for room or C62 for no unit. The type of room can be"
Expand Down Expand Up @@ -96,7 +95,7 @@ class Accommodation(Place):
default=None,
description="A floorplan of some [[Accommodation]].",
)
numberOfFullBathrooms: Optional[Union[List[Union[int, float, 'Number', str]], int, float, 'Number', str]] = Field(
numberOfFullBathrooms: Optional[Union[List[Union[StrictInt, StrictFloat, 'Number', str]], StrictInt, StrictFloat, 'Number', str]] = Field(
default=None,
description="Number of full bathrooms - The total number of full and ¾ bathrooms in an [[Accommodation]]."
"This corresponds to the [BathroomsFull field in RESO](https://ddwiki.reso.org/display/DDW17/BathroomsFull+Field).",
Expand Down
2 changes: 1 addition & 1 deletion pydantic_schemaorg/AccountingService.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ class AccountingService(FinancialService):
See: https://schema.org/AccountingService
Model depth: 5
"""
type_: str = Field(default="AccountingService", alias='@type', constant=True)
type_: str = Field(default="AccountingService", alias='@type', const=True)

2 changes: 1 addition & 1 deletion pydantic_schemaorg/AchieveAction.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ class AchieveAction(Action):
See: https://schema.org/AchieveAction
Model depth: 3
"""
type_: str = Field(default="AchieveAction", alias='@type', constant=True)
type_: str = Field(default="AchieveAction", alias='@type', const=True)

12 changes: 6 additions & 6 deletions pydantic_schemaorg/Action.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class Action(Thing):
See: https://schema.org/Action
Model depth: 2
"""
type_: str = Field(default="Action", alias='@type', constant=True)
type_: str = Field(default="Action", alias='@type', const=True)
result: Optional[Union[List[Union['Thing', str]], 'Thing', str]] = Field(
default=None,
description="The result produced in the action. e.g. John wrote *a book*.",
Expand All @@ -30,7 +30,7 @@ class Action(Thing):
"Also known as the semantic roles patient, affected or undergoer (which change their"
"state) or theme (which doesn't). e.g. John read *a book*.",
)
participant: Optional[Union[List[Union['Organization', 'Person', str]], 'Organization', 'Person', str]] = Field(
participant: Optional[Union[List[Union['Person', 'Organization', str]], 'Person', 'Organization', str]] = Field(
default=None,
description="Other co-agents that participated in the action indirectly. e.g. John wrote a book with"
"*Steve*.",
Expand All @@ -39,7 +39,7 @@ class Action(Thing):
default=None,
description="For failed actions, more information on the cause of the failure.",
)
location: Optional[Union[List[Union[str, 'Text', 'Place', 'VirtualLocation', 'PostalAddress']], str, 'Text', 'Place', 'VirtualLocation', 'PostalAddress']] = Field(
location: Optional[Union[List[Union[str, 'Text', 'PostalAddress', 'Place', 'VirtualLocation']], str, 'Text', 'PostalAddress', 'Place', 'VirtualLocation']] = Field(
default=None,
description="The location of, for example, where an event is happening, where an organization is located,"
"or where an action takes place.",
Expand All @@ -53,7 +53,7 @@ class Action(Thing):
"Event uses startDate/endDate instead of startTime/endTime, even when describing"
"dates with times. This situation may be clarified in future revisions.",
)
agent: Optional[Union[List[Union['Organization', 'Person', str]], 'Organization', 'Person', str]] = Field(
agent: Optional[Union[List[Union['Person', 'Organization', str]], 'Person', 'Organization', str]] = Field(
default=None,
description="The direct performer or driver of the action (animate or inanimate). e.g. *John* wrote"
"a book.",
Expand Down Expand Up @@ -83,12 +83,12 @@ class Action(Thing):

if TYPE_CHECKING:
from pydantic_schemaorg.Thing import Thing
from pydantic_schemaorg.Organization import Organization
from pydantic_schemaorg.Person import Person
from pydantic_schemaorg.Organization import Organization
from pydantic_schemaorg.Text import Text
from pydantic_schemaorg.PostalAddress import PostalAddress
from pydantic_schemaorg.Place import Place
from pydantic_schemaorg.VirtualLocation import VirtualLocation
from pydantic_schemaorg.PostalAddress import PostalAddress
from pydantic_schemaorg.DateTime import DateTime
from pydantic_schemaorg.Time import Time
from pydantic_schemaorg.EntryPoint import EntryPoint
Expand Down
8 changes: 4 additions & 4 deletions pydantic_schemaorg/ActionAccessSpecification.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ class ActionAccessSpecification(Intangible):
See: https://schema.org/ActionAccessSpecification
Model depth: 3
"""
type_: str = Field(default="ActionAccessSpecification", alias='@type', constant=True)
category: Optional[Union[List[Union[AnyUrl, 'URL', str, 'Text', 'Thing', 'PhysicalActivityCategory']], AnyUrl, 'URL', str, 'Text', 'Thing', 'PhysicalActivityCategory']] = Field(
type_: str = Field(default="ActionAccessSpecification", alias='@type', const=True)
category: Optional[Union[List[Union[AnyUrl, 'URL', str, 'Text', 'PhysicalActivityCategory', 'Thing']], AnyUrl, 'URL', str, 'Text', 'PhysicalActivityCategory', 'Thing']] = Field(
default=None,
description="A category for the item. Greater signs or slashes can be used to informally indicate a"
"category hierarchy.",
Expand Down Expand Up @@ -46,7 +46,7 @@ class ActionAccessSpecification(Intangible):
default=None,
description="The end of the availability of the product or service included in the offer.",
)
ineligibleRegion: Optional[Union[List[Union[str, 'Text', 'GeoShape', 'Place']], str, 'Text', 'GeoShape', 'Place']] = Field(
ineligibleRegion: Optional[Union[List[Union[str, 'Text', 'Place', 'GeoShape']], str, 'Text', 'Place', 'GeoShape']] = Field(
default=None,
description="The ISO 3166-1 (ISO 3166-1 alpha-2) or ISO 3166-2 code, the place, or the GeoShape for"
"the geo-political region(s) for which the offer or delivery charge specification is"
Expand All @@ -57,8 +57,8 @@ class ActionAccessSpecification(Intangible):
if TYPE_CHECKING:
from pydantic_schemaorg.URL import URL
from pydantic_schemaorg.Text import Text
from pydantic_schemaorg.Thing import Thing
from pydantic_schemaorg.PhysicalActivityCategory import PhysicalActivityCategory
from pydantic_schemaorg.Thing import Thing
from pydantic_schemaorg.DateTime import DateTime
from pydantic_schemaorg.Time import Time
from pydantic_schemaorg.Date import Date
Expand Down
2 changes: 1 addition & 1 deletion pydantic_schemaorg/ActionStatusType.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ class ActionStatusType(StatusEnumeration):
See: https://schema.org/ActionStatusType
Model depth: 5
"""
type_: str = Field(default="ActionStatusType", alias='@type', constant=True)
type_: str = Field(default="ActionStatusType", alias='@type', const=True)

2 changes: 1 addition & 1 deletion pydantic_schemaorg/ActivateAction.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ class ActivateAction(ControlAction):
See: https://schema.org/ActivateAction
Model depth: 4
"""
type_: str = Field(default="ActivateAction", alias='@type', constant=True)
type_: str = Field(default="ActivateAction", alias='@type', const=True)

2 changes: 1 addition & 1 deletion pydantic_schemaorg/ActivationFee.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ class ActivationFee(PriceComponentTypeEnumeration):
See: https://schema.org/ActivationFee
Model depth: 5
"""
type_: str = Field(default="ActivationFee", alias='@type', constant=True)
type_: str = Field(default="ActivationFee", alias='@type', const=True)

2 changes: 1 addition & 1 deletion pydantic_schemaorg/ActiveActionStatus.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ class ActiveActionStatus(ActionStatusType):
See: https://schema.org/ActiveActionStatus
Model depth: 6
"""
type_: str = Field(default="ActiveActionStatus", alias='@type', constant=True)
type_: str = Field(default="ActiveActionStatus", alias='@type', const=True)

2 changes: 1 addition & 1 deletion pydantic_schemaorg/ActiveNotRecruiting.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ class ActiveNotRecruiting(MedicalStudyStatus):
See: https://schema.org/ActiveNotRecruiting
Model depth: 6
"""
type_: str = Field(default="ActiveNotRecruiting", alias='@type', constant=True)
type_: str = Field(default="ActiveNotRecruiting", alias='@type', const=True)

2 changes: 1 addition & 1 deletion pydantic_schemaorg/AddAction.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ class AddAction(UpdateAction):
See: https://schema.org/AddAction
Model depth: 4
"""
type_: str = Field(default="AddAction", alias='@type', constant=True)
type_: str = Field(default="AddAction", alias='@type', const=True)

2 changes: 1 addition & 1 deletion pydantic_schemaorg/AdministrativeArea.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ class AdministrativeArea(Place):
See: https://schema.org/AdministrativeArea
Model depth: 3
"""
type_: str = Field(default="AdministrativeArea", alias='@type', constant=True)
type_: str = Field(default="AdministrativeArea", alias='@type', const=True)

2 changes: 1 addition & 1 deletion pydantic_schemaorg/AdultEntertainment.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ class AdultEntertainment(EntertainmentBusiness):
See: https://schema.org/AdultEntertainment
Model depth: 5
"""
type_: str = Field(default="AdultEntertainment", alias='@type', constant=True)
type_: str = Field(default="AdultEntertainment", alias='@type', const=True)

2 changes: 1 addition & 1 deletion pydantic_schemaorg/AdvertiserContentArticle.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ class AdvertiserContentArticle(Article):
See: https://schema.org/AdvertiserContentArticle
Model depth: 4
"""
type_: str = Field(default="AdvertiserContentArticle", alias='@type', constant=True)
type_: str = Field(default="AdvertiserContentArticle", alias='@type', const=True)

2 changes: 1 addition & 1 deletion pydantic_schemaorg/AerobicActivity.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ class AerobicActivity(PhysicalActivityCategory):
See: https://schema.org/AerobicActivity
Model depth: 5
"""
type_: str = Field(default="AerobicActivity", alias='@type', constant=True)
type_: str = Field(default="AerobicActivity", alias='@type', const=True)

8 changes: 4 additions & 4 deletions pydantic_schemaorg/AggregateOffer.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from typing import TYPE_CHECKING

from typing import List, Optional, Union
from decimal import Decimal
from pydantic import StrictInt, StrictFloat


from pydantic import Field
Expand All @@ -19,7 +19,7 @@ class AggregateOffer(Offer):
See: https://schema.org/AggregateOffer
Model depth: 4
"""
type_: str = Field(default="AggregateOffer", alias='@type', constant=True)
type_: str = Field(default="AggregateOffer", alias='@type', const=True)
offers: Optional[Union[List[Union['Offer', 'Demand', str]], 'Offer', 'Demand', str]] = Field(
default=None,
description="An offer to provide this item—for example, an offer to sell a product, rent the"
Expand All @@ -29,14 +29,14 @@ class AggregateOffer(Offer):
"of common types, it can be used in others. In that case, using a second type, such as Product"
"or a subtype of Product, can clarify the nature of the offer.",
)
lowPrice: Optional[Union[List[Union[int, float, 'Number', str, 'Text']], int, float, 'Number', str, 'Text']] = Field(
lowPrice: Optional[Union[List[Union[StrictInt, StrictFloat, 'Number', str, 'Text']], StrictInt, StrictFloat, 'Number', str, 'Text']] = Field(
default=None,
description="The lowest price of all offers available. Usage guidelines: * Use values from 0123456789"
"(Unicode 'DIGIT ZERO' (U+0030) to 'DIGIT NINE' (U+0039)) rather than superficially"
"similiar Unicode symbols. * Use '.' (Unicode 'FULL STOP' (U+002E)) rather than ',' to"
"indicate a decimal point. Avoid using these symbols as a readability separator.",
)
highPrice: Optional[Union[List[Union[int, float, 'Number', str, 'Text']], int, float, 'Number', str, 'Text']] = Field(
highPrice: Optional[Union[List[Union[StrictInt, StrictFloat, 'Number', str, 'Text']], StrictInt, StrictFloat, 'Number', str, 'Text']] = Field(
default=None,
description="The highest price of all offers available. Usage guidelines: * Use values from 0123456789"
"(Unicode 'DIGIT ZERO' (U+0030) to 'DIGIT NINE' (U+0039)) rather than superficially"
Expand Down
2 changes: 1 addition & 1 deletion pydantic_schemaorg/AggregateRating.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class AggregateRating(Rating):
See: https://schema.org/AggregateRating
Model depth: 4
"""
type_: str = Field(default="AggregateRating", alias='@type', constant=True)
type_: str = Field(default="AggregateRating", alias='@type', const=True)
reviewCount: Optional[Union[List[Union[int, 'Integer', str]], int, 'Integer', str]] = Field(
default=None,
description="The count of total number of reviews.",
Expand Down
2 changes: 1 addition & 1 deletion pydantic_schemaorg/AgreeAction.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ class AgreeAction(ReactAction):
See: https://schema.org/AgreeAction
Model depth: 5
"""
type_: str = Field(default="AgreeAction", alias='@type', constant=True)
type_: str = Field(default="AgreeAction", alias='@type', const=True)

2 changes: 1 addition & 1 deletion pydantic_schemaorg/Airline.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class Airline(Organization):
See: https://schema.org/Airline
Model depth: 3
"""
type_: str = Field(default="Airline", alias='@type', constant=True)
type_: str = Field(default="Airline", alias='@type', const=True)
boardingPolicy: Optional[Union[List[Union['BoardingPolicyType', str]], 'BoardingPolicyType', str]] = Field(
default=None,
description="The type of boarding policy used by the airline (e.g. zone-based or group-based).",
Expand Down
2 changes: 1 addition & 1 deletion pydantic_schemaorg/Airport.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class Airport(CivicStructure):
See: https://schema.org/Airport
Model depth: 4
"""
type_: str = Field(default="Airport", alias='@type', constant=True)
type_: str = Field(default="Airport", alias='@type', const=True)
iataCode: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field(
default=None,
description="IATA identifier for an airline or airport.",
Expand Down
2 changes: 1 addition & 1 deletion pydantic_schemaorg/AlbumRelease.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ class AlbumRelease(MusicAlbumReleaseType):
See: https://schema.org/AlbumRelease
Model depth: 5
"""
type_: str = Field(default="AlbumRelease", alias='@type', constant=True)
type_: str = Field(default="AlbumRelease", alias='@type', const=True)

2 changes: 1 addition & 1 deletion pydantic_schemaorg/AlignmentObject.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class AlignmentObject(Intangible):
See: https://schema.org/AlignmentObject
Model depth: 3
"""
type_: str = Field(default="AlignmentObject", alias='@type', constant=True)
type_: str = Field(default="AlignmentObject", alias='@type', const=True)
alignmentType: Optional[Union[List[Union[str, 'Text']], str, 'Text']] = Field(
default=None,
description="A category of alignment between the learning resource and the framework node. Recommended"
Expand Down
2 changes: 1 addition & 1 deletion pydantic_schemaorg/AllWheelDriveConfiguration.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ class AllWheelDriveConfiguration(DriveWheelConfigurationValue):
See: https://schema.org/AllWheelDriveConfiguration
Model depth: 6
"""
type_: str = Field(default="AllWheelDriveConfiguration", alias='@type', constant=True)
type_: str = Field(default="AllWheelDriveConfiguration", alias='@type', const=True)

2 changes: 1 addition & 1 deletion pydantic_schemaorg/AllergiesHealthAspect.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ class AllergiesHealthAspect(HealthAspectEnumeration):
See: https://schema.org/AllergiesHealthAspect
Model depth: 5
"""
type_: str = Field(default="AllergiesHealthAspect", alias='@type', constant=True)
type_: str = Field(default="AllergiesHealthAspect", alias='@type', const=True)

2 changes: 1 addition & 1 deletion pydantic_schemaorg/AllocateAction.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ class AllocateAction(OrganizeAction):
See: https://schema.org/AllocateAction
Model depth: 4
"""
type_: str = Field(default="AllocateAction", alias='@type', constant=True)
type_: str = Field(default="AllocateAction", alias='@type', const=True)

2 changes: 1 addition & 1 deletion pydantic_schemaorg/AmpStory.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ class AmpStory(CreativeWork):
See: https://schema.org/AmpStory
Model depth: 3
"""
type_: str = Field(default="AmpStory", alias='@type', constant=True)
type_: str = Field(default="AmpStory", alias='@type', const=True)

Loading

0 comments on commit 1a21f94

Please sign in to comment.