You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behavior
It sends name as part of the input and the server throws an error which if you send inputs you cannot send any other field as part of the payload including name. Name gets sent over.
Is it a regression?
I tried 0.27.0.
Additional context
I fixed it by using the following class which uses json ignore for the name for querying:
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.databricks.sdk.service.serving.QueryEndpointInput;
class CustomQueryEndpointInput extends QueryEndpointInput {
@Override
@JsonIgnore
public String getName() {
return super.getName();
}
@Override
public QueryEndpointInput setName(String name) {
super.setName(name);
return this;
}
}
The text was updated successfully, but these errors were encountered:
Description
When using the inputs field only the inputs field is allowed and nothing more. Otherwise the server fails to parse the inputs.
Reproduction
Expected behavior
It sends name as part of the input and the server throws an error which if you send inputs you cannot send any other field as part of the payload including name. Name gets sent over.
Is it a regression?
I tried 0.27.0.
Additional context
I fixed it by using the following class which uses json ignore for the name for querying:
The text was updated successfully, but these errors were encountered: