- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 363 for Wain (0.2 sec)
-
docs/en/docs/advanced/settings.md
### The main app file Now we create a dependency that returns a new `config.Settings()`. === "Python 3.9+" ```Python hl_lines="6 12-13" {!> ../../../docs_src/settings/app02_an_py39/main.py!} ``` === "Python 3.8+" ```Python hl_lines="6 12-13" {!> ../../../docs_src/settings/app02_an/main.py!} ``` === "Python 3.8+ non-Annotated"
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 15.7K bytes - Viewed (0) -
docs/ru/docs/tutorial/testing.md
``` hl_lines="5" . ├── app │ ├── __init__.py │ ├── main.py │ └── test_main.py ``` Так как оба файла находятся в одной директории, для импорта объекта приложения из файла `main` в файл `test_main` Вы можете использовать относительный импорт: ```Python hl_lines="3" {!../../../docs_src/app_testing/test_main.py!} ``` ...и писать дальше тесты, как и раньше.
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 10.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 Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 13.1K bytes - Viewed (0) -
docs/zh/docs/advanced/settings.md
{!> ../../../docs_src/settings/app02_an_py39/main.py!} ``` === "Python 3.8+" ```Python hl_lines="6 12-13" {!> ../../../docs_src/settings/app02_an/main.py!} ``` === "Python 3.8+ 非注解版本" !!! tip 如果可能,请尽量使用 `Annotated` 版本。 ```Python hl_lines="5 11-12" {!> ../../../docs_src/settings/app02/main.py!} ``` !!! tip 我们稍后会讨论 `@lru_cache`。
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 13.9K bytes - Viewed (0) -
okcurl/src/main/kotlin/okhttp3/curl/MainCommandLine.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.curl import kotlin.system.exitProcess fun main(args: Array<String>) { Main().main(args) exitProcess(0)
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Fri Apr 05 03:30:42 GMT 2024 - 728 bytes - Viewed (0) -
docs/pl/docs/tutorial/first-steps.md
<span style="color: green;">INFO</span>: Application startup complete. ``` </div> !!! note Polecenie `uvicorn main:app` odnosi się do: * `main`: plik `main.py` ("moduł" Python). * `app`: obiekt utworzony w pliku `main.py` w lini `app = FastAPI()`. * `--reload`: sprawia, że serwer uruchamia się ponownie po zmianie kodu. Używany tylko w trakcie tworzenia oprogramowania.
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 9.8K bytes - Viewed (0) -
docs/em/docs/deployment/server-workers.md
``` </div> ➡️ 👀 ⚫️❔ 🔠 👈 🎛 ⛓: * `main:app`: 👉 🎏 ❕ ⚙️ Uvicorn, `main` ⛓ 🐍 🕹 📛 "`main`",, 📁 `main.py`. & `app` 📛 🔢 👈 **FastAPI** 🈸. * 👆 💪 🌈 👈 `main:app` 🌓 🐍 `import` 📄 💖: ```Python from main import app ``` * , ❤ `main:app` 🔜 🌓 🐍 `import` 🍕 `from main import app`. * `--workers`: 🔢 👨🏭 🛠️ ⚙️, 🔠 🔜 🏃 Uvicorn 👨🏭, 👉 💼, 4️⃣ 👨🏭.
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 8.2K bytes - Viewed (0) -
docs/pt/docs/tutorial/first-steps.md
<span style="color: green;">INFO</span>: Application startup complete. ``` </div> !!! note "Nota" O comando `uvicorn main:app` se refere a: * `main`: o arquivo `main.py` (o "módulo" Python). * `app`: o objeto criado no arquivo `main.py` com a linha `app = FastAPI()`. * `--reload`: faz o servidor reiniciar após mudanças de código. Use apenas para desenvolvimento. Na saída, temos:
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 9.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/ActivityHelperTest.java
assertEquals( "{\"@timestamp\":\"2022-01-01T00:00:00.000Z\",\"log.level\":\"INFO\",\"ecs.version\":\"1.2.0\",\"service.name\":\"fess\",\"event.dataset\":\"app\",\"process.thread.name\":\"main\",\"log.logger\":\"org.codelibs.fess.helper.ActivityHelperTest$1\",\"labels.action\":\"LOGIN\",\"labels.user\":\"-\",\"labels.permissions\":\"-\"}", localLogMsg.get());
Java - Registered: Mon Apr 29 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 14.1K bytes - Viewed (0) -
docs/em/docs/tutorial/bigger-applications.md
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 15.6K bytes - Viewed (0)