ref: Some fixes for ruff rules preview mode (#4197)
* Some fixes for ruff rules preview mode * Fix mypy error * More Annotated[] types for fastapi endpoints * Use type aliases for Depends(get_session) and Depends(get_current_active_user)
This commit is contained in:
parent
e308f8d84d
commit
f0eb7b50a6
28 changed files with 189 additions and 192 deletions
|
|
@ -29,14 +29,17 @@ __all__ = [
|
|||
"CodeInput",
|
||||
"DataInput",
|
||||
"DefaultPromptField",
|
||||
"DefaultPromptField",
|
||||
"DictInput",
|
||||
"DropdownInput",
|
||||
"FileInput",
|
||||
"FloatInput",
|
||||
"HandleInput",
|
||||
"Input",
|
||||
"Input",
|
||||
"IntInput",
|
||||
"LinkInput",
|
||||
"LinkInput",
|
||||
"MessageInput",
|
||||
"MessageTextInput",
|
||||
"MultilineInput",
|
||||
|
|
@ -45,10 +48,7 @@ __all__ = [
|
|||
"NestedDictInput",
|
||||
"PromptInput",
|
||||
"SecretStrInput",
|
||||
"SliderInput",
|
||||
"StrInput",
|
||||
"TableInput",
|
||||
"Input",
|
||||
"DefaultPromptField",
|
||||
"LinkInput",
|
||||
"SliderInput",
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue