MCPcopy Create free account
hub / github.com/apify/crawlee-python / to_tb

Method to_tb

src/crawlee/_utils/byte_size.py:57–58  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

55 return self.bytes / _BYTES_PER_GB
56
57 def to_tb(self) -> float:
58 return self.bytes / _BYTES_PER_TB
59
60 def __str__(self) -> str:
61 if self.bytes >= _BYTES_PER_TB:

Callers 2

__str__Method · 0.95
test_conversionsFunction · 0.80

Calls

no outgoing calls

Tested by 1

test_conversionsFunction · 0.64