Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 98 for before (0.16 sec)

  1. docs/en/docs/css/termynal.css

    [data-ty] {
        display: block;
        line-height: 2;
    }
    
    [data-ty]:before {
        /* Set up defaults and ensure empty lines are displayed. */
        content: '';
        display: inline-block;
        vertical-align: middle;
    }
    
    [data-ty="input"]:before,
    [data-ty-prompt]:before {
        margin-right: 0.75em;
        color: var(--color-text-subtle);
    }
    
    [data-ty="input"]:before {
        content: '$';
    }
    
    [data-ty][data-ty-prompt]:before {
    CSS
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  2. docs/en/docs/history-design-future.md

    As said in the section [Alternatives](alternatives.md){.internal-link target=_blank}:
    
    <blockquote markdown="1">
    
    **FastAPI** wouldn't exist if not for the previous work of others.
    
    There have been many tools created before that have helped inspire its creation.
    
    I have been avoiding the creation of a new framework for several years. First I tried to solve all the features covered by **FastAPI** using many different frameworks, plug-ins, and tools.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  3. docs_src/response_change_status_code/tutorial001.py

    
    @app.put("/get-or-create-task/{task_id}", status_code=200)
    def get_or_create_task(task_id: str, response: Response):
        if task_id not in tasks:
            tasks[task_id] = "This didn't exist before"
            response.status_code = status.HTTP_201_CREATED
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Mar 26 19:09:53 GMT 2020
    - 391 bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/query-params-str-validations.md

        Make sure you [Upgrade the FastAPI version](../deployment/versions.md#upgrading-the-fastapi-versions){.internal-link target=_blank} to at least 0.95.1 before using `Annotated`.
    
    ## Use `Annotated` in the type for the `q` parameter
    
    Remember I told you before that `Annotated` can be used to add metadata to your parameters in the [Python Types Intro](../python-types.md#type-hints-with-metadata-annotations){.internal-link target=_blank}?
    
    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. docs/en/docs/tutorial/middleware.md

        **FastAPI** provides it as a convenience for you, the developer. But it comes directly from Starlette.
    
    ### Before and after the `response`
    
    You can add code to be run with the `request`,  before any *path operation* receives it.
    
    And also after the `response` is generated, before returning it.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 16:31:18 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  6. docs/en/docs/async.md

    You stand in line while several (let's say 8) cashiers that at the same time are cooks take the orders from the people in front of you.
    
    Everyone before you is waiting for their burgers to be ready before leaving the counter because each of the 8 cashiers goes and prepares the burger right away before getting the next order.
    
    <img src="/img/async/parallel-burgers/parallel-burgers-01.png" class="illustration">
    
    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)
  7. docs_src/custom_request_and_route/tutorial003.py

            original_route_handler = super().get_route_handler()
    
            async def custom_route_handler(request: Request) -> Response:
                before = time.time()
                response: Response = await original_route_handler(request)
                duration = time.time() - before
                response.headers["X-Response-Time"] = str(duration)
                print(f"route duration: {duration}")
                print(f"route response: {response}")
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Mar 26 19:09:53 GMT 2020
    - 1K bytes
    - Viewed (0)
  8. docs/en/docs/features.md

    ### Editor support
    
    All the framework was designed to be easy and intuitive to use, all the decisions were tested on multiple editors even before starting development, to ensure the best development experience.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  9. docs/en/docs/deployment/https.md

        * So, the **certificate and encryption** handling is done **before HTTP**.
    * **TCP doesn't know about "domains"**. Only about IP addresses.
        * The information about the **specific domain** requested goes in the **HTTP data**.
    * The **HTTPS certificates** "certify" a **certain domain**, but the protocol and encryption happen at the TCP level, **before knowing** which domain is being dealt with.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 16:31:18 GMT 2024
    - 12K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/dependencies/index.md

        Make sure you [Upgrade the FastAPI version](../../deployment/versions.md#upgrading-the-fastapi-versions){.internal-link target=_blank} to at least 0.95.1 before using `Annotated`.
    
    ### Import `Depends`
    
    === "Python 3.10+"
    
        ```Python hl_lines="3"
        {!> ../../../docs_src/dependencies/tutorial001_an_py310.py!}
        ```
    
    === "Python 3.9+"
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.6K bytes
    - Viewed (0)
Back to top