Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 108 for New (0.11 sec)

  1. docs/en/docs/advanced/async-tests.md

    ```
    
    This is the equivalent to:
    
    ```Python
    response = client.get('/')
    ```
    
    ...that we used to make our requests with the `TestClient`.
    
    !!! tip
        Note that we're using async/await with the new `AsyncClient` - the request is asynchronous.
    
    !!! warning
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Jan 13 12:07:15 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  2. .github/DISCUSSION_TEMPLATE/questions.yml

            I'm asking this because answering questions and solving problems in GitHub is what consumes most of the time.
    
            I end up not being able to add new features, fix bugs, review pull requests, etc. as fast as I wish because I have to spend too much time handling questions.
    
    Others
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Aug 03 15:59:41 GMT 2023
    - 5.8K bytes
    - Viewed (1)
  3. docs_src/generate_clients/tutorial004.py

        for operation in path_data.values():
            tag = operation["tags"][0]
            operation_id = operation["operationId"]
            to_remove = f"{tag}-"
            new_operation_id = operation_id[len(to_remove) :]
            operation["operationId"] = new_operation_id
    
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 04 22:02:18 GMT 2022
    - 493 bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/query-params-str-validations.md

    !!! tip
        For new code and whenever possible, use `Annotated` as explained above. There are multiple advantages (explained below) and no disadvantages. 🍰
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 25.7K bytes
    - Viewed (0)
  5. scripts/playwright/separate_openapi_schemas/image05.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_role("button", name="Item", exact=True).click()
        page.set_viewport_size({"width": 960, "height": 700})
        page.screenshot(
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Aug 25 19:10:22 GMT 2023
    - 829 bytes
    - Viewed (0)
  6. docs/pl/docs/help-fastapi.md

    Następnie możesz spróbować pomóc rozwiązać te problemy.
    
    ## Zadawaj pytania
    
    Możesz <a href="https://github.com/tiangolo/fastapi/discussions/new?category=questions" class="external-link" target="_blank">utworzyć nowe pytanie</a> w repozytorium na GitHubie, na przykład aby:
    
    * Zadać **pytanie** lub zapytać o **problem**.
    * Zaproponować nową **funkcję**.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  7. docs/en/docs/async.md

    Then you go to the counter 🔀, to the initial task that is now finished ⏯, pick the burgers, say thanks and take them to the table. That finishes that step / task of interaction with the counter ⏹. That in turn, creates a new task, of "eating burgers" 🔀 ⏯, but the previous one of "getting burgers" is finished ⏹.
    
    ### Parallel Burgers
    
    Now let's imagine these aren't "Concurrent Burgers", but "Parallel Burgers".
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 23K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/settings.md

    ```Python hl_lines="9-10  13  21"
    {!../../../docs_src/settings/app02/test_main.py!}
    ```
    
    In the dependency override we set a new value for the `admin_email` when creating the new `Settings` object, and then we return that new object.
    
    Then we can test that it is used.
    
    ## Reading a `.env` file
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 15.7K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/schema-extra-example.md

    And then the new OpenAPI 3.1.0 was based on the latest version (JSON Schema 2020-12) that included this new field `examples`.
    
    And now this new `examples` field takes precedence over the old single (and custom) `example` field, that is now deprecated.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  10. fastapi/_compat.py

            cls = type(field_info)
            merged_field_info = cls.from_annotation(annotation)
            new_field_info = copy(field_info)
            new_field_info.metadata = merged_field_info.metadata
            new_field_info.annotation = merged_field_info.annotation
            return new_field_info
    
        def serialize_sequence_value(*, field: ModelField, value: Any) -> Sequence[Any]:
            origin_type = (
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 22.6K bytes
    - Viewed (0)
Back to top