Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for intro (0.16 sec)

  1. docs/en/docs/tutorial/path-params.md

        So, with that type declaration, **FastAPI** gives you automatic request <abbr title="converting the string that comes from an HTTP request into Python data">"parsing"</abbr>.
    
    ## Data validation
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  2. docs/em/docs/advanced/path-operation-advanced-configuration.md

    ```Python hl_lines="20-37  39-40"
    {!../../../docs_src/path_operation_advanced_configuration/tutorial006.py!}
    ```
    
    ๐Ÿ‘‰ ๐Ÿ–ผ, ๐Ÿ‘ฅ ๐Ÿšซ ๐Ÿ“ฃ ๐Ÿ™† Pydantic ๐Ÿท. ๐Ÿ‘, ๐Ÿ“จ ๐Ÿ’ช ๐Ÿšซ <abbr title="converted from some plain format, like bytes, into Python objects">๐ŸŽป</abbr> ๐ŸŽป, โšซ๏ธ โœ ๐Ÿ”— `bytes`, &amp; ๐Ÿ”ข `magic_data_reader()` ๐Ÿ”œ ๐Ÿˆš ๐ŸŽป โšซ๏ธ ๐ŸŒŒ.
    
    ๐Ÿ‘, ๐Ÿ‘ฅ ๐Ÿ’ช ๐Ÿ“ฃ ๐Ÿ“ˆ ๐Ÿ”— ๐Ÿ“จ ๐Ÿ’ช.
    
    ### ๐Ÿ›ƒ ๐Ÿ—„ ๐ŸŽš ๐Ÿ†Ž
    
    โš™๏ธ ๐Ÿ‘‰ ๐ŸŽ ๐ŸŽฑ, ๐Ÿ‘† ๐Ÿ’ช โš™๏ธ Pydantic ๐Ÿท ๐Ÿ”ฌ ๐ŸŽป ๐Ÿ”— ๐Ÿ‘ˆ โคด๏ธ ๐Ÿ”Œ ๐Ÿ›ƒ ๐Ÿ—„ ๐Ÿ”— ๐Ÿ“„ *โžก ๐Ÿ› ๏ธ*.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  3. docs/en/docs/deployment/manually.md

    ```
    
    </div>
    
    That would work for most of the cases. ๐Ÿ˜Ž
    
    You could use that command for example to start your **FastAPI** app in a container, in a server, etc.
    
    ## ASGI Servers
    
    Let's go a little deeper into the details.
    
    FastAPI uses a standard for building Python web frameworks and servers called <abbr title="Asynchronous Server Gateway Interface">ASGI</abbr>. FastAPI is an ASGI web framework.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 9.2K bytes
    - Viewed (0)
  4. docs/en/mkdocs.yml

              - starlette
              inherited_members: true
              members_order: source
              separate_signature: true
              unwrap_annotated: true
              filters:
              - '!^_'
              merge_init_into_class: true
              docstring_section_style: spacy
              signature_crossrefs: true
              show_symbol_type_heading: true
              show_symbol_type_toc: true
    nav:
    - FastAPI: index.md
    - features.md
    - Learn:
    Others
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  5. docs/em/docs/tutorial/query-params.md

    ๐Ÿ‘ซ ๐Ÿ• ๐Ÿ“›, ๐Ÿ‘ซ "๐Ÿ›Ž" ๐ŸŽป.
    
    โœ‹๏ธ ๐Ÿ•โ” ๐Ÿ‘† ๐Ÿ“ฃ ๐Ÿ‘ซ โฎ๏ธ ๐Ÿ ๐Ÿ†Ž (๐Ÿ–ผ ๐Ÿ”›, `int`), ๐Ÿ‘ซ ๐Ÿ—œ ๐Ÿ‘ˆ ๐Ÿ†Ž &amp; โœ” ๐Ÿ›ก โšซ๏ธ.
    
    ๐ŸŒ ๐ŸŽ ๐Ÿ› ๏ธ ๐Ÿ‘ˆ โš– โžก ๐Ÿ”ข โœ” ๐Ÿ”ข ๐Ÿ”ข:
    
    * ๐Ÿ‘จโ€๐ŸŽจ ๐Ÿ•โ€๐Ÿฆบ (๐ŸŽฒ)
    * ๐Ÿ’ฝ <abbr title="converting the string that comes from an HTTP request into Python data">"โœ"</abbr>
    * ๐Ÿ’ฝ ๐Ÿ”ฌ
    * ๐Ÿง ๐Ÿงพ
    
    ## ๐Ÿ”ข
    
    ๐Ÿ”ข ๐Ÿ”ข ๐Ÿšซ ๐Ÿ”ง ๐Ÿ• โžก, ๐Ÿ‘ซ ๐Ÿ’ช ๐Ÿ“ฆ &amp; ๐Ÿ’ช โœ”๏ธ ๐Ÿ”ข ๐Ÿ’ฒ.
    
    ๐Ÿ–ผ ๐Ÿ”› ๐Ÿ‘ซ โœ”๏ธ ๐Ÿ”ข ๐Ÿ’ฒ `skip=0` &amp; `limit=10`.
    
    , ๐Ÿ”œ ๐Ÿ“›:
    
    ```
    http://127.0.0.1:8000/items/
    ```
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  6. fastapi/security/api_key.py

    class APIKeyQuery(APIKeyBase):
        """
        API key authentication using a query parameter.
    
        This defines the name of the query parameter that should be provided in the request
        with the API key and integrates that into the OpenAPI documentation. It extracts
        the key value sent in the query parameter automatically and provides it as the
        dependency result. But it doesn't define how to send that API key to the client.
    
        ## Usage
    
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 23 22:29:18 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  7. docs/em/docs/tutorial/path-params.md

    ```JSON
    {"item_id":3}
    ```
    
    !!! check
        ๐Ÿ‘€ ๐Ÿ‘ˆ ๐Ÿ’ฒ ๐Ÿ‘† ๐Ÿ”ข ๐Ÿ“จ (&amp; ๐Ÿ“จ) `3`, ๐Ÿ `int`, ๐Ÿšซ ๐ŸŽป `"3"`.
    
        , โฎ๏ธ ๐Ÿ‘ˆ ๐Ÿ†Ž ๐Ÿ“„, **FastAPI** ๐Ÿค ๐Ÿ‘† ๐Ÿง ๐Ÿ“จ <abbr title="converting the string that comes from an HTTP request into Python data">"โœ"</abbr>.
    
    ## ๐Ÿ’ฝ ๐Ÿ”ฌ
    
    โœ‹๏ธ ๐Ÿšฅ ๐Ÿ‘† ๐Ÿšถ ๐Ÿ–ฅ <a href="http://127.0.0.1:8000/items/foo" class="external-link" target="_blank">http://127.0.0.1:8000/items/foo</a>, ๐Ÿ‘† ๐Ÿ”œ ๐Ÿ‘€ ๐Ÿ‘Œ ๐Ÿ‡บ๐Ÿ‡ธ๐Ÿ” โŒ:
    
    ```JSON
    {
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/events.md

    And the part after the `yield` will be executed **after** the application has finished.
    
    ### Async Context Manager
    
    If you check, the function is decorated with an `@asynccontextmanager`.
    
    That converts the function into something called an "**async context manager**".
    
    ```Python hl_lines="1  13"
    {!../../../docs_src/events/tutorial003.py!}
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  9. docs/en/docs/reference/security/index.md

    But you still need to define what is the dependable, the callable that you pass as a parameter to `Depends()` or `Security()`.
    
    There are multiple tools that you can use to create those dependables, and they get integrated into OpenAPI so they are shown in the automatic docs UI, they can be used by automatically generated clients and SDKs, etc.
    
    You can import them from `fastapi.security`:
    
    ```python
    from fastapi.security import (
        APIKeyCookie,
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  10. docs/en/docs/advanced/path-operation-advanced-configuration.md

    {!../../../docs_src/path_operation_advanced_configuration/tutorial006.py!}
    ```
    
    In this example, we didn't declare any Pydantic model. In fact, the request body is not even <abbr title="converted from some plain format, like bytes, into Python objects">parsed</abbr> as JSON, it is read directly as `bytes`, and the function `magic_data_reader()` would be in charge of parsing it in some way.
    
    Nevertheless, we can declare the expected schema for the request body.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 7.7K bytes
    - Viewed (0)
Back to top