remove bare list, dict, Sequence, None, Any (#25058)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: -LAN- <laipz8200@outlook.com>
This commit is contained in:
parent
2b0695bdde
commit
a78339a040
306 changed files with 787 additions and 817 deletions
|
|
@ -33,7 +33,7 @@ class SimpleModelProviderEntity(BaseModel):
|
|||
icon_large: Optional[I18nObject] = None
|
||||
supported_model_types: list[ModelType]
|
||||
|
||||
def __init__(self, provider_entity: ProviderEntity) -> None:
|
||||
def __init__(self, provider_entity: ProviderEntity):
|
||||
"""
|
||||
Init simple provider.
|
||||
|
||||
|
|
@ -57,7 +57,7 @@ class ProviderModelWithStatusEntity(ProviderModel):
|
|||
load_balancing_enabled: bool = False
|
||||
has_invalid_load_balancing_configs: bool = False
|
||||
|
||||
def raise_for_status(self) -> None:
|
||||
def raise_for_status(self):
|
||||
"""
|
||||
Check model status and raise ValueError if not active.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue