Normalize value to a UUID.
(id_: str | UUID)
| 27 | |
| 28 | |
| 29 | def normalize_uuid(id_: str | UUID) -> UUID: |
| 30 | """Normalize value to a UUID.""" |
| 31 | return uuid.UUID(id_) if isinstance(id_, str) else id_ |
| 32 | |
| 33 | |
| 34 | class OrgRoles(enum.Enum): |
no outgoing calls
no test coverage detected
searching dependent graphs…