- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 321 for tutorial007_py310 (0.53 sec)
-
docs/zh/docs/tutorial/body-nested-models.md
对具有子类型的模型属性也使用相同的标准语法。 因此,在我们的示例中,我们可以将 `tags` 明确地指定为一个「字符串列表」: {* ../../docs_src/body_nested_models/tutorial002_py310.py hl[12] *} ## Set 类型 但是随后我们考虑了一下,意识到标签不应该重复,它们很大可能会是唯一的字符串。 Python 具有一种特殊的数据类型来保存一组唯一的元素,即 `set`。 然后我们可以导入 `Set` 并将 `tag` 声明为一个由 `str` 组成的 `set`: {* ../../docs_src/body_nested_models/tutorial003_py310.py hl[12] *} 这样,即使你收到带有重复数据的请求,这些数据也会被转换为一组唯一项。 而且,每当你输出该数据时,即使源数据有重复,它们也将作为一组唯一项输出。Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 6.7K bytes - Viewed (0) -
docs/de/docs/tutorial/path-operation-configuration.md
{* ../../docs_src/path_operation_configuration/tutorial004_py310.py hl[17:25] *} Es wird in der interaktiven Dokumentation verwendet: <img src="/img/tutorial/path-operation-configuration/image02.png"> ## Beschreibung der Response { #response-description } Sie können die Response mit dem Parameter `response_description` beschreiben: {* ../../docs_src/path_operation_configuration/tutorial005_py310.py hl[19] *} /// info | InfoRegistered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 4.7K bytes - Viewed (0) -
docs/ru/docs/tutorial/path-operation-configuration.md
{* ../../docs_src/path_operation_configuration/tutorial004_py310.py hl[17:25] *} Он будет использован в интерактивной документации: <img src="/img/tutorial/path-operation-configuration/image02.png"> ## Описание ответа { #response-description } Вы можете указать описание ответа с помощью параметра `response_description`: {* ../../docs_src/path_operation_configuration/tutorial005_py310.py hl[19] *}Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 6.5K bytes - Viewed (0) -
docs/en/docs/tutorial/path-operation-configuration.md
{* ../../docs_src/path_operation_configuration/tutorial004_py310.py hl[17:25] *} It will be used in the interactive docs: <img src="/img/tutorial/path-operation-configuration/image02.png"> ## Response description { #response-description } You can specify the response description with the parameter `response_description`: {* ../../docs_src/path_operation_configuration/tutorial005_py310.py hl[19] *} /// infoRegistered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 4.1K bytes - Viewed (0) -
docs/en/docs/tutorial/response-model.md
We can instead create an input model with the plaintext password and an output model without it: {* ../../docs_src/response_model/tutorial003_py310.py hl[9,11,16] *} Here, even though our *path operation function* is returning the same input user that contains the password: {* ../../docs_src/response_model/tutorial003_py310.py hl[24] *} ...we declared the `response_model` to be our model `UserOut`, that doesn't include the password:Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 20 15:55:38 UTC 2025 - 15.5K bytes - Viewed (0) -
docs/pt/docs/tutorial/response-model.md
{* ../../docs_src/response_model/tutorial003_py310.py hl[9,11,16] *} Aqui, embora nossa *função de operação de rota* esteja retornando o mesmo usuário de entrada que contém a senha: {* ../../docs_src/response_model/tutorial003_py310.py hl[24] *} ...declaramos o `response_model` como nosso modelo `UserOut`, que não inclui a senha: {* ../../docs_src/response_model/tutorial003_py310.py hl[22] *}Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 17.3K bytes - Viewed (0) -
docs/es/docs/tutorial/path-operation-configuration.md
{* ../../docs_src/path_operation_configuration/tutorial004_py310.py hl[17:25] *} Será usado en la documentación interactiva: <img src="/img/tutorial/path-operation-configuration/image02.png"> ## Descripción del Response { #response-description } Puedes especificar la descripción del response con el parámetro `response_description`: {* ../../docs_src/path_operation_configuration/tutorial005_py310.py hl[19] *} /// info | InformaciónRegistered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 4.3K bytes - Viewed (0) -
docs/pt/docs/tutorial/path-operation-configuration.md
{* ../../docs_src/path_operation_configuration/tutorial004_py310.py hl[17:25] *} Ela será usada nas documentações interativas: <img src="/img/tutorial/path-operation-configuration/image02.png"> ## Descrição da resposta { #response-description } Você pode especificar a descrição da resposta com o parâmetro `response_description`: {* ../../docs_src/path_operation_configuration/tutorial005_py310.py hl[19] *} /// info | InformaçãoRegistered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 4.4K bytes - Viewed (0) -
docs/de/docs/tutorial/response-model.md
{* ../../docs_src/response_model/tutorial003_py310.py hl[9,11,16] *} Obwohl unsere *Pfadoperation-Funktion* hier denselben `user` von der Eingabe zurückgibt, der das Passwort enthält: {* ../../docs_src/response_model/tutorial003_py310.py hl[24] *} ... haben wir deklariert, dass `response_model` das Modell `UserOut` ist, welches das Passwort nicht enthält:Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 24 10:28:19 UTC 2025 - 17.5K bytes - Viewed (0) -
docs/uk/docs/tutorial/response-model.md
{* ../../docs_src/response_model/tutorial003_py310.py hl[9,11,16] *} Тут, навіть якщо *функція операції шляху* повертає об'єкт користувача, який містить пароль: {* ../../docs_src/response_model/tutorial003_py310.py hl[24] *} ...ми оголосили `response_model` як нашу модель `UserOut`, яка не містить пароля: {* ../../docs_src/response_model/tutorial003_py310.py hl[22] *}Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Jun 24 19:14:01 UTC 2025 - 24.8K bytes - Viewed (0)