Loads (unpickles) a PyGithub object from a file-like object. :param f: the file-like object to unpickle from :return: the unpickled object
(self, f: BinaryIO)
| 1015 | pickle.dump((obj.__class__, obj.raw_data, obj.raw_headers), file, protocol) |
| 1016 | |
| 1017 | def load(self, f: BinaryIO) -> Any: |
| 1018 | """ |
| 1019 | Loads (unpickles) a PyGithub object from a file-like object. |
| 1020 | |
| 1021 | :param f: the file-like object to unpickle from |
| 1022 | :return: the unpickled object |
| 1023 | |
| 1024 | """ |
| 1025 | return self.create_from_raw_data(*pickle.load(f)) |
| 1026 | |
| 1027 | def get_oauth_application(self, client_id: str, client_secret: str) -> ApplicationOAuth: |
| 1028 | return github.ApplicationOAuth.ApplicationOAuth( |
no test coverage detected