Metadata-Version: 2.3
Name: no-value-abm
Version: 1.0.79287
Summary: 
License: Proprietary. All rights reserved. Confidential and belonging to ABM.
Author: mike
Author-email: m.orlov@technokert.ru
Requires-Python: >=3.11,<4.0
Classifier: License :: Other/Proprietary License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Requires-Dist: taskipy (>=1.14.1,<2.0.0)
Description-Content-Type: text/markdown

## 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:

```python
from no_value import NoValue 
def update_some_value(val: int | None | NoValue) -> None:
    if isinstance(val, int):
        print(f'set something to {val}')
    elif val is None:
        print(f'clear value')
    elif val is NoValue:
        print("do nothing")


update_some_value(17)
update_some_value(42)
update_some_value(NoValue)
update_some_value(None)
```
Will 
```text
set something to 17
set something to 42
do nothing
clear value
```
