MCPcopy Create free account
hub / github.com/celery/celery / humanize

Method humanize

celery/exceptions.py:177–180  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

175 super().__init__(self, exc, when, **kwargs)
176
177 def humanize(self):
178 if isinstance(self.when, numbers.Number):
179 return f'in {self.when}s'
180 return f'at {self.when}'
181
182 def __str__(self):
183 if self.message:

Callers 2

test_when_datetimeMethod · 0.95
__str__Method · 0.95

Calls

no outgoing calls

Tested by 1

test_when_datetimeMethod · 0.76