Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 1,165 for umajin (0.09 seconds)

  1. build-logic/buildquality/src/main/kotlin/gradlebuild.task-properties-validation.gradle.kts

    plugins {
        java
    }
    
    val validateTaskName = "validatePlugins"
    val reportFileName = "task-properties/report.txt"
    
    tasks.register<ValidatePlugins>(validateTaskName) {
        val main = project.sourceSets.main.get()
        classes.from(main.output)
        classpath.from(main.runtimeClasspath)
        outputFile = project.reporting.baseDirectory.file(reportFileName)
        enableStricterValidation = true
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Jan 20 15:24:40 GMT 2023
    - 1008 bytes
    - Click Count (0)
  2. docs/en/docs/deployment/manually.md

    ```
    
    </div>
    
    /// note
    
    The command `uvicorn main:app` refers to:
    
    * `main`: the file `main.py` (the Python "module").
    * `app`: the object created inside of `main.py` with the line `app = FastAPI()`.
    
    It is equivalent to:
    
    ```Python
    from main import app
    ```
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 6.7K bytes
    - Click Count (0)
  3. docs/en/docs/environment-variables.md

    <div class="termy">
    
    ```console
    // Here we don't set the env var yet
    $ python main.py
    
    // As we didn't set the env var, we get the default value
    
    Hello World from Python
    
    // But if we create an environment variable first
    $ export MY_NAME="Wade Wilson"
    
    // And then call the program again
    $ python main.py
    
    // Now it can read the environment variable
    
    Hello Wade Wilson from Python
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 7.9K bytes
    - Click Count (0)
  4. docs/fr/docs/environment-variables.md

    ```console
    // Ici, nous ne définissons pas encore la variable d'environnement
    $ python main.py
    
    // Comme nous ne l'avons pas définie, nous obtenons la valeur par défaut
    
    Hello World from Python
    
    // Mais si nous créons d'abord une variable d'environnement
    $ export MY_NAME="Wade Wilson"
    
    // Puis que nous relançons le programme
    $ python main.py
    
    // Il peut maintenant lire la variable d'environnement
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 9.1K bytes
    - Click Count (0)
  5. docs/ja/docs/fastapi-cli.md

    この `entrypoint` により、`fastapi` コマンドは次のようにアプリを import する必要があると認識します:
    
    ```python
    from main import app
    ```
    
    もしコード構成が次のような場合:
    
    ```
    .
    ├── 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 }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 6.6K bytes
    - Click Count (0)
  6. tests/test_router_events.py

    @pytest.mark.filterwarnings(
        r"ignore:\s*on_event is deprecated, use lifespan event handlers instead.*:DeprecationWarning"
    )
    def test_router_events(state: State) -> None:
        app = FastAPI()
    
        @app.get("/")
        def main() -> dict[str, str]:
            return {"message": "Hello World"}
    
        @app.on_event("startup")
        def app_startup() -> None:
            state.app_startup = True
    
        @app.on_event("shutdown")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 11.7K bytes
    - Click Count (0)
  7. docs/en/docs/deployment/docker.md

    RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
    
    # (1)!
    COPY ./main.py /code/
    
    # (2)!
    CMD ["fastapi", "run", "main.py", "--port", "80"]
    ```
    
    1. Copy the `main.py` file to the `/code` directory directly (without any `./app` directory).
    
    2. Use `fastapi run` to serve your application in the single file `main.py`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 28.3K bytes
    - Click Count (1)
  8. 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)
  9. build-tools-internal/src/main/resources/checkstyle_suppressions.xml

      <suppress files="modules[/\\]lang-painless[/\\]src[/\\]main[/\\]java[/\\]org[/\\]elasticsearch[/\\]painless[/\\]antlr[/\\]PainlessLexer\.java" checks="." />
      <suppress files="modules[/\\]lang-painless[/\\]src[/\\]main[/\\]java[/\\]org[/\\]elasticsearch[/\\]painless[/\\]antlr[/\\]PainlessParser(|BaseVisitor|Visitor)\.java" checks="." />
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 5.5K bytes
    - Click Count (0)
  10. build-logic/src/main/kotlin/okhttp.quality-conventions.gradle.kts

      toolVersion = version("checkstyle")
    
      val sourceSets = project.extensions.findByType<SourceSetContainer>()
      val main = sourceSets?.findByName("main") ?: sourceSets?.findByName("jvmMain")
      if (main != null) {
        this.sourceSets = listOf(main)
      }
    }
    
    val androidSignature = configurations.maybeCreate("androidSignature")
    val jvmSignature = configurations.maybeCreate("jvmSignature")
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Feb 05 09:17:33 GMT 2026
    - 2.9K bytes
    - Click Count (0)
Back to Top