aito.client.requests.schema_api_request.DeleteColumnSchemaRequest

class aito.client.requests.schema_api_request.DeleteColumnSchemaRequest(table_name: str, column_name: str)

Bases: _DeleteRequest, _ColumnSchemaRequest, _SchemaAPIRequest

Request to Delete a column

Parameters:
  • table_name (str) – the name of the table containing the column

  • column_name (str) – the name of the column

Methods

make_request(method, endpoint, query)

factory method to return the appropriate request class instance after checking the input endpoint and method :param method: the method of the request :type method: str :param endpoint: the endpoint of the request :type endpoint: str :param query: an Aito query if applicable, optional :type query: Optional[Union[Dict, List]] :return: the appropriate request class intsnace :rtype: AitoRequest

Attributes

endpoint_prefix

method

classmethod make_request(method: str, endpoint: str, query: Dict | List | None) AitoRequest

factory method to return the appropriate request class instance after checking the input endpoint and method :param method: the method of the request :type method: str :param endpoint: the endpoint of the request :type endpoint: str :param query: an Aito query if applicable, optional :type query: Optional[Union[Dict, List]] :return: the appropriate request class intsnace :rtype: AitoRequest

response_cls

alias of BaseResponse