mentortools/libs/: no-value-abm-1.0.79277 metadata and description

Simple index Newer version available

author mike
author_email m.orlov@technokert.ru
classifiers
  • License :: Other/Proprietary License
  • Programming Language :: Python :: 3
  • Programming Language :: Python :: 3.11
  • Programming Language :: Python :: 3.12
  • Programming Language :: Python :: 3.13
description_content_type text/markdown
license Proprietary. All rights reserved. Confidential and belonging to ABM.
requires_dist
  • taskipy (>=1.14.1,<2.0.0)
requires_python >=3.11,<4.0
File Tox results History
no_value_abm-1.0.79277-py3-none-any.whl
Size
2 KB
Type
Python Wheel
Python
3
no_value_abm-1.0.79277.tar.gz
Size
1 KB
Type
Source

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)