- Sort Score
- Result 10 results
- Languages All
Results 201 - 210 of 855 for Pythona (0.14 sec)
-
docs/pt/docs/tutorial/bigger-applications.md
``` . ├── app # "app" é um pacote Python │ ├── __init__.py # este arquivo torna "app" um "pacote Python" │ ├── main.py # "main" módulo, e.g. import app.main │ ├── dependencies.py # "dependencies" módulo, e.g. import app.dependencies │ └── routers # "routers" é um "subpacote Python" │ │ ├── __init__.py # torna "routers" um "subpacote Python"
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 19.6K bytes - Viewed (0) -
tests/test_forms_from_non_typing_sequences.py
from fastapi import FastAPI, Form from fastapi.testclient import TestClient app = FastAPI() @app.post("/form/python-list") def post_form_param_list(items: list = Form()): return items @app.post("/form/python-set") def post_form_param_set(items: set = Form()): return items @app.post("/form/python-tuple") def post_form_param_tuple(items: tuple = Form()): return items client = TestClient(app)
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Fri May 13 23:38:22 UTC 2022 - 1.2K bytes - Viewed (0) -
docs/zh/docs/tutorial/response-model.md
* `@app.put()` * `@app.delete()` * 等等。 //// tab | Python 3.10+ ```Python hl_lines="17 22 24-27" {!> ../../docs_src/response_model/tutorial001_py310.py!} ``` //// //// tab | Python 3.9+ ```Python hl_lines="17 22 24-27" {!> ../../docs_src/response_model/tutorial001_py39.py!} ``` //// //// tab | Python 3.8+ ```Python hl_lines="17 22 24-27"
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 7.8K bytes - Viewed (0) -
docs/ja/docs/tutorial/extra-models.md
``` そして呼び出すと: ```Python user_dict = user_in.dict() ``` これで変数`user_dict`のデータを持つ`dict`ができました。(これはPydanticモデルのオブジェクトの代わりに`dict`です)。 そして呼び出すと: ```Python print(user_dict) ``` 以下のようなPythonの`dict`を得ることができます: ```Python { 'username': 'john', 'password': 'secret', 'email': '******@****.***', 'full_name': None, } ``` #### `dict`の展開
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 6.7K bytes - Viewed (0) -
docs/de/docs/advanced/security/oauth2-scopes.md
//// tab | Python 3.10+ ```Python hl_lines="62-65" {!> ../../docs_src/security/tutorial005_an_py310.py!} ``` //// //// tab | Python 3.9+ ```Python hl_lines="62-65" {!> ../../docs_src/security/tutorial005_an_py39.py!} ``` //// //// tab | Python 3.8+ ```Python hl_lines="63-66" {!> ../../docs_src/security/tutorial005_an.py!}
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 22.5K bytes - Viewed (0) -
docs/ko/docs/tutorial/dependencies/classes-as-dependencies.md
따라서, 만약 당신이 `something`(함수가 아닐 수도 있음) 객체를 가지고 있고, ```Python something() ``` 또는 ```Python something(some_argument, some_keyword_argument="foo") ``` 상기와 같은 방식으로 "호출(실행)" 할 수 있다면 "호출 가능"이 됩니다. ## 의존성으로서의 클래스 파이썬 클래스의 인스턴스를 생성하기 위해 사용하는 것과 동일한 문법을 사용한다는 걸 알 수 있습니다. 예를 들어: ```Python class Cat: def __init__(self, name: str): self.name = name
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 7.9K bytes - Viewed (0) -
docs/pt/docs/tutorial/path-operation-configuration.md
//// tab | Python 3.8 and above ```Python hl_lines="3 17" {!> ../../docs_src/path_operation_configuration/tutorial001.py!} ``` //// //// tab | Python 3.9 and above ```Python hl_lines="3 17" {!> ../../docs_src/path_operation_configuration/tutorial001_py39.py!} ``` //// //// tab | Python 3.10 and above ```Python hl_lines="1 15"
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 5.9K bytes - Viewed (0) -
ci/official/containers/linux_arm64/devel.usertools/wheel_verification.bats
# up in teardown_file() above. @test "Wheel is installable" { python3 -m venv /tf/venv source /tf/venv/bin/activate python3 -m pip install --upgrade setuptools wheel python3 -m pip install "$TF_WHEEL" } @test "TensorFlow is importable" { source /tf/venv/bin/activate python3 -c 'import tensorflow as tf; t1=tf.constant([1,2,3,4]); t2=tf.constant([5,6,7,8]); print(tf.add(t1,t2).shape)' }
Registered: Tue Oct 29 12:39:09 UTC 2024 - Last Modified: Tue Jan 23 02:14:00 UTC 2024 - 2.7K bytes - Viewed (0) -
docs/pt/docs/advanced/advanced-dependencies.md
//// tab | Python 3.9+ ```Python hl_lines="9" {!> ../../docs_src/dependencies/tutorial011_an_py39.py!} ``` //// //// tab | Python 3.8+ ```Python hl_lines="8" {!> ../../docs_src/dependencies/tutorial011_an.py!} ``` //// //// tab | Python 3.8+ non-Annotated /// tip | "Dica"
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 4.1K bytes - Viewed (0) -
docs/en/docs/tutorial/extra-models.md
The same way, you can declare responses of lists of objects. For that, use the standard Python `typing.List` (or just `list` in Python 3.9 and above): //// tab | Python 3.9+ ```Python hl_lines="18" {!> ../../docs_src/extra_models/tutorial004_py39.py!} ``` //// //// tab | Python 3.8+ ```Python hl_lines="1 20" {!> ../../docs_src/extra_models/tutorial004.py!} ``` ////
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 7.7K bytes - Viewed (0)