- Sort Score
- Result 10 results
- Languages All
Results 231 - 240 of 707 for Python (0.09 sec)
-
docs/en/docs/tutorial/body.md
Use standard Python types for all the attributes: {* ../../docs_src/body/tutorial001_py310.py hl[5:9] *} The same as when declaring query parameters, when a model attribute has a default value, it is not required. Otherwise, it is required. Use `None` to make it just optional. For example, this model above declares a JSON "`object`" (or Python `dict`) like: ```JSON { "name": "Foo",Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 20 15:55:38 UTC 2025 - 6.8K bytes - Viewed (0) -
docs/pt/docs/tutorial/request-form-models.md
/// info | Informação Para utilizar formulários, instale primeiramente o <a href="https://github.com/Kludex/python-multipart" class="external-link" target="_blank">`python-multipart`</a>. Certifique-se de criar um [ambiente virtual](../virtual-environments.md){.internal-link target=_blank}, ativá-lo, e então instalar. Por exemplo: ```console $ pip install python-multipart ``` /// /// note | Nota
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Nov 12 16:23:57 UTC 2025 - 2.5K bytes - Viewed (0) -
docs/ja/docs/alternatives.md
Requestsは非常にシンプルかつ直感的なデザインで使いやすく、適切なデフォルト値を設定しています。しかし同時に、非常に強力でカスタマイズも可能です。 公式サイトで以下のように言われているのは、それが理由です。 > Requestsは今までで最もダウンロードされたPythonパッケージである 使い方はとても簡単です。例えば、`GET`リクエストを実行するには、このように書けば良いです: ```Python response = requests.get("http://example.com/some/url") ``` 対応するFastAPIのパスオペレーションはこのようになります: ```Python hl_lines="1" @app.get("/some/url") def read_url(): return {"message": "Hello World"} ```
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Oct 11 17:48:49 UTC 2025 - 31.5K bytes - Viewed (0) -
docs/ja/docs/tutorial/request-forms-and-files.md
# リクエストフォームとファイル `File`と`Form`を同時に使うことでファイルとフォームフィールドを定義することができます。 /// info | 情報 アップロードされたファイルやフォームデータを受信するには、まず<a href="https://andrew-d.github.io/python-multipart/" class="external-link" target="_blank">`python-multipart`</a>をインストールします。 例えば、`pip install python-multipart`のように。 /// ## `File`と`Form`のインポート {* ../../docs_src/request_forms_and_files/tutorial001.py hl[1] *} ## `File`と`Form`のパラメータの定義
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 1.7K bytes - Viewed (0) -
docs/sts/.gitignore
__pycache__/ *.py[cod] *$py.class # C extensions *.so # Distribution / packaging .Python build/ develop-eggs/ dist/ downloads/ eggs/ .eggs/ lib/ lib64/ parts/ sdist/ var/ wheels/ *.egg-info/ .installed.cfg *.egg MANIFEST # PyInstaller # Usually these files are written by a python script from a template # before PyInstaller builds the exe, so as to inject date/other infos into it.
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed Jul 15 11:55:55 UTC 2020 - 1.2K bytes - Viewed (0) -
.github/workflows/docs.yml
- name: Configure JDK uses: actions/setup-java@v5 with: distribution: 'zulu' java-version: 17 - uses: actions/setup-python@v6 with: python-version: 3.x - run: pip install mkdocs-material mkdocs-redirects - name: Generate Docs run: ./test_docs.sh - uses: actions/upload-artifact@v6 with:Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 12 23:30:30 UTC 2025 - 987 bytes - Viewed (0) -
docs/ja/docs/tutorial/extra-data-types.md
* `datetime.datetime`: * Pythonの`datetime.datetime`です。 * リクエストとレスポンスはISO 8601形式の`str`で表現されます: `2008-09-15T15:53:00+05:00` * `datetime.date`: * Pythonの`datetime.date`です。 * リクエストとレスポンスはISO 8601形式の`str`で表現されます: `2008-09-15` * `datetime.time`: * Pythonの`datetime.time`. * リクエストとレスポンスはISO 8601形式の`str`で表現されます: `14:23:55.003` * `datetime.timedelta`: * Pythonの`datetime.timedelta`です。Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 3.2K bytes - Viewed (0) -
docs/en/docs/tutorial/body-nested-models.md
## List fields { #list-fields } You can define an attribute to be a subtype. For example, a Python `list`: {* ../../docs_src/body_nested_models/tutorial001_py310.py hl[12] *} This will make `tags` be a list, although it doesn't declare the type of the elements of the list. ## List fields with type parameter { #list-fields-with-type-parameter } But Python has a specific way to declare lists with internal types, or "type parameters":Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 6.7K bytes - Viewed (0) -
docs/ru/docs/tutorial/body-nested-models.md
## Поля-списки { #list-fields } Вы можете определить атрибут как подтип. Например, Python-тип `list`: {* ../../docs_src/body_nested_models/tutorial001_py310.py hl[12] *} Это приведёт к тому, что `tags` будет списком, несмотря на то, что тип его элементов не объявлен. ## Поля-списки с параметром типа { #list-fields-with-type-parameter } В Python есть специальный способ объявлять списки с внутренними типами, или «параметрами типа»:Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 11.5K bytes - Viewed (0) -
docs/en/docs/reference/status.md
# Status Codes You can import the `status` module from `fastapi`: ```python from fastapi import status ``` `status` is provided directly by Starlette. It contains a group of named constants (variables) with integer status codes. For example: * 200: `status.HTTP_200_OK` * 403: `status.HTTP_403_FORBIDDEN` * etc.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 871 bytes - Viewed (0)