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

Method to_mb

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

Source from the content-addressed store, hash-verified

49 return self.bytes / _BYTES_PER_KB
50
51 def to_mb(self) -> float:
52 return self.bytes / _BYTES_PER_MB
53
54 def to_gb(self) -> float:
55 return self.bytes / _BYTES_PER_GB

Callers 4

__str__Method · 0.95
test_conversionsFunction · 0.80
test_dynamic_memoryFunction · 0.80

Calls

no outgoing calls