🚨 fix ruff error (#2338)

This commit is contained in:
Ju4tCode
2023-09-03 13:39:26 +08:00
committed by GitHub
parent fbc4225110
commit 44b89d13f8
2 changed files with 30 additions and 20 deletions

View File

@ -116,7 +116,7 @@ class Dependent(Generic[R]):
@staticmethod
def parse_params(
call: _DependentCallable[R], allow_types: Tuple[Type[Param], ...]
) -> Tuple[ModelField]:
) -> Tuple[ModelField, ...]:
fields: List[ModelField] = []
params = get_typed_signature(call).parameters.values()