Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 107 for Lyding (0.32 sec)

  1. docs/en/docs/how-to/conditional-openapi.md

    ## About security, APIs, and docs
    
    Hiding your documentation user interfaces in production *shouldn't* be the way to protect your API.
    
    That doesn't add any extra security to your API, the *path operations* will still be available where they are.
    
    If there's a security flaw in your code, it will still exist.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Aug 19 19:54:04 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  2. docs/ru/docs/tutorial/body-nested-models.md

    ### Импортируйте `List` из модуля typing
    
    В Python 3.9 и выше вы можете использовать стандартный тип `list` для объявления аннотаций типов, как мы увидим ниже. 💡
    
    Но в версиях Python до 3.9 (начиная с 3.6) сначала вам необходимо импортировать `List` из стандартного модуля `typing` в Python:
    
    ```Python hl_lines="1"
    {!> ../../../docs_src/body_nested_models/tutorial002.py!}
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  3. pyproject.toml

        "Topic :: Software Development :: Libraries :: Python Modules",
        "Topic :: Software Development :: Libraries",
        "Topic :: Software Development",
        "Typing :: Typed",
        "Development Status :: 4 - Beta",
        "Environment :: Web Environment",
        "Framework :: AsyncIO",
        "Framework :: FastAPI",
        "Framework :: Pydantic",
        "Framework :: Pydantic :: 1",
    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)
  4. docs/en/docs/tutorial/dependencies/global-dependencies.md

        !!! tip
            Prefer to use the `Annotated` version if possible.
    
        ```Python hl_lines="15"
        {!> ../../../docs_src/dependencies/tutorial012.py!}
        ```
    
    And all the ideas in the section about [adding `dependencies` to the *path operation decorators*](dependencies-in-path-operation-decorators.md){.internal-link target=_blank} still apply, but in this case, to all of the *path operations* in the app.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 1.4K bytes
    - Viewed (0)
  5. docs/en/docs/advanced/sub-applications.md

    ## Mounting a **FastAPI** application
    
    "Mounting" means adding a completely "independent" application in a specific path, that then takes care of handling everything under that path, with the _path operations_ declared in that sub-application.
    
    ### Top-level application
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  6. docs/de/docs/features.md

    Sie schreiben Standard-Python mit Typen:
    
    ```Python
    from typing import List, Dict
    from datetime import date
    
    from pydantic import BaseModel
    
    # Deklarieren Sie eine Variable als ein `str`
    # und bekommen Sie Editor-Unterstütung innerhalb der Funktion
    def main(user_id: str):
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 19:43:43 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  7. docs/ru/docs/tutorial/query-params-str-validations.md

    Чтобы достичь этого, первым делом нам нужно импортировать:
    
    * `Query` из пакета `fastapi`:
    * `Annotated` из пакета `typing` (или из `typing_extensions` для Python ниже 3.9)
    
    === "Python 3.10+"
    
        В Python 3.9 или выше, `Annotated` является частью стандартной библиотеки, таким образом вы можете импортировать его из `typing`.
    
        ```Python hl_lines="1  3"
        {!> ../../../docs_src/query_params_str_validations/tutorial002_an_py310.py!}
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 38K bytes
    - Viewed (0)
  8. docs/hu/docs/index.md

    ```console
    $ pip install "uvicorn[standard]"
    
    ---> 100%
    ```
    
    </div>
    
    ## Példa
    
    ### Hozd létre
    
    * Hozz létre a `main.py` fájlt a következő tartalommal:
    
    ```Python
    from typing import Union
    
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 05:18:04 GMT 2024
    - 20.2K bytes
    - Viewed (0)
  9. docs/es/docs/index.md

    ```console
    $ pip install "uvicorn[standard]"
    
    ---> 100%
    ```
    
    </div>
    
    ## Ejemplo
    
    ### Créalo
    
    * Crea un archivo `main.py` con:
    
    ```Python
    from fastapi import FastAPI
    from typing import Union
    
    app = FastAPI()
    
    
    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: Union[str, None] = None):
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 05:18:04 GMT 2024
    - 19K bytes
    - Viewed (0)
  10. docs/de/docs/tutorial/query-params-str-validations.md

    ### `Query` und `Annotated` importieren
    
    Importieren Sie zuerst:
    
    * `Query` von `fastapi`
    * `Annotated` von `typing` (oder von `typing_extensions` in Python unter 3.9)
    
    === "Python 3.10+"
    
        In Python 3.9 oder darüber, ist `Annotated` Teil der Standardbibliothek, also können Sie es von `typing` importieren.
    
        ```Python hl_lines="1  3"
        {!> ../../../docs_src/query_params_str_validations/tutorial002_an_py310.py!}
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 17:58:59 GMT 2024
    - 27.7K bytes
    - Viewed (0)
Back to top