MCPcopy Create free account
hub / github.com/Roy3838/Observer / _slugify

Function _slugify

api/orgs.py:121–123  ·  view source on GitHub ↗
(name: str)

Source from the content-addressed store, hash-verified

119
120
121def _slugify(name: str) -> str:
122 keep = "".join(c.lower() if c.isalnum() else "-" for c in name)
123 return "-".join(p for p in keep.split("-") if p)[:40] or "org"
124
125
126def _seats_used(org: dict) -> int:

Callers 1

provision_orgFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected