Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

📝 support Coordinate Type #6906

Merged
merged 3 commits into from Jul 27, 2023
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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) — a type that allows you to store phone numbers in your model.
* [Routing Numbers](routing_numbers.md) — a type that allows you to store ABA transit routing numbers in your model.
* [MAC Address](mac_address.md) — a type that allows you to store MAC addresses in your model.
* [Coordinate](coordinate.md) — a type that allows you to store Latitude and Longitude in your model.
Kludex marked this conversation as resolved.
Show resolved Hide resolved

[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'
Kludex marked this conversation as resolved.
Show resolved Hide resolved
- usage/validators.md
- 'Model Config': usage/model_config.md
- 'Fields': usage/fields.md
Expand Down