- Sort Score
- Num 10 results
- Language All
Results 491 - 500 of 880 for resync (0.27 seconds)
-
docs_src/query_params_str_validations/tutorial004_py310.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Oct 24 20:26:06 GMT 2023 - 335 bytes - Click Count (0) -
docs_src/body_multiple_params/tutorial002_py310.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Jan 07 14:11:31 GMT 2022 - 446 bytes - Click Count (0) -
docs_src/cookie_param_models/tutorial001_an_py310.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Sep 17 18:54:10 GMT 2024 - 343 bytes - Click Count (0) -
docs_src/additional_status_codes/tutorial001_an_py310.py
from fastapi.responses import JSONResponse app = FastAPI() items = {"foo": {"name": "Fighters", "size": 6}, "bar": {"name": "Tenders", "size": 3}} @app.put("/items/{item_id}") async def upsert_item( item_id: str, name: Annotated[str | None, Body()] = None, size: Annotated[int | None, Body()] = None, ): if item_id in items: item = items[item_id] item["name"] = name
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Mar 18 12:29:59 GMT 2023 - 686 bytes - Click Count (0) -
docs_src/background_tasks/tutorial002_an_py310.py
if q: message = f"found query: {q}\n" background_tasks.add_task(write_log, message) return q @app.post("/send-notification/{email}") async def send_notification( email: str, background_tasks: BackgroundTasks, q: Annotated[str, Depends(get_query)] ): message = f"message to {email}\n" background_tasks.add_task(write_log, message)Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Mar 18 12:29:59 GMT 2023 - 683 bytes - Click Count (0) -
tests/test_swagger_ui_init_oauth.py
from fastapi.testclient import TestClient swagger_ui_init_oauth = {"clientId": "the-foo-clients", "appName": "The Predendapp"} app = FastAPI(swagger_ui_init_oauth=swagger_ui_init_oauth) @app.get("/items/") async def read_items(): return {"id": "foo"} client = TestClient(app) def test_swagger_ui(): response = client.get("/docs") assert response.status_code == 200, response.textCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Aug 09 10:54:05 GMT 2020 - 718 bytes - Click Count (0) -
docs/zh/docs/tutorial/dependencies/sub-dependencies.md
//// tab | Python 3.10+ ```Python hl_lines="1" async def needy_dependency(fresh_value: Annotated[str, Depends(get_value, use_cache=False)]): return {"fresh_value": fresh_value} ``` //// //// tab | Python 3.10+ 非 Annotated /// tip | 提示 尽可能优先使用 `Annotated` 版本。 /// ```Python hl_lines="1" async def needy_dependency(fresh_value: str = Depends(get_value, use_cache=False)):
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Feb 13 13:37:57 GMT 2026 - 3.8K bytes - Click Count (0) -
docs_src/query_params_str_validations/tutorial007_an_py310.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Mar 26 16:56:53 GMT 2024 - 337 bytes - Click Count (0) -
docs_src/response_model/tutorial003_05_py310.py
from fastapi import FastAPI, Response from fastapi.responses import RedirectResponse app = FastAPI() @app.get("/portal", response_model=None) async def get_portal(teleport: bool = False) -> Response | dict: if teleport: return RedirectResponse(url="https://www.youtube.com/watch?v=dQw4w9WgXcQ")
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Jan 10 16:22:47 GMT 2023 - 373 bytes - Click Count (0) -
CLAUDE.md
├── concurrent/ # Async patterns (Deferred/Promise) └── util/ # Utilities ``` ### Key Design Patterns - **Builder**: SuggesterBuilder, SuggestRequestBuilder - **Facade**: Suggester (main entry point) - **Composite**: NormalizerChain, ReadingConverterChain - **Strategy**: Normalizer, ReadingConverter, ContentsParser - **Deferred/Promise**: Async operations ### Index Alias Strategy
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Thu Mar 12 03:39:53 GMT 2026 - 8.1K bytes - Click Count (0)