concepts.dsl.expression.ConstantExpression#

class ConstantExpression[source]#

Bases: ValueOutputExpression

Constant expression always returns a constant value.

Methods

cached_string([max_length])

check_arguments()

false()

float32(value)

int64(value)

true()

Attributes

FALSE

TRUE

return_type

constant

The constant.

__init__(value, dtype=None)[source]#
Parameters:
__new__(**kwargs)#
cached_string(max_length=None)#
Parameters:

max_length (int | None) –

check_arguments()#
classmethod false()[source]#
classmethod float32(value)[source]#
classmethod int64(value)[source]#
classmethod true()[source]#
FALSE = ConstantExpression<Const::0>#
TRUE = ConstantExpression<Const::1>#
constant: ValueBase#

The constant.

property return_type: ValueType | ListType#