gravitino.api.function.function_param.FunctionParam

class gravitino.api.function.function_param.FunctionParam

Bases: ABC

Represents a function parameter.

__init__()

Methods

__init__()

comment()

Returns the optional comment of the parameter, None if not provided.

data_type()

Returns the data type of the parameter.

default_value()

Returns the default value of the parameter if provided, otherwise None.

name()

Returns the name of the parameter.

comment() → str | None

Returns the optional comment of the parameter, None if not provided.

abstract data_type() → Type

Returns the data type of the parameter.

default_value() → Expression | None

Returns the default value of the parameter if provided, otherwise None.

abstract name() → str

Returns the name of the parameter.