- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 82 for chaves (0.2 sec)
-
docs/pt/docs/tutorial/body-nested-models.md
Você também pode declarar um corpo como um `dict` com chaves de algum tipo e valores de outro tipo. Sem ter que saber de antemão quais são os nomes de campos/atributos válidos (como seria o caso dos modelos Pydantic). Isso seria útil se você deseja receber chaves que ainda não conhece. --- Outro caso útil é quando você deseja ter chaves de outro tipo, por exemplo, `int`. É isso que vamos ver aqui.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 7.4K bytes - Viewed (0) -
docs/pt/docs/tutorial/extra-models.md
} ``` #### Desembrulhando um `dict` Se tomarmos um `dict` como `user_dict` e passarmos para uma função (ou classe) com `**user_dict`, o Python irá "desembrulhá-lo". Ele passará as chaves e valores do `user_dict` diretamente como argumentos chave-valor. Então, continuando com o `user_dict` acima, escrevendo: ```Python UserInDB(**user_dict) ``` Resultaria em algo equivalente a: ```Python UserInDB(
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 7.8K bytes - Viewed (0) -
docs/pt/docs/features.md
"name": "Mary", "joined": "2018-11-30", } my_second_user: User = User(**second_user_data) ``` !!! info `**second_user_data` quer dizer: Passe as chaves e valores do dicionário `second_user_data` diretamente como argumentos chave-valor, equivalente a: `User(id=4, name="Mary", joined="2018-11-30")` ### Suporte de editores
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 10.4K bytes - Viewed (0) -
docs/pt/docs/python-types.md
O primeiro parâmetro de tipo é para as chaves do `dict`. O segundo parâmetro de tipo é para os valores do `dict`: ```Python hl_lines="1 4" {!../../../docs_src/python_types/tutorial008.py!} ``` Isso significa que: * A variável `prices` é um dict`: * As chaves deste `dict` são do tipo `str` (digamos, o nome de cada item).
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 9.6K bytes - Viewed (0) -
docs/pt/docs/tutorial/body-multiple-params.md
Por exemplo, extendendo o modelo anterior, você poder decidir por ter uma outra chave `importance` no mesmo corpo, além de `item` e `user`. Se você declará-lo como é, porque é um valor singular, o **FastAPI** assumirá que se trata de um parâmetro de consulta. Mas você pode instruir o **FastAPI** para tratá-lo como outra chave do corpo usando `Body`: === "Python 3.8+" ```Python hl_lines="22"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 6K bytes - Viewed (0) -
docs/pt/docs/tutorial/schema-extra-example.md
### `Body` com vários `examples` Alternativamente ao único `example`, você pode passar `examples` usando um `dict` com **vários examples**, cada um com informações extras que serão adicionadas no **OpenAPI** também. As chaves do `dict` identificam cada exemplo, e cada valor é outro `dict`. Cada `dict` de exemplo específico em `examples` pode conter: * `summary`: Pequena descrição do exemplo.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 6.1K bytes - Viewed (0) -
RELEASE.md
# Release 2.17.0 ## TensorFlow <INSERT SMALL BLURB ABOUT RELEASE FOCUS AREA AND POTENTIAL TOOLCHAIN CHANGES> ### Breaking Changes * <DOCUMENT BREAKING CHANGES HERE> * <THIS SECTION SHOULD CONTAIN API, ABI AND BEHAVIORAL BREAKING CHANGES> ### Known Caveats * <CAVEATS REGARDING THE RELEASE (BUT NOT BREAKING CHANGES).> * <ADDING/BUMPING DEPENDENCIES SHOULD GO HERE> * <KNOWN LACK OF SUPPORT ON SOME PLATFORM, SHOULD GO HERE>
Plain Text - Registered: Tue May 07 12:40:20 GMT 2024 - Last Modified: Mon Apr 29 19:17:57 GMT 2024 - 727.7K bytes - Viewed (8) -
CONTRIBUTING.md
- Read the [Code of Conduct](CODE_OF_CONDUCT.md). - Ensure you have signed the [Contributor License Agreement (CLA)](https://cla.developers.google.com/). - Check if your changes are consistent with the [guidelines](#general-guidelines-and-philosophy-for-contribution). - Changes are consistent with the [Coding Style](#c-coding-style). - Run the [unit tests](#running-unit-tests).
Plain Text - Registered: Tue May 07 12:40:20 GMT 2024 - Last Modified: Thu Mar 21 11:45:51 GMT 2024 - 15.6K bytes - Viewed (0) -
.cm/complex_changes.cm
- commit - comment_added automations: # If a PR is very complex, require 2 approvals complex_changes: if: - {{ ('complex_changes' | isEnabledAutomation(pr)) }} - {{ branch | estimatedReviewTime >= 40 }} - {{ files | length >= 35 }} - {{ includes_src_changes }} run: - action: set-required-approvals@v1 args: approvals: 2
Plain Text - Registered: Wed May 08 11:36:15 GMT 2024 - Last Modified: Fri Apr 12 13:42:16 GMT 2024 - 1.7K bytes - Viewed (0) -
docs/zh/docs/contributing.md
```console $ python ./scripts/docs.py live <span style="color: green;">[INFO]</span> Serving on http://127.0.0.1:8008 <span style="color: green;">[INFO]</span> Start watching changes <span style="color: green;">[INFO]</span> Start detecting changes ``` </div> 文档服务将运行在 `http://127.0.0.1:8008`。 这样,你可以编辑文档 / 源文件并实时查看更改。 !!! tip 或者你也可以手动执行和该脚本一样的操作 进入语言目录,如果是英文文档,目录则是 `docs/en/`:
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Wed Mar 13 11:57:21 GMT 2024 - 12.9K bytes - Viewed (0)