Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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_conversions
Function · 0.80
Calls
no outgoing calls
Tested by
1
test_conversions
Function · 0.64