add typing to all wraps (#25405)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
parent
eb52216a9c
commit
38057b1b0e
8 changed files with 61 additions and 46 deletions
|
|
@ -19,7 +19,7 @@ class ModelProviderAvailableModelApi(Resource):
|
|||
}
|
||||
)
|
||||
@validate_dataset_token
|
||||
def get(self, _, model_type):
|
||||
def get(self, _, model_type: str):
|
||||
"""Get available models by model type.
|
||||
|
||||
Returns a list of available models for the specified model type.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue