Closed biranyucel closed 5 months ago
I tried to define preprocessor under Parameters class basically like this but it gives error because it doesn't recognized but other Classes in the code
class Parameters(BaseModel):
base_models: Union[List['Model'], None] = None
preprocessors: Union[List['Model'], None] = None
@guanth0520 can you take a look at this Issue? Thanks.
If we are giving custom preprocessors on model_request params, it doesn't work because
base_models
define on routes.py butpreprocessor
haven't.example model_request params:
from the api_call_example_exovar.ipynb