Search Options

Results per page
Sort
Preferred Languages
Advance

Results 421 - 430 of 840 for MAIN (0.02 sec)

  1. tests/test_tutorial/test_request_files/test_tutorial003_an_py39.py

                                },
                            },
                        },
                    }
                },
                "/": {
                    "get": {
                        "summary": "Main",
                        "operationId": "main__get",
                        "responses": {
                            "200": {
                                "description": "Successful Response",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/AssembleDslDocTask.groovy

     * <li>Meta-data about the plugins, in the form of an XML file.</li>
     * <li>{@code sourceFile} - A main docbook template file containing the introductory material and a list of classes to document.</li>
     * <li>{@code classDocbookDir} - A directory that should contain docbook template for each class referenced in main docbook template.</li>
     * </ul>
     *
     * Produces the following:
     * <ul>
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 9.8K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_behind_a_proxy/test_tutorial003.py

                    ),
                    "description": "Production environment",
                },
            ],
            "paths": {
                "/app": {
                    "get": {
                        "summary": "Read Main",
                        "operationId": "read_main_app_get",
                        "responses": {
                            "200": {
                                "description": "Successful Response",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  4. docs_src/request_files/tutorial003.py

    @app.post("/uploadfiles/")
    async def create_upload_files(
        files: List[UploadFile] = File(description="Multiple files as UploadFile"),
    ):
        return {"filenames": [file.filename for file in files]}
    
    
    @app.get("/")
    async def main():
        content = """
    <body>
    <form action="/files/" enctype="multipart/form-data" method="post">
    <input name="files" type="file" multiple>
    <input type="submit">
    </form>
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri May 13 23:38:22 UTC 2022
    - 913 bytes
    - Viewed (0)
  5. docs_src/request_files/tutorial003_an.py

        files: Annotated[
            List[UploadFile], File(description="Multiple files as UploadFile")
        ],
    ):
        return {"filenames": [file.filename for file in files]}
    
    
    @app.get("/")
    async def main():
        content = """
    <body>
    <form action="/files/" enctype="multipart/form-data" method="post">
    <input name="files" type="file" multiple>
    <input type="submit">
    </form>
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 987 bytes
    - Viewed (0)
  6. helm/minio/values.yaml

    makePolicyJob:
      securityContext:
        enabled: false
        runAsUser: 1000
        runAsGroup: 1000
      resources:
        requests:
          memory: 128Mi
      # Command to run after the main command on exit
      exitCommand: ""
    
    ## List of users to be created after minio install
    ##
    users:
      ## Username, password and policy to be assigned to the user
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 15:48:31 UTC 2024
    - 18.8K bytes
    - Viewed (1)
  7. docs/ja/docs/deployment/server-workers.md

    ```
    
    </div>
    
    それぞれのオプションの意味を見てみましょう:
    
    * `main:app`: `main`は"`main`"という名前のPythonモジュール、つまりファイル`main.py`を意味します。そして `app` は **FastAPI** アプリケーションの変数名です。
        * main:app`はPythonの`import`文と同じようなものだと想像できます:
    
            ```Python
            from main import app
            ```
    
        * つまり、`main:app`のコロンは、`from main import app`のPythonの`import`の部分と同じになります。
    
    * `--workers`: 使用するワーカー・プロセスの数で、それぞれがUvicornのワーカーを実行します。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  8. docs/pl/docs/index.md

    ```
    
    </div>
    
    <details markdown="1">
    <summary>O komendzie <code>uvicorn main:app --reload</code>...</summary>
    Komenda `uvicorn main:app` odnosi się do:
    
    * `main`: plik `main.py` ("moduł" w Pythonie).
    * `app`: obiekt stworzony w `main.py` w lini `app = FastAPI()`.
    * `--reload`: spraw by serwer resetował się po każdej zmianie w kodzie. Używaj tego tylko w środowisku deweloperskim.
    
    </details>
    
    ### Wypróbuj
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  9. samples/guide/src/main/java/okhttp3/recipes/kt/ConfigureTimeouts.kt

            .build()
    
        client.newCall(request).execute().use { response ->
          println("Response completed: $response")
        }
      }
    }
    
    fun main() {
      ConfigureTimeouts().run()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  10. native-image-tests/build.gradle.kts

      implementation(libs.kotlin.test.junit)
    
      implementation(libs.nativeImageSvm)
    
      compileOnly(libs.findbugs.jsr305)
    }
    
    animalsniffer {
      isIgnoreFailures = true
    }
    
    sourceSets {
      main {
        java.srcDirs(
          "../okhttp-brotli/src/test/java",
          "../okhttp-dnsoverhttps/src/test/java",
          "../okhttp-logging-interceptor/src/test/java",
          "../okhttp-sse/src/test/java",
        )
      }
    }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 06 05:31:00 UTC 2024
    - 1.6K bytes
    - Viewed (0)
Back to top