- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 874 for Pythons (0.18 sec)
-
docs/zh/docs/tutorial/schema-extra-example.md
比如,你可以将请求体的一个 `example` 传递给 `Body`: //// tab | Python 3.10+ ```Python hl_lines="22-27" {!> ../../docs_src/schema_extra_example/tutorial003_an_py310.py!} ``` //// //// tab | Python 3.9+ ```Python hl_lines="22-27" {!> ../../docs_src/schema_extra_example/tutorial003_an_py39.py!} ``` //// //// tab | Python 3.8+ ```Python hl_lines="23-28"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 3.5K bytes - Viewed (0) -
.github/workflows/publish.yml
GITHUB_CONTEXT: ${{ toJson(github) }} run: echo "$GITHUB_CONTEXT" - uses: actions/checkout@v4 - name: Set up Python uses: actions/setup-python@v5 with: python-version: "3.10" # Issue ref: https://github.com/actions/setup-python/issues/436 # cache: "pip" # cache-dependency-path: pyproject.toml - name: Install build dependencies
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Nov 01 11:19:50 UTC 2024 - 1K bytes - Viewed (0) -
docs/tr/docs/tutorial/request-forms.md
//// tab | Python 3.9+ ```Python hl_lines="9" {!> ../../docs_src/request_forms/tutorial001_an_py39.py!} ``` //// //// tab | Python 3.8+ ```Python hl_lines="8" {!> ../../docs_src/request_forms/tutorial001_an.py!} ``` //// //// tab | Python 3.8+ non-Annotated /// tip Prefer to use the `Annotated` version if possible. /// ```Python hl_lines="7"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 3.8K bytes - Viewed (0) -
docs/pt/docs/advanced/settings.md
</div> //// ### Lendo variáveis de ambiente com Python Você também pode criar variáveis de ambiente fora do Python, no terminal (ou com qualquer outro método), e realizar a leitura delas no Python. Por exemplo, você pode definir um arquivo `main.py` com o seguinte código: ```Python hl_lines="3" import os name = os.getenv("MY_NAME", "World") print(f"Hello {name} from Python") ``` /// dica
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 17K bytes - Viewed (0) -
docs/ru/docs/tutorial/extra-data-types.md
## Пример Вот пример *операции пути* с параметрами, который демонстрирует некоторые из вышеперечисленных типов. //// tab | Python 3.8 и выше ```Python hl_lines="1 3 12-16" {!> ../../docs_src/extra_data_types/tutorial001.py!} ``` //// //// tab | Python 3.10 и выше ```Python hl_lines="1 2 11-15" {!> ../../docs_src/extra_data_types/tutorial001_py310.py!} ``` ////
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 4.7K bytes - Viewed (0) -
docs/zh/docs/tutorial/encoder.md
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 1.7K bytes - Viewed (0) -
docs/de/docs/tutorial/request-forms.md
Z. B. `pip install python-multipart`. /// ## `Form` importieren Importieren Sie `Form` von `fastapi`: //// tab | Python 3.9+ ```Python hl_lines="3" {!> ../../docs_src/request_forms/tutorial001_an_py39.py!} ``` //// //// tab | Python 3.8+ ```Python hl_lines="1"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 3.6K bytes - Viewed (0) -
docs/en/docs/tutorial/query-params.md
## Optional parameters The same way, you can declare optional query parameters, by setting their default to `None`: //// tab | Python 3.10+ ```Python hl_lines="7" {!> ../../docs_src/query_params/tutorial002_py310.py!} ``` //// //// tab | Python 3.8+ ```Python hl_lines="9" {!> ../../docs_src/query_params/tutorial002.py!} ``` ////
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 5.1K bytes - Viewed (0) -
docs/ja/docs/tutorial/query-params-str-validations.md
なので: ```Python q: Optional[str] = Query(default=None) ``` ...を以下と同じようにパラメータをオプションにします: ```Python q: Optional[str] = None ``` しかし、これはクエリパラメータとして明示的に宣言しています。 /// info | "情報" FastAPIは以下の部分を気にすることを覚えておいてください: ```Python = None ``` もしくは: ```Python = Query(default=None) ``` そして、 `None` を利用することでクエリパラメータが必須ではないと検知します。
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 10.5K bytes - Viewed (0) -
docs/ru/docs/index.md
Вы делаете это используя стандартную современную типизацию Python. Вам не нужно изучать новый синтаксис, методы или классы конкретной библиотеки и т. д. Только стандартный **Python**. Например, для `int`: ```Python item_id: int ``` или для более сложной модели `Item`: ```Python item: Item ``` ... и с этим единственным объявлением вы получаете:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 20 19:20:23 UTC 2024 - 25.8K bytes - Viewed (0)