]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commitdiff
🔥 Remove/clean extra imports from examples in docs for features (#3709)
authorSebastián Ramírez <tiangolo@gmail.com>
Tue, 17 Aug 2021 20:00:29 +0000 (22:00 +0200)
committerGitHub <noreply@github.com>
Tue, 17 Aug 2021 20:00:29 +0000 (20:00 +0000)
docs/en/docs/features.md
docs/es/docs/features.md
docs/fr/docs/features.md
docs/ja/docs/features.md
docs/pt/docs/features.md
docs/zh/docs/features.md

index 0ca7902aaca37adc7ee6eef39c5d3c4f3d0067fc..c92795d4a7ced09d2eada6f5b63504e86eba9ade 100644 (file)
@@ -32,7 +32,6 @@ If you need a 2 minute refresher of how to use Python types (even if you don't u
 You write standard Python with types:
 
 ```Python
-from typing import List, Dict
 from datetime import date
 
 from pydantic import BaseModel
index 4e7453566a2ae6f8b640bd0e52051887e6cbb867..945b2cc9438de6fcf848f9b5c86228fe31112752 100644 (file)
@@ -32,7 +32,6 @@ Si necesitas un repaso de 2 minutos de cómo usar los tipos de Python (así no u
 Escribes Python estándar con tipos así:
 
 ```Python
-from typing import List, Dict
 from datetime import date
 
 from pydantic import BaseModel
index d669220a6216aeb152b210c6da23f3032301a70f..4d8f18403a0d022a484c39178198f7ad8ff7588d 100644 (file)
@@ -32,7 +32,6 @@ Si vous souhaitez un rappel de 2 minutes sur l'utilisation des types en Python (
 Vous écrivez du python standard avec des annotations de types:
 
 ```Python
-from typing import List, Dict
 from datetime import date
 
 from pydantic import BaseModel
index 4ae9c71f6c28d8aa529dc1a6e68500d4fe0f6948..2c406f4819d8ee4147f3c49d9d8c0dac27b35ea3 100644 (file)
@@ -31,7 +31,6 @@ FastAPIの機能はすべて、標準のPython 3.6型宣言に基づいていま
 型を使用した標準的なPythonを記述します:
 
 ```Python
-from typing import List, Dict
 from datetime import date
 
 from pydantic import BaseModel
index 51a57d96efba139a4a09bad32e60f877cf7aad89..20014fe2df2b9a934e474ef345756ef9cec277b0 100644 (file)
@@ -32,7 +32,6 @@ Se você precisa refrescar a memória rapidamente sobre como usar tipos do Pytho
 Você escreve Python padrão com tipos:
 
 ```Python
-from typing import List, Dict
 from datetime import date
 
 from pydantic import BaseModel
index d41509435811ef9e2c314ecb782499be910416f0..4752947a3990a953f92e6f2c22d068af955f23a3 100644 (file)
@@ -33,7 +33,6 @@
 编写带有类型标注的标准 Python:
 
 ```Python
-from typing import List, Dict
 from datetime import date
 
 from pydantic import BaseModel