Skip to content

Commit

Permalink
fix demo
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelcolvin committed Dec 5, 2023
1 parent 4b690fc commit bb1b967
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions demo/tables.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ class City(BaseModel):
country: str = Field(title='Country')
iso2: str = Field(title='ISO2')
iso3: str = Field(title='ISO3')
admin_name: Union[str, None] = Field(title='Admin Name')
capital: Union[str, None] = Field(title='Capital')
admin_name: str | None = Field(title='Admin Name')
capital: str | None = Field(title='Capital')
population: float = Field(title='Population')


Expand Down

0 comments on commit bb1b967

Please sign in to comment.