Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 841 - 850 of 1,364 for main (0.06 seconds)

  1. docs/es/docs/tutorial/testing.md

    ```
    .
    ├── app
    │   ├── __init__.py
    │   └── main.py
    ```
    
    En el archivo `main.py` tienes tu aplicación de **FastAPI**:
    
    
    {* ../../docs_src/app_testing/app_a_py310/main.py *}
    
    ### Archivo de prueba { #testing-file }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  2. CHANGELOG.md

     *  New: OkHttp now calls `StrictMode.noteSlowCall()` when initializing TLS on Android. Use
        `StrictMode` to detect if your `OkHttpClient` is being initialized on the main thread.
    
     *  Upgrade: [Okio 3.12.0][okio_3_12_0].
    
     *  Upgrade: [Kotlin 2.1.21][kotlin_2_1_21].
    
     *  Upgrade: [kotlinx.coroutines 1.10.2][coroutines_1_10_2]. This is used by the optional
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Feb 15 11:57:47 GMT 2026
    - 36.2K bytes
    - Click Count (2)
  3. docs/de/docs/tutorial/testing.md

    Nehmen wir an, Sie haben eine Dateistruktur wie in [Größere Anwendungen](bigger-applications.md) beschrieben:
    
    ```
    .
    ├── app
    │   ├── __init__.py
    │   └── main.py
    ```
    
    In der Datei `main.py` haben Sie Ihre **FastAPI**-Anwendung:
    
    
    {* ../../docs_src/app_testing/app_a_py310/main.py *}
    
    
    ### Testdatei { #testing-file }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 6.6K bytes
    - Click Count (0)
  4. docs/pt/docs/tutorial/testing.md

    Digamos que você tenha uma estrutura de arquivo conforme descrito em [Aplicações maiores](bigger-applications.md):
    
    ```
    .
    ├── app
    │   ├── __init__.py
    │   └── main.py
    ```
    
    No arquivo `main.py` você tem sua aplicação **FastAPI**:
    
    
    {* ../../docs_src/app_testing/app_a_py310/main.py *}
    
    ### Arquivo de teste { #testing-file }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  5. tests/test_application.py

    import pytest
    from fastapi.testclient import TestClient
    from inline_snapshot import snapshot
    
    from .main import app
    
    client = TestClient(app)
    
    
    @pytest.mark.parametrize(
        "path,expected_status,expected_response",
        [
            ("/api_route", 200, {"message": "Hello World"}),
            ("/non_decorated_route", 200, {"message": "Hello World"}),
            ("/nonexistent", 404, {"detail": "Not Found"}),
        ],
    )
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 56.9K bytes
    - Click Count (0)
  6. docs/pt/docs/fastapi-cli.md

    ```python
    from main import app
    ```
    
    Se o seu código estivesse estruturado assim:
    
    ```
    .
    ├── backend
    │   ├── main.py
    │   ├── __init__.py
    ```
    
    Então você definiria o `entrypoint` como:
    
    ```toml
    [tool.fastapi]
    entrypoint = "backend.main:app"
    ```
    
    o que seria equivalente a:
    
    ```python
    from backend.main import app
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 6.3K bytes
    - Click Count (0)
  7. docs/zh-hant/docs/tutorial/bigger-applications.md

    因此,為了能在同一個檔案中同時使用它們,我們直接匯入子模組:
    
    {* ../../docs_src/bigger_applications/app_an_py310/main.py hl[5] title["app/main.py"] *}
    
    ### 將 `users` 與 `items` 的 `APIRouter` 納入 { #include-the-apirouters-for-users-and-items }
    
    現在,把子模組 `users` 與 `items` 的 `router` 納入:
    
    {* ../../docs_src/bigger_applications/app_an_py310/main.py hl[10:11] title["app/main.py"] *}
    
    /// info | 資訊
    
    `users.router` 是位於 `app/routers/users.py` 檔案內的 `APIRouter`。
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 18.7K bytes
    - Click Count (0)
  8. docs/ru/docs/tutorial/testing.md

    ```
    .
    ├── app
    │   ├── __init__.py
    │   └── main.py
    ```
    
    В файле `main.py` находится Ваше приложение **FastAPI**:
    
    
    {* ../../docs_src/app_testing/app_a_py310/main.py *}
    
    ### Файл тестов { #testing-file }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 9.5K bytes
    - Click Count (0)
  9. src/main/webapp/css/admin/adminlte.min.css.map

    ini-xs) .main-sidebar::before {\n  box-shadow: none !important;\n}\n\n.sidebar-collapse .main-sidebar, .sidebar-collapse .main-sidebar::before {\n  margin-left: -250px;\n}\n\n.sidebar-collapse .main-sidebar .nav-sidebar.nav-child-indent .nav-treeview {\n  padding: 0;\n}\n\n@media (max-width: 767.98px) {\n  .main-sidebar, .main-sidebar::before {\n    box-shadow: none !important;\n    margin-left: -250px;\n  }\n  .sidebar-open .main-sidebar, .sidebar-open .main-sidebar::before {\n    margin-left: 0;\n...
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Oct 26 01:49:09 GMT 2024
    - 3.7M bytes
    - Click Count (3)
  10. docs/en/docs/tutorial/sql-databases.md

    And in the code, we get a `dict` with all the data sent by the client, **only the data sent by the client**, excluding any values that would be there just for being the default values. To do it we use `exclude_unset=True`. This is the main trick. 🪄
    
    Then we use `hero_db.sqlmodel_update(hero_data)` to update the `hero_db` with the data from `hero_data`.
    
    {* ../../docs_src/sql_databases/tutorial002_an_py310.py ln[83:93] hl[83:84,88:89] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 07 09:29:03 GMT 2026
    - 15.3K bytes
    - Click Count (0)
Back to Top