gravitino.dto.responses.function_response.FunctionResponse¶
- class gravitino.dto.responses.function_response.FunctionResponse(_code: int, _function: FunctionDTO)¶
Bases:
BaseResponseResponse object for function-related operations.
- __init__(_code: int, _function: FunctionDTO) None¶
Methods
__init__(_code, _function)code()from_dict(kvs, *[, infer_missing])from_json(s, *[, parse_float, parse_int, ...])function()Returns the function DTO object.
schema(*[, infer_missing, only, exclude, ...])to_dict([encode_json])to_json(*[, skipkeys, ensure_ascii, ...])validate()Validates the response data.
Attributes
dataclass_json_config- function() FunctionDTO¶
Returns the function DTO object.
- validate()¶
Validates the response data.
- Raises:
IllegalArgumentException: If function identifiers are not set.