8000 Remove unused code from `docs/usage/types/custom.md` by hramezani · Pull Request #6803 · pydantic/pydantic · GitHub
[go: up one dir, main page]

Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
< 8000 /details>
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Remove unused code from docs/usage/types/custom.md
  • Loading branch information
hramezani committed Jul 22, 2023
commit 5591ea495935fe5aded9ef628f88b8ba9e9408c5
6 changes: 0 additions & 6 deletions docs/usage/types/custom.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,6 @@ from pydantic import (
WithJsonSchema,
)


class MyType:
def __init__(self, value: str) -> None:
self.value = value


TruncatedFloat = Annotated[
float,
AfterValidator(lambda x: round(x, 1)),
Expand Down
0