Search Options

Results per page
Sort
Preferred Languages
Advance

Results 301 - 310 of 994 for main (0.04 sec)

  1. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleUserManualPlugin.java

                task.getExcludedPackages().convention(excludedPackages);
            });
            SourceSetContainer sourceSets = project.getExtensions().getByType(SourceSetContainer.class);
            sourceSets.getByName("main", main ->
                main.getOutput().dir(singletonMap("builtBy", asList(apiMapping, defaultImports)), generatedDirectory)
            );
    
            extension.getUserManual().getResources().from(apiMapping);
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Mar 01 05:46:51 UTC 2024
    - 17.7K bytes
    - Viewed (0)
  2. docs/vi/docs/index.md

    </div>
    
    <details markdown="1">
    <summary>Về lệnh <code>uvicorn main:app --reload</code>...</summary>
    
    Lệnh `uvicorn main:app` tham chiếu tới những thành phần sau:
    
    * `main`: tệp tin `main.py` (một Python "module").
    * `app`: object được tạo trong tệp tin `main.py` tại dòng `app = FastAPI()`.
    * `--reload`: chạy lại server sau khi code thay đổi. Chỉ sử dụng trong quá trình phát triển.
    
    </details>
    
    ### Kiểm tra
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  3. docs/zh/docs/index.md

    ```
    
    </div>
    
    <details markdown="1">
    <summary>关于 <code>uvicorn main:app --reload</code> 命令......</summary>
    
     `uvicorn main:app` 命令含义如下:
    
    * `main`:`main.py` 文件(一个 Python "模块")。
    * `app`:在 `main.py` 文件中通过 `app = FastAPI()` 创建的对象。
    * `--reload`:让服务器在更新代码后重新启动。仅在开发时使用该选项。
    
    </details>
    
    ### 检查
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/http/ExternalHttp2Example.kt

     * limitations under the License.
     */
    package okhttp3.internal.http
    
    import okhttp3.OkHttpClient
    import okhttp3.Protocol
    import okhttp3.Request
    
    object ExternalHttp2Example {
      @JvmStatic
      fun main(args: Array<String>) {
        val client =
          OkHttpClient.Builder()
            .protocols(listOf(Protocol.HTTP_2, Protocol.HTTP_1_1))
            .build()
        val call =
          client.newCall(
            Request.Builder()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  5. samples/guide/src/main/java/okhttp3/recipes/kt/AsynchronousGet.kt

                for ((name, value) in response.headers) {
                  println("$name: $value")
                }
    
                println(response.body.string())
              }
            }
          },
        )
      }
    }
    
    fun main() {
      AsynchronousGet().run()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  6. .github/workflows/update-jdks.yml

          - name: Checkout repository
            uses: actions/checkout@v3
            with:
              persist-credentials: false
              fetch-depth: 0
          - name: Update jdks.yaml
            uses: gradle/update-jdks-action@main
          - name: Create Pull Request
            uses: peter-evans/create-pull-request@v7
            with:
              signoff: true
              sign-commits: true
              commit-message: "Update jdks.yaml"
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Oct 29 03:45:07 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  7. docs/ru/docs/deployment/docker.md

    # (1)
    COPY ./main.py /code/
    
    # (2)
    CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "80"]
    ```
    
    1. Скопируйте непосредственно файл `main.py` в директорию `/code` (не указывайте `./app`).
    
    2. При запуске Uvicorn укажите ему, что объект `app` нужно импортировать из файла `main` (вместо импортирования из `app.main`).
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Aug 12 21:47:53 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  8. docs/pt/docs/advanced/behind-a-proxy.md

    ```JSON hl_lines="4-8"
    {
        "openapi": "3.1.0",
        // Mais coisas aqui
        "servers": [
            {
                "url": "/api/v1"
            }
        ],
        "paths": {
                // Mais coisas aqui
        }
    }
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 15:28:18 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  9. docs/en/docs/deployment/index.md

    You could **deploy a server** yourself using a combination of tools, you could use a **cloud service** that does part of the work for you, or other possible options.
    
    I will show you some of the main concepts you should probably keep in mind when deploying a **FastAPI** application (although most of it applies to any other type of web application).
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Jan 11 16:31:18 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  10. build-logic-settings/UpdateDevelocityPluginVersion.java

    import java.io.*;
    import java.nio.file.*;
    import java.util.regex.*;
    
    public class UpdateDevelocityPluginVersion {
        public static void main(String[] args) throws IOException {
            if (args.length != 1) {
                System.out.println("Usage: java build-logic-settings/UpdateDevelocityPluginVersion.java <new-version>");
                System.exit(1);
            }
    
            String newVersion = args[0];
            String[] files = {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Sep 12 07:58:50 UTC 2024
    - 1.4K bytes
    - Viewed (0)
Back to top