MCPcopy Index your code
hub / github.com/AgentOps-AI/agentops / normalize_uuid

Function normalize_uuid

app/api/agentops/deploy/models.py:12–14  ·  view source on GitHub ↗

Normalize value to a UUID.

(id_: str | UUID)

Source from the content-addressed store, hash-verified

10
11
12def normalize_uuid(id_: str | UUID) -> UUID:
13 """Normalize value to a UUID."""
14 return UUID(id_) if isinstance(id_, str) else id_
15
16
17class HostingProjectModel(BaseModel):

Callers 2

get_by_idMethod · 0.70
get_or_create_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…