gravitino.client.generic_function.GenericFunction

class gravitino.client.generic_function.GenericFunction(function_dto: FunctionDTO)

Bases: Function

A generic implementation of the Function interface.

__init__(function_dto: FunctionDTO)

Create a GenericFunction from a FunctionDTO.

Args:

function_dto: The function DTO.

Methods

__init__(function_dto)

Create a GenericFunction from a FunctionDTO.

audit_info()

Returns the audit information.

comment()

Returns the optional comment of the function.

definitions()

Returns the definitions of the function.

deterministic()

Returns whether the function is deterministic.

function_type()

Returns the function type.

name()

Returns the function name.

audit_info() AuditDTO | None

Returns the audit information.

comment() str | None

Returns the optional comment of the function.

definitions() List[FunctionDefinition]

Returns the definitions of the function.

deterministic() bool

Returns whether the function is deterministic.

function_type() FunctionType

Returns the function type.

name() str

Returns the function name.