MCPcopy Create free account
hub / github.com/commandoperator/cmdop-sdk / from_env

Method from_env

python/src/cmdop/client.py:52–54  ·  view source on GitHub ↗

Build a client from the ``CMDOP_*`` environment variables.

(cls)

Source from the content-addressed store, hash-verified

50
51 async def __aenter__(self) -> Client:
52 return self
53
54 async def __aexit__(self, *exc: Any) -> None:
55 await self.aclose()
56
57 async def aclose(self) -> None:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected