MCPcopy Create free account
hub / github.com/HumanSignal/label-studio / http

Method http

label_studio/ml/api_connector.py:79–86  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

77
78 @property
79 def http(self):
80 key = self._session_key()
81 if key in self._sessions:
82 return self._sessions[key]
83 else:
84 session = self.create_session()
85 self._sessions[key] = session
86 return session
87
88 def _prepare_kwargs(self, kwargs):
89 # add timeout if it's not presented

Callers

nothing calls this directly

Calls 2

_session_keyMethod · 0.95
create_sessionMethod · 0.95

Tested by

no test coverage detected