We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 628d691 commit 60c554dCopy full SHA for 60c554d
pydantic_pkgr/semver.py
@@ -119,6 +119,9 @@ def parse(cls, version_stdout: SemVerParsableTypes) -> Self | None:
119
def __str__(self):
120
return '.'.join(str(chunk) for chunk in self)
121
122
+
123
+ # Not needed as long as we dont stray any further from a basic NamedTuple
124
+ # if we start overloading more methods or it becomes a fully custom type, then we probably need this:
125
# @classmethod
126
# def __get_pydantic_core_schema__(cls, source: Type[Any], handler: GetCoreSchemaHandler) -> core_schema.CoreSchema:
127
# default_schema = handler(source)
0 commit comments