- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 108 for New (0.56 sec)
-
docs/en/docs/advanced/middleware.md
So, in the documentation for third-party ASGI middlewares they will probably tell you to do something like: ```Python from unicorn import UnicornMiddleware app = SomeASGIApp() new_app = UnicornMiddleware(app, some_config="rainbow") ```
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 10 18:27:10 GMT 2023 - 4K bytes - Viewed (0) -
fastapi/security/oauth2.py
This is the base class for OAuth2 authentication, an instance of it would be used as a dependency. All other OAuth2 classes inherit from it and customize it for each OAuth2 flow. You normally would not create a new class inheriting from it but use one of the existing subclasses, and maybe compose them if you want to support multiple flows. Read more about it in the
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Apr 02 02:48:51 GMT 2024 - 21.1K bytes - Viewed (1) -
docs/em/docs/contributing.md
โก๏ธ ๐ฌ ๐ ๐ ๐ฎ โ ๐ญ๐น, & โซ๏ธ ๐ซ ๐ค ๐ฉบ. โ ๐ โช๏ธโก๏ธ ๐, ๐ "๐ญ๐น" `ht`. โญ ๐ ๐ โ ๐ ๐ โ ๐: <div class="termy"> ```console // Use the command new-lang, pass the language code as a CLI argument $ python ./scripts/docs.py new-lang ht Successfully initialized: docs/ht Updating ht Updating en ``` </div> ๐ ๐ ๐ช โ ๐ ๐ ๐จโ๐จ โณ โ ๐ `docs/ht/`. !!! tip
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sun Jun 11 21:38:15 GMT 2023 - 11.4K bytes - Viewed (0) -
docs/en/docs/tutorial/security/get-current-user.md
Remember that dependencies can have sub-dependencies? `get_current_user` will have a dependency with the same `oauth2_scheme` we created before. The same as we were doing before in the *path operation* directly, our new dependency `get_current_user` will receive a `token` as a `str` from the sub-dependency `oauth2_scheme`: === "Python 3.10+" ```Python hl_lines="25" {!> ../../../docs_src/security/tutorial002_an_py310.py!} ```
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Jan 11 16:31:18 GMT 2024 - 7.6K bytes - Viewed (0) -
tests/test_webhooks_security.py
monthly_fee: float start_date: datetime @app.webhooks.post("new-subscription") def new_subscription( body: Subscription, token: Annotated[str, Security(bearer_scheme)] ): """ When a new user subscribes to your service we'll send you a POST request with this data to the URL that you register for the event `new-subscription` in the dashboard. """ client = TestClient(app)
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Oct 20 09:00:44 GMT 2023 - 4.6K bytes - Viewed (0) -
tests/test_tutorial/test_openapi_webhooks/test_tutorial001.py
}, "webhooks": { "new-subscription": { "post": { "summary": "New Subscription", "description": "When a new user subscribes to your service we'll send you a POST request with this\ndata to the URL that you register for the event `new-subscription` in the dashboard.", "operationId": "new_subscriptionnew_subscription_post",
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Oct 20 09:00:44 GMT 2023 - 4.4K bytes - Viewed (2) -
docs/em/docs/alternatives.md
**FastAPI** โคด๏ธ โ ๐ ๐ป ๐ ๐ฝ & ๐ฎ โซ๏ธ ๐, โ๏ธ โช๏ธโก๏ธ ๐ ๐ ๐ โซ๏ธ ๐จ. ### <a href="https://www.starlette.io/" class="external-link" target="_blank">๐</a> ๐ ๐ฟ <abbr title="The new standard for building asynchronous Python web">๐ซ</abbr> ๐ ๏ธ/๐งฐ, โ ๐ฏ ๐ โ-๐ญ โณ ๐โ๐ฆบ. โซ๏ธ ๐ถ ๐ & ๐๏ธ. โซ๏ธ ๐ง ๐ช ๐ง, & โ๏ธ ๐ง ๐ฆฒ. โซ๏ธ โ๏ธ: * ๐ค ๐ ๐ญ. * *๏ธโฃ ๐โ๐ฆบ. * -๐ ๏ธ ๐ฅ ๐.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 18.7K bytes - Viewed (0) -
scripts/playwright/separate_openapi_schemas/image02.py
from playwright.sync_api import Playwright, sync_playwright def run(playwright: Playwright) -> None: browser = playwright.chromium.launch(headless=False) context = browser.new_context(viewport={"width": 960, "height": 1080}) page = context.new_page() page.goto("http://localhost:8000/docs") page.get_by_text("GET/items/Read Items").click() page.get_by_role("button", name="Try it out").click()
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Aug 25 19:10:22 GMT 2023 - 873 bytes - Viewed (0) -
docs/zh/docs/advanced/additional-responses.md
```Python old_dict = { "old key": "old value", "second old key": "second old value", } new_dict = {**old_dict, "new key": "new value"} ``` ่ฟ้๏ผ new_dict ๅฐๅ ๅซๆฅ่ช old_dict ็ๆๆ้ฎๅผๅฏนๅ ไธๆฐ็้ฎๅผๅฏน๏ผ ```python { "old key": "old value", "second old key": "second old value", "new key": "new value", } ``` ๆจๅฏไปฅไฝฟ็จ่ฏฅๆๆฏๅจ่ทฏๅพๆไฝไธญ้็จไธไบ้ขๅฎไน็ๅๅบ๏ผๅนถๅฐๅฎไปฌไธๅ ถไป่ชๅฎไนๅๅบ็ธ็ปๅใ **ไพๅฆ๏ผ** ```Python hl_lines="13-17 26"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Jan 09 15:53:39 GMT 2024 - 8.2K bytes - Viewed (0) -
.github/actions/people/app/main.py
new_people_content = yaml.dump( people, sort_keys=False, width=200, allow_unicode=True ) new_github_sponsors_content = yaml.dump( github_sponsors, sort_keys=False, width=200, allow_unicode=True ) if ( people_old_content == new_people_content and github_sponsors_old_content == new_github_sponsors_content ):
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Mar 26 17:38:21 GMT 2024 - 19.2K bytes - Viewed (1)