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

Method __add__

src/crawlee/_utils/byte_size.py:100–103  ·  view source on GitHub ↗
(self, other: object)

Source from the content-addressed store, hash-verified

98 return NotImplemented
99
100 def __add__(self, other: object) -> ByteSize:
101 if isinstance(other, ByteSize):
102 return ByteSize(self.bytes + other.bytes)
103 return NotImplemented
104
105 def __sub__(self, other: object) -> ByteSize:
106 if isinstance(other, ByteSize):

Callers

nothing calls this directly

Calls 1

ByteSizeClass · 0.85

Tested by

no test coverage detected