Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 101 - 110 of 1,172 for Lain (0.02 seconds)

  1. 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)
  2. 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)
  3. ci/official/containers/ml_build/builder.devtoolset/build_devtoolset.sh

      wget "http://old-releases.ubuntu.com/ubuntu/pool/main/e/eglibc/libc6_2.12.1-0ubuntu6_amd64.deb" && \
          unar "libc6_2.12.1-0ubuntu6_amd64.deb" && \
          tar -C "${TARGET}" -xvzf "libc6_2.12.1-0ubuntu6_amd64/data.tar.gz" && \
          rm -rf "libc6_2.12.1-0ubuntu6_amd64.deb" "libc6_2.12.1-0ubuntu6_amd64"
      # Download binary glibc 2.12 development library release.
      wget "http://old-releases.ubuntu.com/ubuntu/pool/main/e/eglibc/libc6-dev_2.12.1-0ubuntu6_amd64.deb" && \
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Fri Jan 16 21:51:13 GMT 2026
    - 8K bytes
    - Click Count (0)
  4. 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)
  5. 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)
  6. docs/tr/docs/tutorial/bigger-applications.md

    {* ../../docs_src/bigger_applications/app_an_py310/main.py hl[1,3,7] title["app/main.py"] *}
    
    ### `APIRouter` Import Edin { #import-the-apirouter }
    
    Şimdi `APIRouter` içeren diğer submodule’leri import ediyoruz:
    
    {* ../../docs_src/bigger_applications/app_an_py310/main.py hl[4:5] title["app/main.py"] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 20.3K bytes
    - Click Count (0)
  7. fastapi/__main__.py

    from fastapi.cli import main
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Aug 02 06:03:05 GMT 2024
    - 37 bytes
    - Click Count (0)
  8. docs/es/docs/deployment/manually.md

    ```
    
    </div>
    
    /// note | Nota
    
    El comando `uvicorn main:app` se refiere a:
    
    * `main`: el archivo `main.py` (el "módulo" de Python).
    * `app`: el objeto creado dentro de `main.py` con la línea `app = FastAPI()`.
    
    Es equivalente a:
    
    ```Python
    from main import app
    ```
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 7K bytes
    - Click Count (0)
  9. docs/zh-hant/docs/fastapi-cli.md

    ├── backend
    │   ├── main.py
    │   ├── __init__.py
    ```
    
    那麼你應該把 `entrypoint` 設為:
    
    ```toml
    [tool.fastapi]
    entrypoint = "backend.main:app"
    ```
    
    這等同於:
    
    ```python
    from backend.main import app
    ```
    
    ### 帶路徑的 `fastapi dev` { #fastapi-dev-with-path }
    
    你也可以把檔案路徑傳給 `fastapi dev` 指令,它會推測要使用的 FastAPI app 物件:
    
    ```console
    $ fastapi dev main.py
    ```
    
    但這樣每次呼叫 `fastapi` 指令時都得記得傳入正確的路徑。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 5.8K bytes
    - Click Count (0)
  10. okcurl/build.gradle.kts

    val copyResourcesTemplates =
      tasks.register<Copy>("copyResourcesTemplates") {
        from("src/main/resources-templates")
        into(layout.buildDirectory.dir("generated/resources-templates"))
        expand("projectVersion" to "${project.version}")
        filteringCharset = Charsets.UTF_8.toString()
      }
    
    configure<JavaPluginExtension> {
      sourceSets.getByName("main").resources.srcDir(copyResourcesTemplates.get().outputs)
    }
    
    dependencies {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Feb 05 09:17:33 GMT 2026
    - 2.4K bytes
    - Click Count (0)
Back to Top