Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 128 for tutorial001_01_py39 (0.24 sec)

  1. docs/es/docs/tutorial/request-forms-and-files.md

    ## Importa `File` y `Form` { #import-file-and-form }
    
    {* ../../docs_src/request_forms_and_files/tutorial001_an_py39.py hl[3] *}
    
    ## Define parámetros `File` y `Form` { #define-file-and-form-parameters }
    
    Crea parámetros de archivo y formulario de la misma manera que lo harías para `Body` o `Query`:
    
    {* ../../docs_src/request_forms_and_files/tutorial001_an_py39.py hl[10:12] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 16:33:45 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  2. docs/pt/docs/tutorial/request-forms-and-files.md

    ## Importe `File` e `Form` { #import-file-and-form }
    
    {* ../../docs_src/request_forms_and_files/tutorial001_an_py39.py hl[3] *}
    
    ## Defina parâmetros de `File` e `Form` { #define-file-and-form-parameters }
    
    Crie parâmetros de arquivo e formulário da mesma forma que você faria para `Body` ou `Query`:
    
    {* ../../docs_src/request_forms_and_files/tutorial001_an_py39.py hl[10:12] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Nov 12 16:23:57 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  3. docs/uk/docs/tutorial/request-files.md

    ///
    
    ## Імпорт `File`
    
    Імпортуйте `File` та `UploadFile` з `fastapi`:
    
    {* ../../docs_src/request_files/tutorial001_an_py39.py hl[3] *}
    
    ## Визначення параметрів `File`
    
    Створіть параметри файлів так само як Ви б створювали `Body` або `Form`:
    
    {* ../../docs_src/request_files/tutorial001_an_py39.py hl[9] *}
    
    /// info | Інформація
    
    `File`  — це клас, який безпосередньо успадковує `Form`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Feb 22 22:01:44 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  4. docs/ru/docs/tutorial/request-files.md

    Импортируйте `File` и `UploadFile` из модуля `fastapi`:
    
    {* ../../docs_src/request_files/tutorial001_an_py39.py hl[3] *}
    
    ## Определите параметры `File` { #define-file-parameters }
    
    Создайте параметры `File` так же, как вы это делаете для `Body` или `Form`:
    
    {* ../../docs_src/request_files/tutorial001_an_py39.py hl[9] *}
    
    /// info | Дополнительная информация
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Sep 30 11:24:39 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/request-files.md

    ## Import `File` { #import-file }
    
    Import `File` and `UploadFile` from `fastapi`:
    
    {* ../../docs_src/request_files/tutorial001_an_py39.py hl[3] *}
    
    ## Define `File` Parameters { #define-file-parameters }
    
    Create file parameters the same way you would for `Body` or `Form`:
    
    {* ../../docs_src/request_files/tutorial001_an_py39.py hl[9] *}
    
    /// info
    
    `File` is a class that inherits directly from `Form`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  6. docs/pt/docs/tutorial/request-files.md

    Importe `File` e `UploadFile` de `fastapi`:
    
    {* ../../docs_src/request_files/tutorial001_an_py39.py hl[3] *}
    
    ## Definir Parâmetros `File` { #define-file-parameters }
    
    Crie parâmetros de arquivo da mesma forma que você faria para `Body` ou `Form`:
    
    {* ../../docs_src/request_files/tutorial001_an_py39.py hl[9] *}
    
    /// info | Informação
    
    `File` é uma classe que herda diretamente de `Form`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Nov 12 16:23:57 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_response_model/test_tutorial003_03.py

    from fastapi.testclient import TestClient
    
    from docs_src.response_model.tutorial003_03_py39 import app
    
    client = TestClient(app)
    
    
    def test_get_portal():
        response = client.get("/teleport", follow_redirects=False)
        assert response.status_code == 307, response.text
        assert response.headers["location"] == "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  8. docs/de/docs/tutorial/request-files.md

    Importieren Sie `File` und `UploadFile` von `fastapi`:
    
    {* ../../docs_src/request_files/tutorial001_an_py39.py hl[3] *}
    
    ## `File`-Parameter definieren { #define-file-parameters }
    
    Erstellen Sie Datei-Parameter, so wie Sie es auch mit `Body` und `Form` machen würden:
    
    {* ../../docs_src/request_files/tutorial001_an_py39.py hl[9] *}
    
    /// info | Info
    
    `File` ist eine Klasse, die direkt von `Form` erbt.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Sep 20 15:10:09 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_authentication_error_status_code/test_tutorial001.py

    import importlib
    
    import pytest
    from fastapi.testclient import TestClient
    from inline_snapshot import snapshot
    
    
    @pytest.fixture(
        name="client",
        params=[
            "tutorial001_an_py39",
        ],
    )
    def get_client(request: pytest.FixtureRequest):
        mod = importlib.import_module(
            f"docs_src.authentication_error_status_code.{request.param}"
        )
    
        client = TestClient(mod.app)
        return client
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/security/first-steps.md

    Let's first just use the code and see how it works, and then we'll come back to understand what's happening.
    
    ## Create `main.py` { #create-main-py }
    
    Copy the example in a file `main.py`:
    
    {* ../../docs_src/security/tutorial001_an_py39.py *}
    
    ## Run it { #run-it }
    
    /// info
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 8.4K bytes
    - Viewed (0)
Back to top