Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 871 - 880 of 1,159 for MAIN (0.03 seconds)

  1. 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)
  2. guava/src/com/google/common/base/Ascii.java

      /**
       * Transmission On: Although originally defined as DC1, this ASCII control character is now better
       * known as the XON code used for software flow control in serial communications. The main use is
       * restarting the transmission after the communication has been stopped by the XOFF control code.
       *
       * @since 8.0
       */
      public static final byte XON = 17; // aka DC1
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 21.7K bytes
    - Click Count (0)
  3. docs/uk/docs/advanced/async-tests.md

    ```
    .
    ├── app
    │   ├── __init__.py
    │   ├── main.py
    │   └── test_main.py
    ```
    
    Файл `main.py` міститиме:
    
    {* ../../docs_src/async_tests/app_a_py310/main.py *}
    
    Файл `test_main.py` міститиме тести для `main.py`, тепер це може виглядати так:
    
    {* ../../docs_src/async_tests/app_a_py310/test_main.py *}
    
    ## Запуск { #run-it }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 5.9K bytes
    - Click Count (0)
  4. docs/de/docs/fastapi-cli.md

    ```python
    from main import app
    ```
    
    Wenn Ihr Code so strukturiert wäre:
    
    ```
    .
    ├── backend
    │   ├── main.py
    │   ├── __init__.py
    ```
    
    Dann würden Sie den `entrypoint` wie folgt setzen:
    
    ```toml
    [tool.fastapi]
    entrypoint = "backend.main:app"
    ```
    
    was gleichbedeutend wäre mit:
    
    ```python
    from backend.main import app
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 6.2K bytes
    - Click Count (0)
  5. 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)
  6. docs/fr/docs/tutorial/testing.md

    ```
    .
    ├── app
    │   ├── __init__.py
    │   └── main.py
    ```
    
    Dans le fichier `main.py`, vous avez votre application **FastAPI** :
    
    
    {* ../../docs_src/app_testing/app_a_py310/main.py *}
    
    ### Fichier de test { #testing-file }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 6.5K bytes
    - Click Count (0)
  7. docs/es/docs/environment-variables.md

    <div class="termy">
    
    ```console
    // Aquí todavía no configuramos la env var
    $ python main.py
    
    // Como no configuramos la env var, obtenemos el valor por defecto
    
    Hello World from Python
    
    // Pero si creamos una variable de entorno primero
    $ export MY_NAME="Wade Wilson"
    
    // Y luego llamamos al programa nuevamente
    $ python main.py
    
    // Ahora puede leer la variable de entorno
    
    Hello Wade Wilson from Python
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 8.3K bytes
    - Click Count (0)
  8. docs/de/docs/advanced/async-tests.md

    ```
    .
    ├── app
    │   ├── __init__.py
    │   ├── main.py
    │   └── test_main.py
    ```
    
    Die Datei `main.py` hätte als Inhalt:
    
    {* ../../docs_src/async_tests/app_a_py310/main.py *}
    
    Die Datei `test_main.py` hätte die Tests für `main.py`, das könnte jetzt so aussehen:
    
    {* ../../docs_src/async_tests/app_a_py310/test_main.py *}
    
    ## Es ausführen { #run-it }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 4.3K bytes
    - Click Count (1)
  9. docs/en/docs/advanced/async-tests.md

    ```
    .
    ├── app
    │   ├── __init__.py
    │   ├── main.py
    │   └── test_main.py
    ```
    
    The file `main.py` would have:
    
    {* ../../docs_src/async_tests/app_a_py310/main.py *}
    
    The file `test_main.py` would have the tests for `main.py`, it could look like this now:
    
    {* ../../docs_src/async_tests/app_a_py310/test_main.py *}
    
    ## Run it { #run-it }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 3.8K bytes
    - Click Count (0)
  10. docs/ja/docs/tutorial/testing.md

    ```
    .
    ├── app
    │   ├── __init__.py
    │   └── main.py
    ```
    
    ファイル `main.py` に **FastAPI** アプリがあります:
    
    
    {* ../../docs_src/app_testing/app_a_py310/main.py *}
    
    ### テストファイル { #testing-file }
    
    次に、テストを含む `test_main.py` ファイルを用意できます。これは同じ Python パッケージ (`__init__.py` ファイルがある同じディレクトリ) に置けます:
    
    ``` hl_lines="5"
    .
    ├── app
    │   ├── __init__.py
    │   ├── main.py
    │   └── test_main.py
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 7.1K bytes
    - Click Count (0)
Back to Top