MCPcopy
hub / github.com/PokemonGoF/PokemonGo-Bot / _call

Method _call

pokemongo_bot/api_wrapper.py:168–176  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

166 return True
167
168 def _call(self):
169 for _attempt in range(10):
170 try:
171 return PGoApiRequest.call(self)
172 except:
173 self.log.info('Request failed, retrying.')
174 sleep(1)
175 else:
176 break
177
178 def _pop_request_callers(self):
179 r = self.request_callers

Callers 1

callMethod · 0.95

Calls 2

sleepFunction · 0.85
callMethod · 0.80

Tested by

no test coverage detected