Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 52113a1

Browse files
Commit: 094726f0
1 parent ecae082 commit 52113a1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎regula/documentreader/webclient/gen/models/fdsid_list.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ class FDSIDList(BaseModel):
2222
Extended document type info and Regula's 'Information Reference Systems' links
2323
""" # noqa: E501
2424
icao_code: Annotated[str, Field(min_length=3, strict=True, max_length=3)] = Field(description="ICAO code of the issuing country", alias="ICAOCode")
25-
count: Union[StrictFloat, StrictInt] = Field(description="Number of elements in the List", alias="Count")
26-
list: List[StrictInt] = Field(description="Document identifiers in 'Information Reference Systems'", alias="List")
25+
count: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Number of elements in the List", alias="Count")
26+
list: Optional[List[StrictInt]] = Field(default=None, description="Document identifiers in 'Information Reference Systems'", alias="List")
2727
d_type: DocumentType = Field(alias="dType")
2828
d_format: DocumentFormat = Field(alias="dFormat")
2929
d_mrz: StrictBool = Field(description="Flag indicating the presence of MRZ on the document", alias="dMRZ")
3030
d_description: Optional[StrictStr] = Field(default=None, description="Document description", alias="dDescription")
31-
d_year: StrictStr = Field(description="Year of publication of the document", alias="dYear")
31+
d_year: Optional[StrictStr] = Field(default=None, description="Year of publication of the document", alias="dYear")
3232
d_country_name: StrictStr = Field(description="Issuing country name", alias="dCountryName")
3333
d_state_code: Optional[StrictStr] = Field(default=None, description="Issuing state code", alias="dStateCode")
3434
d_state_name: Optional[StrictStr] = Field(default=None, description="Issuing state name", alias="dStateName")

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /