MCPcopy Index your code
hub / github.com/PyGithub/PyGithub / __setstate__

Method __setstate__

github/Requester.py:468–472  ·  view source on GitHub ↗
(self, state: dict[str, Any])

Source from the content-addressed store, hash-verified

466 return state
467
468 def __setstate__(self, state: dict[str, Any]) -> None:
469 self.__dict__.update(state)
470 self.__connection_lock = threading.Lock()
471 self.__connection = None
472 self.__custom_connections = deque()
473
474 @staticmethod
475 # replace with str.removesuffix once support for Python 3.8 is dropped

Callers

nothing calls this directly

Calls 1

updateMethod · 0.45

Tested by

no test coverage detected