will normalize the value of the unit to Byte
(self)
| 335 | ) |
| 336 | |
| 337 | def normalize(self) -> int: |
| 338 | """ |
| 339 | will normalize the value of the unit to Byte |
| 340 | """ |
| 341 | return int(self.value * self.unit.value) |
| 342 | |
| 343 | |
| 344 | class _SizeSerialization(TypedDict): |