|
"SnapshotValue" | of (Union[bytes, str, "SnapshotValue"] data) |
|
Definition at line 32 of file SnapshotValue.py.
◆ __init__()
selfie_lib.SnapshotValue.SnapshotValueBinary.__init__ |
( |
|
self, |
|
|
bytes |
value |
|
) |
| |
Definition at line 33 of file SnapshotValue.py.
33 def __init__(self, value: bytes):
34 self._value = value
35
◆ __eq__()
bool selfie_lib.SnapshotValue.SnapshotValueBinary.__eq__ |
( |
|
self, |
|
|
object |
other |
|
) |
| |
Definition at line 42 of file SnapshotValue.py.
42 def __eq__(self, other: object) -> bool:
43 if isinstance(other, SnapshotValueBinary):
44 return self.value_binary() == other.value_binary()
45 return False
46
◆ __hash__()
int selfie_lib.SnapshotValue.SnapshotValueBinary.__hash__ |
( |
|
self | ) |
|
Definition at line 47 of file SnapshotValue.py.
47 def __hash__(self) -> int:
48 return hash(self._value)
49
50
◆ value_binary()
bytes selfie_lib.SnapshotValue.SnapshotValueBinary.value_binary |
( |
|
self | ) |
|
◆ value_string()
str selfie_lib.SnapshotValue.SnapshotValueBinary.value_string |
( |
|
self | ) |
|
◆ _value
selfie_lib.SnapshotValue.SnapshotValueBinary._value |
|
protected |
The documentation for this class was generated from the following file: