- Sort Score
- Num 10 results
- Language All
Results 241 - 250 of 1,062 for python (0.04 seconds)
-
docs/ja/docs/deployment/manually.md
``` </div> /// note | 備考 `uvicorn main:app` というコマンドは次を指します: * `main`: ファイル `main.py`(Python の「モジュール」)。 * `app`: `main.py` 内で `app = FastAPI()` により作成されたオブジェクト。 これは次と等価です: ```Python from main import app ``` /// 他の ASGI サーバープログラムでも同様のコマンドがあり、詳細はそれぞれのドキュメントを参照してください。 /// warning | 注意
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:07:17 GMT 2026 - 7.8K bytes - Click Count (0) -
docs/en/docs/advanced/middleware.md
In general, ASGI middlewares are classes that expect to receive an ASGI app as the first argument. So, in the documentation for third-party ASGI middlewares they will probably tell you to do something like: ```Python from unicorn import UnicornMiddleware app = SomeASGIApp() new_app = UnicornMiddleware(app, some_config="rainbow") ```
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 4.1K bytes - Click Count (0) -
docs/en/docs/reference/httpconnection.md
You can import it from `fastapi.requests`: ```python from fastapi.requests import HTTPConnection ```
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 359 bytes - Click Count (0) -
tensorflow/c/BUILD
], ) # ----------------------------------------------------------------------------- # Python API target tf_cuda_library( name = "python_api", srcs = ["python_api.cc"], hdrs = ["python_api.h"], visibility = [ "//tensorflow:internal", "//tensorflow/python:__pkg__", ], deps = [ ":c_api", ":c_api_internal",Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Tue Feb 17 18:49:14 GMT 2026 - 30.3K bytes - Click Count (0) -
docs/en/docs/reference/staticfiles.md
Read more about it in the [FastAPI docs for Static Files](https://fastapi.tiangolo.com/tutorial/static-files/). You can import it directly from `fastapi.staticfiles`: ```python from fastapi.staticfiles import StaticFiles ```
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 391 bytes - Click Count (0) -
docs/zh/docs/tutorial/dependencies/dependencies-with-yield.md
## 上下文管理器 { #context-managers } ### 什么是“上下文管理器” { #what-are-context-managers } “上下文管理器”是你可以在 `with` 语句中使用的任意 Python 对象。 例如,[你可以用 `with` 来读取文件](https://docs.python.org/3/tutorial/inputoutput.html#reading-and-writing-files): ```Python with open("./somefile.txt") as f: contents = f.read() print(contents) ``` 在底层,`open("./somefile.txt")` 会创建一个“上下文管理器”对象。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 12.1K bytes - Click Count (0) -
configure.py
"""Get the python major version.""" return run_shell([python_bin_path, '-c', 'import sys; print(sys.version[0])']) def setup_python(environ_cp): """Setup python related env variables.""" # Get PYTHON_BIN_PATH, default is the current running python. default_python_bin_path = sys.executable ask_python_bin_path = ('Please specify the location of python. [Default is '
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Fri Dec 19 16:32:04 GMT 2025 - 48.3K bytes - Click Count (0) -
docs/en/docs/tutorial/path-params-numeric-validations.md
* declare the path parameter `item_id` using `Path` * have them in a different order * not use `Annotated` ...Python has a little special syntax for that. Pass `*`, as the first parameter of the function.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 6.1K bytes - Click Count (0) -
docs/es/docs/tutorial/first-steps.md
```python from main import app ``` Si tu código estuviera estructurado así: ``` . ├── backend │ ├── main.py │ ├── __init__.py ``` Entonces pondrías el `entrypoint` como: ```toml [tool.fastapi] entrypoint = "backend.main:app" ``` lo cual sería equivalente a: ```python from backend.main import app ```
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:15:55 GMT 2026 - 13.9K bytes - Click Count (0) -
docs/fr/docs/tutorial/first-steps.md
```python from main import app ``` Si votre code est structuré comme : ``` . ├── backend │ ├── main.py │ ├── __init__.py ``` Alors vous définiriez le `entrypoint` comme : ```toml [tool.fastapi] entrypoint = "backend.main:app" ``` ce qui équivaudrait à : ```python from backend.main import app ```
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:37:13 GMT 2026 - 15.1K bytes - Click Count (0)