- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 249 for 0000 (0.02 sec)
-
docs/uk/docs/tutorial/debugging.md
```console $ python myapp.py ``` </div> тоді внутрішня змінна `__name__`, яка створюється автоматично Python, матиме значення `"__main__"`. Отже, цей блок коду: ```Python uvicorn.run(app, host="0.0.0.0", port=8000) ``` буде виконаний. --- Це не станеться, якщо Ви імпортуєте цей модуль (файл). Якщо у Вас є інший файл, наприклад `importer.py`, з наступним кодом: ```Python from myapp import app
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Feb 28 14:24:45 UTC 2025 - 3.6K bytes - Viewed (0) -
docs/features/events.md
0.675 responseHeadersEnd 0.676 responseBodyStart 0.679 responseBodyEnd 0.679 connectionReleased 0.680 callEnd REQUEST 2 (pooled connection) 0.000 callStart 0.001 connectionAcquired 0.001 requestHeadersStart 0.001 requestHeadersEnd 0.002 responseHeadersStart 0.082 responseHeadersEnd 0.082 responseBodyStart 0.082 responseBodyEnd 0.083 connectionReleased 0.083 callEnd ```
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sun Feb 06 02:19:09 UTC 2022 - 7.7K bytes - Viewed (0) -
docs/fr/docs/tutorial/debugging.md
</div> alors la variable interne `__name__` de votre fichier, créée automatiquement par Python, aura pour valeur la chaîne de caractères `"__main__"`. Ainsi, la section : ```Python uvicorn.run(app, host="0.0.0.0", port=8000) ``` va s'exécuter. --- Cela ne se produira pas si vous importez ce module (fichier). Par exemple, si vous avez un autre fichier `importer.py` qui contient : ```Python
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sun Oct 27 17:31:14 UTC 2024 - 2.9K bytes - Viewed (0) -
docs/pt/docs/tutorial/debugging.md
``` </div> então a variável interna `__name__` no seu arquivo, criada automaticamente pelo Python, terá como valor a string `"__main__"`. Então, a seção: ```Python uvicorn.run(app, host="0.0.0.0", port=8000) ``` vai executar. --- Isso não acontecerá se você importar esse módulo (arquivo). Então, se você tiver outro arquivo `importer.py` com: ```Python from myapp import app
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 2.7K bytes - Viewed (0) -
cmd/erasure-encode_test.go
b.Run(" 0000|X000 ", func(b *testing.B) { benchmarkErasureEncode(4, 4, 0, 1, size, b) }) b.Run(" X000|0000 ", func(b *testing.B) { benchmarkErasureEncode(4, 4, 1, 0, size, b) }) b.Run(" 0000|XXX0 ", func(b *testing.B) { benchmarkErasureEncode(4, 4, 0, 3, size, b) }) b.Run(" XXX0|0000 ", func(b *testing.B) { benchmarkErasureEncode(4, 4, 3, 0, size, b) }) }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 11.8K bytes - Viewed (0) -
docs/ru/docs/tutorial/debugging.md
то встроенная переменная `__name__`, автоматически создаваемая Python в вашем файле, будет иметь значение строкового типа `"__main__"`. Тогда выполнится условие и эта часть кода: ```Python uvicorn.run(app, host="0.0.0.0", port=8000) ``` будет запущена. --- Но этого не произойдет, если вы импортируете этот модуль (файл). Таким образом, если у вас есть файл `importer.py` с таким импортом: ```Python
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 3.9K bytes - Viewed (0) -
docs/es/docs/tutorial/debugging.md
``` </div> entonces la variable interna `__name__` en tu archivo, creada automáticamente por Python, tendrá como valor el string `"__main__"`. Así que, la sección: ```Python uvicorn.run(app, host="0.0.0.0", port=8000) ``` se ejecutará. --- Esto no ocurrirá si importas ese módulo (archivo). Entonces, si tienes otro archivo `importer.py` con: ```Python from myapp import app
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 2.6K bytes - Viewed (0) -
tests/test_tutorial/test_debugging/test_tutorial001.py
with unittest.mock.patch("uvicorn.run") as uvicorn_run_mock: runpy.run_module(MOD_NAME, run_name="__main__") uvicorn_run_mock.assert_called_once_with( unittest.mock.ANY, host="0.0.0.0", port=8000 ) def test_openapi_schema(client: TestClient): response = client.get("/openapi.json") assert response.status_code == 200 assert response.json() == { "openapi": "3.1.0",
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 10:43:02 UTC 2025 - 1.8K bytes - Viewed (0) -
docs/ko/docs/tutorial/debugging.md
따라서 섹션 ```Python uvicorn.run(app, host="0.0.0.0", port=8000) ``` 이 실행됩니다. --- 해당 모듈(파일)을 가져오면 이런 일이 발생하지 않습니다 그래서 다음과 같은 다른 파일 `importer.py`가 있는 경우: ```Python from myapp import app # Some more code ``` 이 경우 `myapp.py` 내부의 자동 변수에는 값이 `"__main__"`인 변수 `__name__`이 없습니다. 따라서 다음 행 ```Python uvicorn.run(app, host="0.0.0.0", port=8000) ``` 은 실행되지 않습니다. /// info | 정보Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 2.7K bytes - Viewed (0) -
docs/fr/docs/deployment/manually.md
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Oct 11 17:48:49 UTC 2025 - 5.3K bytes - Viewed (0)