Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 541 - 550 of 1,364 for main (0.05 seconds)

  1. docs/ko/docs/tutorial/index.md

       <span style="background-color:#007166"><font color="#D3D7CF"> module </font></span>  🐍 main.py
    
         <span style="background-color:#007166"><font color="#D3D7CF"> code </font></span>  Importing the FastAPI app object from the module with
                 the following code:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 5.7K bytes
    - Click Count (0)
  2. samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/ClientAndServer.java

        try (Response response = client.newCall(request).execute()) {
          System.out.println(response.body().string());
        }
    
        server.shutdown();
        socketFile.delete();
      }
    
      public static void main(String... args) throws Exception {
        new ClientAndServer().run();
      }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Dec 24 03:46:30 GMT 2018
    - 2.1K bytes
    - Click Count (0)
  3. docs/zh-hant/docs/tutorial/first-steps.md

    這個 `entrypoint` 會告訴 `fastapi` 指令應該用下面的方式匯入 app:
    
    ```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 17:05:38 GMT 2026
    - 13.3K bytes
    - Click Count (0)
  4. build-logic-settings/build-environment/src/main/kotlin/gradlebuild/basics/BuildEnvironmentService.kt

        val gitCommitId = git("rev-parse", "HEAD")
        val gitBranch = git("rev-parse", "--abbrev-ref", "HEAD")
        val scriptTemplateCommitId = git("log", "-1", "--format=%H", "--", "platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt")
    
        @Suppress("UnstableApiUsage")
        private
        fun git(vararg args: String): Provider<String> {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Mar 25 08:51:12 GMT 2026
    - 2.2K bytes
    - Click Count (0)
  5. docs/ja/docs/advanced/path-operation-advanced-configuration.md

    アプリケーションで *path operation* を宣言すると、**FastAPI** はOpenAPIスキーマに含めるために、その *path operation* に関連するメタデータを自動的に生成します。
    
    /// note | 技術詳細
    
    OpenAPI仕様では [Operation Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#operation-object) と呼ばれています。
    
    ///
    
    これには *path operation* に関するすべての情報が含まれ、自動ドキュメントを生成するために使われます。
    
    `tags`、`parameters`、`requestBody`、`responses` などが含まれます。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 8.2K bytes
    - Click Count (0)
  6. samples/guide/src/main/java/okhttp3/recipes/kt/CacheResponse.kt

            println("Response 2 network response:  ${it.networkResponse}")
            return@use it.body.string()
          }
    
        println("Response 2 equals Response 1? " + (response1Body == response2Body))
      }
    }
    
    fun main() {
      CacheResponse(File("CacheResponse.tmp")).run()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 2K bytes
    - Click Count (0)
  7. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/InternalPluginBuildPlugin.java

                if (isModule == false || isXPackModule) {
                    addNoticeGeneration(p, extension);
                }
            });
        }
    
        /**
         * Configure the pom for the main jar of this plugin
         */
        protected static void addNoticeGeneration(final Project project, PluginPropertiesExtension extension) {
            final var licenseFile = extension.getLicenseFile();
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 5K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/webapp/WebXmlTest.java

                    }
                } else {
                    webXmlDocument = builder.parse(is);
                }
            }
            if (webXmlDocument == null) {
                final java.io.File file = new java.io.File("src/main/webapp/WEB-INF/web.xml");
                if (file.exists()) {
                    webXmlDocument = builder.parse(file);
                }
            }
        }
    
        @Test
        public void test_webXmlExists() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 09:08:35 GMT 2026
    - 3.1K bytes
    - Click Count (0)
  9. samples/guide/src/main/java/okhttp3/recipes/kt/PostMultipart.kt

         */
        private const val IMGUR_CLIENT_ID = "9199fdef135c122"
        private val MEDIA_TYPE_PNG = "image/png".toMediaType()
      }
    }
    
    fun main() {
      PostMultipart().run()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  10. compat/maven-embedder/src/site/apt/index.apt.vm

     Hervé Boutemy
     -----
     2016-11-14
     -----
    
    ${project.name}
    
     ${project.description}
    
    * Useful entry points
    
     * {{{./apidocs/org/apache/maven/cli/MavenCli.html}MavenCli.doMain(CliRequest)}} is the main method preparing runtime environment before running {{{../maven-core/}Maven.execute()}}
    
    * References
    
     * {{{./cli.html}CLI options}},
    
     * {{{./logging.html}logging API}}.
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.8K bytes
    - Click Count (0)
Back to Top