DropIndexResponse
Confirms that an index drop request completed.
For the list of response object types, see Response Objects.
Use DropIndexResponse to inspect the confirmation or status message returned after dropping indexes from a vector table.
Attributes
| Attribute | Type | Description |
|---|---|---|
message |
str or None |
Confirmation or status message returned by the service. |
Methods
| Method | Return Type | Description |
|---|---|---|
model_dump() |
dict[str, Any] |
Returns a Pydantic dictionary representation of the object. |
model_dump_json() |
str |
Returns a Pydantic JSON string representation of the object. |
to_dict() |
dict[str, Any] |
Returns a dictionary representation compatible with earlier SDK response handling. |
to_json() |
str |
Returns a JSON string representation compatible with earlier SDK response handling. |
to_str() |
str |
Returns a readable string representation compatible with earlier SDK response handling. |
Iterate Attributes
Use the response serialization helper to iterate every public attribute.
response = client.drop_index(table_name="product_vectors")
payload = response.to_dict()
for attribute, value in payload.items():
print(attribute, value)
Sample Response
{
"message": "Index dropped."
}
Returned By
Returned by: drop_index().