Untitled

 avatar
unknown
plain_text
2 years ago
366 B
5
Indexable
class StringUUID(fields.UUID):
    def _validated(self, value) -> typing.Optional[str]:
        response = super()._validated(value)
        return str(response) if response else Noneclass StringUUID(fields.UUID):
    def _validated(self, value) -> typing.Optional[str]:
        response = super()._validated(value)
        return str(response) if response else None
Editor is loading...