concepts.dsl.expression.ObjectConstantExpression#

class ObjectConstantExpression[source]#

Bases: ObjectOutputExpression

Methods

cached_string([max_length])

check_arguments()

Attributes

dtype

The type of the object.

is_constant_list

Whether the object is a constant list.

name

The name of the object.

return_type

constant

The object constant.

__init__(constant)[source]#
Parameters:

constant (ObjectConstant | ListValue) –

__new__(**kwargs)#
cached_string(max_length=None)#
Parameters:

max_length (int | None) –

check_arguments()#
constant: ObjectConstant | ListValue#

The object constant.

property dtype: ObjectType | ListType#

The type of the object.

property is_constant_list#

Whether the object is a constant list.

property name: str#

The name of the object.

property return_type: ObjectType | ListType#