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

Method runtime

pokemongo_bot/metrics.py:32–33  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

30 self.player_stats = []
31
32 def runtime(self):
33 return timedelta(seconds=round(time.time() - self.start_time))
34
35 def xp_earned(self):
36 return self.xp['latest'] - self.xp['start']

Callers 2

report_summaryFunction · 0.80
_get_statsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected