Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 111 - 120 of 1,342 for makin (0.03 seconds)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. compat/maven-model-builder/src/main/resources/org/apache/maven/model/pom-4.1.0.xml

        <sourceDirectory>${project.basedir}/src/main/java</sourceDirectory>
        <scriptSourceDirectory>${project.basedir}/src/main/scripts</scriptSourceDirectory>
        <testSourceDirectory>${project.basedir}/src/test/java</testSourceDirectory>
        <resources>
          <resource>
            <directory>${project.basedir}/src/main/resources</directory>
          </resource>
          <resource>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Aug 07 14:31:13 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  7. dbflute_fess/dfprop/databaseInfoMap.dfprop

            #  you should specify the map of included schemas.
            #  Additional schemas have original settings apart from the main schema.
            #  The settings are objectTypeTargetList, tableExceptList,
            #  tableTargetList, and columnExceptMap.
            #  They have the same specification as ones of the main schema.
            #  Elements of this map are as below: 
            #    o objectTypeTargetList: (NotRequired - Default 'map:{TABLE;VIEW}')
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Oct 31 23:35:14 GMT 2015
    - 7.3K bytes
    - Click Count (0)
  8. 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)
  9. 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)
  10. docs/en/docs/fastapi-cli.md

    ```python
    from main import app
    ```
    
    If your code was structured like:
    
    ```
    .
    ├── backend
    │   ├── main.py
    │   ├── __init__.py
    ```
    
    Then you would set the `entrypoint` as:
    
    ```toml
    [tool.fastapi]
    entrypoint = "backend.main:app"
    ```
    
    which would be equivalent to:
    
    ```python
    from backend.main import app
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 07 09:29:03 GMT 2026
    - 5.8K bytes
    - Click Count (0)
Back to Top