Skip to content

Commit

Permalink
update method description
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaszurkan-optimizely committed Dec 13, 2019
1 parent 1aebafd commit c772b3e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions optimizely/event/event_processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,13 +150,13 @@ def _validate_instantiation_props(self, prop, prop_name, default_value):
return is_valid

def _get_time(self, _time=None):
""" Method to return rounded off time as integer in seconds. If _time is None, uses current time.
""" Method to return time as float in seconds. If _time is None, uses current time.
Args:
_time: time in seconds that needs to be rounded off.
_time: time in seconds.
Returns:
Integer time in seconds.
Float time in seconds.
"""
if _time is None:
return time.time()
Expand Down

0 comments on commit c772b3e

Please sign in to comment.