hydra.overlay.python.dsl.literal_types module

A DSL of short names for literal types.

hydra.overlay.python.dsl.literal_types.bigint() LiteralType

Construct a bigint literal type.

hydra.overlay.python.dsl.literal_types.binary() LiteralType

Construct a binary literal type.

hydra.overlay.python.dsl.literal_types.boolean() LiteralType

Construct a boolean literal type.

hydra.overlay.python.dsl.literal_types.decimal() LiteralType

Construct a decimal literal type (arbitrary-precision exact decimal).

hydra.overlay.python.dsl.literal_types.float32() LiteralType

Construct a float32 literal type.

hydra.overlay.python.dsl.literal_types.float64() LiteralType

Construct a float64 literal type.

hydra.overlay.python.dsl.literal_types.float_(ftype: FloatType) LiteralType

Construct a float literal type.

hydra.overlay.python.dsl.literal_types.int16() LiteralType

Construct an int16 literal type.

hydra.overlay.python.dsl.literal_types.int32() LiteralType

Construct an int32 literal type.

hydra.overlay.python.dsl.literal_types.int64() LiteralType

Construct an int64 literal type.

hydra.overlay.python.dsl.literal_types.int8() LiteralType

Construct an int8 literal type.

hydra.overlay.python.dsl.literal_types.integer(itype: IntegerType) LiteralType

Construct an integer literal type.

hydra.overlay.python.dsl.literal_types.show_literal_type(ltype: LiteralType) str

Show a literal type as a string.

hydra.overlay.python.dsl.literal_types.string() LiteralType

Construct a string literal type.

hydra.overlay.python.dsl.literal_types.uint16() LiteralType

Construct a uint16 literal type.

hydra.overlay.python.dsl.literal_types.uint32() LiteralType

Construct a uint32 literal type.

hydra.overlay.python.dsl.literal_types.uint64() LiteralType

Construct a uint64 literal type.

hydra.overlay.python.dsl.literal_types.uint8() LiteralType

Construct a uint8 literal type.