MCPcopy Create free account
hub / github.com/apache/cloudstack / init_session

Method init_session

extensions/MaaS/maas.py:92–97  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

90 fail(f"Error parsing JSON: {str(e)}")
91
92 def init_session(self):
93 return OAuth1Session(
94 self.data["consumer"],
95 resource_owner_key=self.data["token"],
96 resource_owner_secret=self.data["secret"],
97 )
98
99 def call_maas(self, method, path, data=None, ignore_404=False):
100 if not path.startswith("/"):

Callers 1

__init__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected