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

Method to_gb

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

Source from the content-addressed store, hash-verified

52 return self.bytes / _BYTES_PER_MB
53
54 def to_gb(self) -> float:
55 return self.bytes / _BYTES_PER_GB
56
57 def to_tb(self) -> float:
58 return 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