pynyaasi.client.size¶
SizeProxy¶
-
class
pynyaasi.client.size.SizeProxy(raw: str)[source]¶ Represents a proxy for managing and comparing sizes.
The SizeProxy data class is designed to handle and compare sizes represented as text.
- Parameters:
raw (str) – The raw text representation of the size.
- Variables:
raw (str) – The raw text representation of the size.
-
__ge__(other)[source]¶ Compare if the size is greater than or equal to another size.
- Parameters:
other (str) – The size to compare with.
- Returns:
True if the size is greater than or equal to the other size, False otherwise.
- Return type:
bool
-
__gt__(other)[source]¶ Compare if the size is greater than another size.
- Parameters:
other (str) – The size to compare with.
- Returns:
True if the size is greater than the other size, False otherwise.
- Return type:
bool
-
__le__(other)[source]¶ Compare if the size is less than or equal to another size.
- Parameters:
other (str) – The size to compare with.
- Returns:
True if the size is less than or equal to the other size, False otherwise.
- Return type:
bool