Source code for dagstd.constants.numbers

"""
numbers.py contains ops that return common numbers. These ops are capitalised
to make them seem more like classes, which helps with readability.
"""
from dagster import op


[docs]@op def Zero() -> int: return 0
[docs]@op def One() -> int: return 1
[docs]@op def Two() -> int: return 2
[docs]@op def Three() -> int: return 3
[docs]@op def Four() -> int: return 4
[docs]@op def Five() -> int: return 5
[docs]@op def Six() -> int: return 6
[docs]@op def Seven() -> int: return 7
[docs]@op def Eight() -> int: return 8
[docs]@op def Nine() -> int: return 9
[docs]@op def Ten() -> int: return 10
[docs]@op def Twenty() -> int: return 20
[docs]@op def Thirty() -> int: return 30
[docs]@op def Forty() -> int: return 40
[docs]@op def Fifty() -> int: return 50
[docs]@op def OneHundred() -> int: return 100
[docs]@op def FiveHundred() -> int: return 500
[docs]@op def OneThousand() -> int: return 1000