MCPcopy Index your code
hub / github.com/commandoperator/cmdop-sdk / create

Method create

python/src/cmdop/resources/skills.py:120–123  ·  view source on GitHub ↗

Reserve a new skill by name (server fills the rest on publish).

(self, name: str)

Source from the content-addressed store, hash-verified

118 # -- create / update / delete ------------------------------------------
119
120 async def create(self, name: str) -> SkillCreated:
121 """Reserve a new skill by name (server fills the rest on publish)."""
122 req = pb.Envelope(skills_create_req=s_pb.SkillsCreateRequest(name=name))
123 return (await self._unary(req)).skill_created
124
125 async def update(
126 self,

Callers

nothing calls this directly

Calls 1

_unaryMethod · 0.80

Tested by

no test coverage detected