Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for given (0.17 sec)

  1. docs/en/docs/alternatives.md

    This decoupling of parts, and being a "microframework" that could be extended to cover exactly what is needed was a key feature that I wanted to keep.
    
    Given the simplicity of Flask, it seemed like a good match for building APIs. The next thing to find was a "Django REST Framework" for Flask.
    
    !!! check "Inspired **FastAPI** to"
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  2. fastapi/security/http.py

    from starlette.status import HTTP_401_UNAUTHORIZED, HTTP_403_FORBIDDEN
    from typing_extensions import Annotated, Doc
    
    
    class HTTPBasicCredentials(BaseModel):
        """
        The HTTP Basic credentials given as the result of using `HTTPBasic` in a
        dependency.
    
        Read more about it in the
        [FastAPI docs for HTTP Basic Auth](https://fastapi.tiangolo.com/advanced/security/http-basic-auth/).
        """
    
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Apr 19 15:29:38 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/dependencies/dependencies-with-yield.md

        ```Python hl_lines="13-14"
        {!> ../../../docs_src/dependencies/tutorial008c.py!}
        ```
    
    In this case, the client will see an *HTTP 500 Internal Server Error* response as it should, given that we are not raising an `HTTPException` or similar, but the server will **not have any logs** or any other indication of what was the error. 😱
    
    ### Always `raise` in Dependencies with `yield` and `except`
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Feb 24 23:06:37 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/security/oauth2-jwt.md

    ---
    
    **FastAPI** doesn't make any compromise with any database, data model or tool.
    
    It gives you all the flexibility to choose the ones that fit your project the best.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 13K bytes
    - Viewed (0)
  5. docs/en/docs/deployment/concepts.md

    I'll tell you a bit more about these **concepts** here, and that would hopefully give you the **intuition** you would need to decide how to deploy your API in very different environments, possibly even in **future** ones that don't exist yet.
    
    By considering these concepts, you will be able to **evaluate and design** the best way to deploy **your own APIs**.
    
    In the next chapters, I'll give you more **concrete recipes** to deploy FastAPI applications.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 18K bytes
    - Viewed (0)
  6. docs/en/docs/css/custom.css

    a.internal-link::after {
      /* \00A0 is a non-breaking space
            to make the mark be on the same line as the link
        */
      content: "\00A0↪";
    }
    
    .shadow {
      box-shadow: 5px 5px 10px #999;
    }
    
    /* Give space to lower icons so Gitter chat doesn't get on top of them */
    .md-footer-meta {
      padding-bottom: 2em;
    }
    
    .user-list {
      display: flex;
      flex-wrap: wrap;
      margin-bottom: 2rem;
    }
    
    CSS
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sun Jan 28 09:53:45 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  7. docs/en/docs/python-types.md

    By declaring types for your variables, editors and tools can give you better support.
    
    This is just a **quick tutorial / refresher** about Python type hints. It covers only the minimum necessary to use them with **FastAPI**... which is actually very little.
    
    **FastAPI** is all based on these type hints, they give it many advantages and benefits.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 17K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/body-multiple-params.md

        "tax": 3.2
    }
    ```
    
    ## Recap
    
    You can add multiple body parameters to your *path operation function*, even though a request can only have a single body.
    
    But **FastAPI** will handle it, give you the correct data in your function, and validate and document the correct schema in the *path operation*.
    
    You can also declare singular values to be received as part of the body.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 7.7K bytes
    - Viewed (0)
  9. CITATION.cff

    # Visit https://bit.ly/cffinit to generate yours today!
    
    cff-version: 1.2.0
    title: FastAPI
    message: >-
      If you use this software, please cite it using the
      metadata from this file.
    type: software
    authors:
      - given-names: Sebastián
        family-names: Ramírez
        email: ******@****.***
    identifiers:
    repository-code: 'https://github.com/tiangolo/fastapi'
    url: 'https://fastapi.tiangolo.com'
    abstract: >-
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sun Oct 22 10:03:38 GMT 2023
    - 615 bytes
    - Viewed (0)
  10. docs/en/docs/release-notes.md

    * Fix serialization when using `by_alias` or `exclude_unset` and returning data with Pydantic models. PR [#1074](https://github.com/tiangolo/fastapi/pull/1074) by [@juhovh-aiven](https://github.com/juhovh-aiven).
    * Add Gitter chat to docs. PR [#1061](https://github.com/tiangolo/fastapi/pull/1061) by [@aakashnand](https://github.com/aakashnand).
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sun Apr 28 00:28:00 GMT 2024
    - 385.5K bytes
    - Viewed (1)
Back to top