- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 312 for main (0.12 sec)
-
native-image-tests/src/main/kotlin/okhttp3/GenerateClassList.kt
) /** * Run periodically to refresh the known set of working tests. * * TODO use filtering to allow skipping acceptable problem tests */ fun main() { val knownTestFile = File("native-image-tests/src/main/resources/testlist.txt") val testSelector = DiscoverySelectors.selectPackage("okhttp3") val testClasses = findTests(listOf(testSelector)) .filter { it.isContainer }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 1.9K bytes - Viewed (0) -
docs/en/docs/how-to/sql-databases-peewee.md
## Main **FastAPI** app And now in the file `sql_app/main.py` let's integrate and use all the other parts we created before. ### Create the database tables In a very simplistic way create the database tables: ```Python hl_lines="9-11" {!../../../docs_src/sql_databases_peewee/sql_app/main.py!} ``` ### Create a dependency
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Jan 16 13:23:25 GMT 2024 - 23.6K bytes - Viewed (1) -
docs/zh/docs/deployment/docker.md
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt # (1) COPY ./main.py /code/ # (2) CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "80"] ``` 1. 直接将`main.py`文件复制到`/code`目录中(不包含任何`./app`目录)。 2. 运行 Uvicorn 并告诉它从 `main` 导入 `app` 对象(而不是从 `app.main` 导入)。 然后调整Uvicorn命令使用新模块`main`而不是`app.main`来导入FastAPI 实例`app`。 ## 部署概念
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 31.2K bytes - Viewed (0) -
docs/em/docs/tutorial/testing.md
``` . ├── app │ ├── __init__.py │ └── main.py ``` 📁 `main.py` 👆 ✔️ 👆 **FastAPI** 📱: ```Python {!../../../docs_src/app_testing/main.py!} ``` ### 🔬 📁 ⤴️ 👆 💪 ✔️ 📁 `test_main.py` ⏮️ 👆 💯. ⚫️ 💪 🖖 🔛 🎏 🐍 📦 (🎏 📁 ⏮️ `__init__.py` 📁): ``` hl_lines="5" . ├── app │ ├── __init__.py │ ├── main.py │ └── test_main.py ```
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 5.2K bytes - Viewed (0) -
docs/ru/docs/tutorial/first-steps.md
<span style="color: green;">INFO</span>: Application startup complete. ``` </div> !!! note "Технические детали" Команда `uvicorn main:app` обращается к: * `main`: файл `main.py` (модуль Python). * `app`: объект, созданный внутри файла `main.py` в строке `app = FastAPI()`. * `--reload`: перезапускает сервер после изменения кода. Используйте только для разработки. В окне вывода появится следующая строка:
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 13.1K bytes - Viewed (0) -
docs/pt/docs/index.md
* `main`: o arquivo `main.py` (o "módulo" Python). * `app`: o objeto criado dentro de `main.py` com a linha `app = FastAPI()`. * `--reload`: faz o servidor recarregar após mudanças de código. Somente faça isso para desenvolvimento. </details> ### Verifique
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Mon Apr 29 05:18:04 GMT 2024 - 18.6K bytes - Viewed (0) -
docs/de/docs/tutorial/first-steps.md
<span style="color: green;">INFO</span>: Application startup complete. ``` </div> !!! note "Hinweis" Der Befehl `uvicorn main:app` bezieht sich auf: * `main`: die Datei `main.py` (das sogenannte Python-„Modul“). * `app`: das Objekt, welches in der Datei `main.py` mit der Zeile `app = FastAPI()` erzeugt wurde. * `--reload`: lässt den Server nach Codeänderungen neu starten. Verwenden Sie das nur während der Entwicklung.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Jan 13 12:16:22 GMT 2024 - 10.5K bytes - Viewed (0) -
docs/pt/docs/deployment/docker.md
# (1) COPY ./main.py /code/ # (2) CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "80"] ``` 1. Copie o arquivo `main.py` para o diretório `/code` diretamente (sem nenhum diretório `./app`). 2. Execute o Uvicorn e diga a ele para importar o objeto `app` de `main` (em vez de importar de `app.main`).
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 37.4K bytes - Viewed (0) -
docs/en/docs/advanced/websockets.md
```Python hl_lines="48-52" {!../../../docs_src/websockets/tutorial001.py!} ``` You can receive and send binary, text, and JSON data. ## Try it If your file is named `main.py`, run your application with: <div class="termy"> ```console $ fastapi dev main.py <span style="color: green;">INFO</span>: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit) ``` </div>
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu May 02 22:37:31 GMT 2024 - 6.2K bytes - Viewed (0) -
README.md
[conscrypt]: https://github.com/google/conscrypt/ [get_example]: https://raw.github.com/square/okhttp/master/samples/guide/src/main/java/okhttp3/guide/GetExample.java [kotlin]: https://kotlinlang.org/ [okhttp3_pro]: https://raw.githubusercontent.com/square/okhttp/master/okhttp/src/main/resources/META-INF/proguard/okhttp3.pro [okhttp_312x]: https://github.com/square/okhttp/tree/okhttp_3.12.x [okhttp]: https://square.github.io/okhttp/
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Dec 20 23:27:07 GMT 2023 - 6.2K bytes - Viewed (0)