Results of 1 - 2 of about 2 for checker (0.004 sec.)
- Advanced Dependencies 11228
- Advanced Dependencies Warning The current page still doesn't have a translation for this language. But you can help translating it: Contributing . Parameterized dependencies All the dependencies we have seen are a fixed function or class. B
..._ : Python 3.9+ from typing import Annotated from fastapi import Depends , FastAPI app = FastAPI () class FixedContentQueryChecker : def __init__ ( self , fixed_content : str ): self . fixed_content = fixed_content def __call__ ( self , q : str = "" ):...if q : return self . fixed_content in q return False checker = FixedContentQueryChecker ( "bar" ) @app . get ( "/query-checker/" ) async def read_query_check ( fixed_content_included...: Annotated [ bool , Depends ( checker )]): return { "fixed_content_in_query" : fixed_content_included } ? Other versions and variants Python 3.8+ Python 3.8+ -... - https://man.mtool.work/fastapi/0.115/advanced/advanced-dependencies/
- Release Notes 7485
- Release Notes Latest Changes 0.115.11 Fixes ? Add docs examples and tests (support) for Annotated custom validations, like AfterValidator , revert #13440 . PR #13442 by @tiangolo . New docs: Query Parameters and String Validations - Custom
...@tiangolo . ? Update permissions and config for labeler GitHub Action. PR #12008 by @tiangolo . ?? Add GitHub Action label-checker. PR #12005 by @tiangolo . ? Add label checker GitHub Action. PR #12004 by @tiangolo . ? Update GitHub Action add-to-projec... - https://man.mtool.work/fastapi/0.115/release-notes/
PREV
1
NEXT