- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 310 for main (0.16 sec)
-
src/cmd/cgo/internal/swig/testdata/callback/main.swigcxx
Plain Text - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri May 12 12:00:07 GMT 2023 - 366 bytes - Viewed (0) -
okcurl/src/main/kotlin/okhttp3/curl/Main.kt
import okhttp3.curl.internal.commonRun import okhttp3.curl.logging.LoggingUtil import okhttp3.internal.platform.Platform import okhttp3.logging.HttpLoggingInterceptor import okhttp3.logging.LoggingEventListener class Main : CliktCommand(name = NAME, help = "A curl for the next-generation web.") { val method: String? by option("-X", "--request", help = "Specify request command to use")
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 5.7K bytes - Viewed (1) -
analysis/analysis-api-fir/analysis-api-fir-generator/src/org/jetbrains/kotlin/analysis/api/fir/generator/Main.kt
internal fun SmartPrinter.printCopyright() { println(COPYRIGHT) println() } internal fun SmartPrinter.printGeneratedMessage() { println(GeneratorsFileUtil.GENERATED_MESSAGE) println() } fun main() { val rootPath = Paths.get("analysis/analysis-api-fir/src").toAbsolutePath() val packageName = "org.jetbrains.kotlin.analysis.api.fir.diagnostics"
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Thu Nov 16 14:27:49 GMT 2023 - 1.5K bytes - Viewed (0) -
src/cmd/cgo/internal/swig/testdata/stdio/main.swig
Austin Clements <******@****.***> 1683216807 -0400
Plain Text - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri May 12 12:00:07 GMT 2023 - 563 bytes - Viewed (0) -
docs/en/docs/tutorial/testing.md
. ├── app │ ├── __init__.py │ ├── main.py │ └── test_main.py ``` Because this file is in the same package, you can use relative imports to import the object `app` from the `main` module (`main.py`): ```Python hl_lines="3" {!../../../docs_src/app_testing/test_main.py!} ``` ...and have the code for the tests just like before. ## Testing: extended example
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 6.2K bytes - Viewed (0) -
docs/ko/docs/tutorial/debugging.md
## `uvicorn` 호출 FastAPI 애플리케이션에서 `uvicorn`을 직접 임포트하여 실행합니다 ```Python hl_lines="1 15" {!../../../docs_src/debugging/tutorial001.py!} ``` ### `__name__ == "__main__"` 에 대하여 `__name__ == "__main__"`의 주요 목적은 다음과 같이 파일이 호출될 때 실행되는 일부 코드를 갖는 것입니다. <div class="termy"> ```console $ python myapp.py ``` </div> 그러나 다음과 같이 다른 파일을 가져올 때는 호출되지 않습니다. ```Python
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Tue Apr 02 04:18:08 GMT 2024 - 2.8K bytes - Viewed (0) -
docs/en/docs/tutorial/first-steps.md
<span style="color: green;">INFO</span>: Application startup complete. ``` </div> !!! note The command `uvicorn main:app` refers to: * `main`: the file `main.py` (the Python "module"). * `app`: the object created inside of `main.py` with the line `app = FastAPI()`. * `--reload`: make the server restart after code changes. Only use for development.
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 9.2K bytes - Viewed (0) -
docs/en/docs/advanced/testing-database.md
Because now we are going to use a new database in a new file, we need to make sure we create the database with: ```Python Base.metadata.create_all(bind=engine) ``` That is normally called in `main.py`, but the line in `main.py` uses the database file `sql_app.db`, and we need to make sure we create `test.db` for the tests. So we add that line here, with the new file. ```Python hl_lines="16"
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Jul 07 17:12:13 GMT 2023 - 3.5K bytes - Viewed (0) -
docs/en/docs/deployment/manually.md
# Run a Server Manually - Uvicorn The main thing you need to run a **FastAPI** application in a remote server machine is an ASGI server program like **Uvicorn**. There are 3 main alternatives: * <a href="https://www.uvicorn.org/" class="external-link" target="_blank">Uvicorn</a>: a high performance ASGI server.
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Jan 11 16:31:18 GMT 2024 - 4.8K bytes - Viewed (0) -
docs/em/docs/tutorial/first-steps.md
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 8.1K bytes - Viewed (0)