- Sort Score
- Num 10 results
- Language All
Results 491 - 500 of 1,087 for main (0.02 seconds)
-
docs/zh/docs/advanced/sub-applications.md
### 挂载子应用 在顶层应用 `app` 中,挂载子应用 `subapi`。 本例的子应用挂载在 `/subapi` 路径下: {* ../../docs_src/sub_applications/tutorial001.py hl[11,19] *} ### 查看文档 如果主文件是 `main.py`,则用以下 `uvicorn` 命令运行主应用: <div class="termy"> ```console $ uvicorn main:app --reload <span style="color: green;">INFO</span>: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit) ```Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 18 02:25:44 GMT 2024 - 2.4K bytes - Click Count (0) -
architecture/standards/0001-use-architectural-decision-records.md
* Review in Google Docs is not as simple as a PR code review in GitHub ## Decision The *Build Tool Team* has decided to use Architectural Decision Records (aka ADR) to track decisions we want to follow. The main logic with ADRs is to describe (architectural) decisions made: * To provide best practices and solutions we (as the *build tool* team) want to promote. * To avoid asking the same thing multiple times during code review.
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue Aug 26 17:29:22 GMT 2025 - 2.8K bytes - Click Count (0) -
docs/ja/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> ### 動作確認
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Oct 11 17:48:49 GMT 2025 - 21.3K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/CertificatePinning.java
for (Certificate certificate : response.handshake().peerCertificates()) { System.out.println(CertificatePinner.pin(certificate)); } } } public static void main(String... args) throws Exception { new CertificatePinning().run(); }Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sun Dec 08 21:30:01 GMT 2019 - 1.7K bytes - Click Count (0) -
impl/maven-core/src/test/projects/plugin-manager/project-with-plugin-classpath-ordering/sub/repo/org/apache/maven/its/mng3906/b/0.1/b-0.1.pom
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.6K bytes - Click Count (0) -
impl/maven-core/src/test/projects/plugin-manager/project-with-plugin-classpath-ordering/sub/repo/org/apache/maven/its/mng3906/d/0.1/d-0.1.pom
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.6K bytes - Click Count (0) -
docs_src/app_testing/app_b_an_py310/test_main.py
from fastapi.testclient import TestClient from .main import app client = TestClient(app) def test_read_item(): response = client.get("/items/foo", headers={"X-Token": "coneofsilence"}) assert response.status_code == 200 assert response.json() == { "id": "foo", "title": "Foo", "description": "There goes my hero", } def test_read_item_bad_token():
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Thu Aug 15 22:31:16 GMT 2024 - 1.8K bytes - Click Count (0) -
docs_src/app_testing/app_b_py39/test_main.py
from fastapi.testclient import TestClient from .main import app client = TestClient(app) def test_read_item(): response = client.get("/items/foo", headers={"X-Token": "coneofsilence"}) assert response.status_code == 200 assert response.json() == { "id": "foo", "title": "Foo", "description": "There goes my hero", } def test_read_item_bad_token():
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 1.8K bytes - Click Count (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.code-quality.gradle.kts
project.extensions.getByName<SourceSetContainer>("sourceSets").configureEach { val isMainSourceSet = (name == "main") val extension = this.extensions.create<ErrorProneSourceSetExtension>( "errorprone", project.objects.property<Boolean>() ).apply { // Enable it only for the main source set by default, as incremental Groovy
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Oct 01 11:57:43 GMT 2025 - 9.3K bytes - Click Count (0) -
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>
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 9.8K bytes - Click Count (0)