MCPcopy Create free account
hub / github.com/AgentOps-AI/agentops / normalize_uuid

Function normalize_uuid

app/api/agentops/opsboard/models.py:29–31  ·  view source on GitHub ↗

Normalize value to a UUID.

(id_: str | UUID)

Source from the content-addressed store, hash-verified

27
28
29def 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
34class OrgRoles(enum.Enum):

Callers 15

get_by_idMethod · 0.70
get_user_membershipMethod · 0.70
is_user_memberMethod · 0.70
is_user_ownerMethod · 0.70
get_by_idMethod · 0.70
get_all_for_userMethod · 0.70
get_by_id_summaryMethod · 0.70
get_by_id_for_detailMethod · 0.70
get_by_idMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…