Skip to content

Commit

Permalink
📝 support Coordinate Type (#6906)
Browse files Browse the repository at this point in the history
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
  • Loading branch information
yezz123 and Kludex committed Jul 27, 2023
1 parent eab48b1 commit b33a795
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/usage/types/extra_types/coordinate.md
@@ -0,0 +1,3 @@
{{ install_pydantic_extra_types }}

{{ external_markdown('https://raw.githubusercontent.com/pydantic/pydantic-extra-types/main/docs/coordinate.md', '') }}
1 change: 1 addition & 0 deletions docs/usage/types/extra_types/extra_types.md
Expand Up @@ -9,5 +9,6 @@ The following types are supported by [Pydantic Extra Types]:
* [Phone Numbers](phone_numbers.md) &mdash; a type that allows you to store phone numbers in your model.
* [Routing Numbers](routing_numbers.md) &mdash; a type that allows you to store ABA transit routing numbers in your model.
* [MAC Address](mac_address.md) &mdash; a type that allows you to store MAC addresses in your model.
* [Coordinate](coordinate.md) &mdash; a type that allows you to store the latitude and longitude in your model.

[Pydantic Extra Types]: https://github.com/pydantic/pydantic-extra-types
1 change: 1 addition & 0 deletions mkdocs.yml
Expand Up @@ -87,6 +87,7 @@ nav:
- Phone Numbers: usage/types/extra_types/phone_numbers.md
- Routing Numbers: usage/types/extra_types/routing_numbers.md
- MAC Address: usage/types/extra_types/mac_address.md
- Coordinate: usage/types/extra_types/coordinate.md
- usage/validators.md
- 'Model Config': usage/model_config.md
- 'Fields': usage/fields.md
Expand Down

0 comments on commit b33a795

Please sign in to comment.