MCPcopy
hub / github.com/InstaPy/InstaPy / run_time

Method run_time

instapy/instapy.py:5851–5858  ·  view source on GitHub ↗

Get the time session lasted in seconds

(self)

Source from the content-addressed store, hash-verified

5849 )
5850
5851 def run_time(self):
5852 """Get the time session lasted in seconds"""
5853
5854 real_time = time.time()
5855 run_time = real_time - self.start_time
5856 run_time = truncate_float(run_time, 2)
5857
5858 return run_time
5859
5860 def check_character_set(self, unistr):
5861 self.check_letters = {}

Callers 2

live_reportMethod · 0.95
_live_reportMethod · 0.80

Calls 1

truncate_floatFunction · 0.85

Tested by

no test coverage detected