Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 108 for New (0.56 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. docs/em/docs/alternatives.md

        **FastAPI** โคด๏ธ โœŠ ๐Ÿ‘ˆ ๐ŸŽป ๐Ÿ”— ๐Ÿ’ฝ &amp; ๐Ÿšฎ โšซ๏ธ ๐Ÿ—„, โ†–๏ธ โšช๏ธโžก๏ธ ๐ŸŒ ๐ŸŽ ๐Ÿ‘œ โšซ๏ธ ๐Ÿ”จ.
    
    ### <a href="https://www.starlette.io/" class="external-link" target="_blank">๐Ÿ’ƒ</a>
    
    ๐Ÿ’ƒ ๐Ÿ’ฟ <abbr title="The new standard for building asynchronous Python web">๐Ÿ”ซ</abbr> ๐Ÿ› ๏ธ/๐Ÿงฐ, โ” ๐Ÿ’ฏ ๐Ÿ— โ†•-๐ŸŽญ โœณ ๐Ÿ•โ€๐Ÿฆบ.
    
    โšซ๏ธ ๐Ÿ“ถ ๐Ÿ™… &amp; ๐Ÿ‹๏ธ. โšซ๏ธ ๐Ÿ”ง ๐Ÿ’ช ๐Ÿง, &amp; โœ”๏ธ ๐Ÿ”ง ๐Ÿฆฒ.
    
    โšซ๏ธ โœ”๏ธ:
    
    * ๐Ÿค™ ๐ŸŽ† ๐ŸŽญ.
    *  *๏ธโƒฃ ๐Ÿ•โ€๐Ÿฆบ.
    * -๐Ÿ› ๏ธ ๐Ÿ–ฅ ๐Ÿ“‹.
    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)
  8. 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)
  9. 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)
  10. .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)
Back to top