- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for Main (0.22 sec)
-
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`).
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 57.5K bytes - Viewed (0) -
fastapi/param_functions.py
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:40:57 GMT 2024 - 62.5K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java
assertPathSuffixEquals("src/main/filter/it.properties", pom.getValue("build/filters[1]")); assertEquals(1, ((List<?>) pom.getValue("build/resources")).size()); assertPathSuffixEquals("res/main", pom.getValue("build/resources[1]/directory")); assertPathSuffixEquals("main", pom.getValue("build/resources[1]/targetPath"));
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 93.2K bytes - Viewed (0) -
configure.py
config_info_line('nogcp', 'Disable GCP support.') config_info_line('nonccl', 'Disable NVIDIA NCCL support.') if __name__ == '__main__':
Python - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 18:25:36 GMT 2024 - 53.8K bytes - Viewed (0) -
cmd/admin-handlers.go
scheme := "https" if !globalIsTLS { scheme = "http" } // save MinIO start script to inspect command var scrb bytes.Buffer fmt.Fprintf(&scrb, `#!/usr/bin/env bash function main() { for file in $(ls -1); do dest_file=$(echo "$file" | cut -d ":" -f1) mv "$file" "$dest_file" done # Read content of inspect-input.txt
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Sun Apr 21 11:43:18 GMT 2024 - 97.3K bytes - Viewed (2) -
tests/test_application.py
import pytest from dirty_equals import IsDict from fastapi.testclient import TestClient from .main import app client = TestClient(app) @pytest.mark.parametrize( "path,expected_status,expected_response", [ ("/api_route", 200, {"message": "Hello World"}), ("/non_decorated_route", 200, {"message": "Hello World"}), ("/nonexistent", 404, {"detail": "Not Found"}), ], )
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 21:56:59 GMT 2024 - 52.2K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/Futures.java
* <p>Many of these methods use the {@link ListenableFuture} API; consult the Guava User Guide * article on <a href="https://github.com/google/guava/wiki/ListenableFutureExplained">{@code * ListenableFuture}</a>. * * <p>The main purpose of {@code ListenableFuture} is to help you chain together a graph of * asynchronous operations. You can chain them together manually with calls to methods like {@link
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 59.6K bytes - Viewed (0) -
cmd/test-utils_test.go
// Add Content-Length req.ContentLength = contentLength return req, nil } // Various signature types we are supporting, currently // two main signature types. type signerType int const ( signerV2 signerType = iota signerV4 )
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Thu Apr 04 12:06:57 GMT 2024 - 75.7K bytes - Viewed (0) -
.bazelrc
build:windows --copt=/D_USE_MATH_DEFINES build:windows --host_copt=/D_USE_MATH_DEFINES # Windows has a relatively short command line limit, which TF has begun to hit. # See https://docs.bazel.build/versions/main/windows.html build:windows --features=compiler_param_file build:windows --features=archive_param_file # Speed Windows compile times. Available in VS 16.4 (we are on 16.11). See
Plain Text - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Tue Apr 23 01:21:54 GMT 2024 - 53.4K bytes - Viewed (2) -
cmd/erasure-server-pool.go
// // import org.apache.spark.sql.SparkSession // import org.apache.spark.sql.types.{IntegerType, StringType, StructField, StructType} // object SparkJSONRead { // def main(args: Array[String]): Unit = { // val spark:SparkSession = SparkSession.builder() // .appName("SparkByExample") // .master("local[1]").getOrCreate() //
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Fri Apr 19 16:44:59 GMT 2024 - 77.8K bytes - Viewed (0)