mentortools/libs/: no-value-abm-1.0.79277 metadata and description
| author | mike |
| author_email | m.orlov@technokert.ru |
| classifiers |
|
| description_content_type | text/markdown |
| license | Proprietary. All rights reserved. Confidential and belonging to ABM. |
| requires_dist |
|
| requires_python | >=3.11,<4.0 |
| File | Tox results | History |
|---|---|---|
no_value_abm-1.0.79277-py3-none-any.whl
|
|
|
no_value_abm-1.0.79277.tar.gz
|
|
No value
Sentinel values to express missing keys or values, where None has it's own meaning, for example in jsom
warn: does not support static analysis (there is not way to make it right now)
Examples:
from no_value import NoValue
def foo(val: int | NoValue) -> None:
if val is NoValue:
print("missing")
else:
print(val)
foo(NoValue)
foo(123)