We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d6bff1e commit eb05e9eCopy full SHA for eb05e9e
3 files changed
brutils/cep.py
@@ -5,7 +5,7 @@
5
6
from brutils.data.enums import UF
7
from brutils.exceptions import CEPNotFound, InvalidCEP
8
-from brutils.types import Address
+from brutils.schemas import Address
9
10
# FORMATTING
11
############
brutils/types/__init__.py brutils/schemas/__init__.pybrutils/types/__init__.py renamed to brutils/schemas/__init__.py
brutils/schemas/address.py
@@ -0,0 +1,14 @@
1
+from typing import TypedDict
2
+
3
4
+class Address(TypedDict):
+ cep: str
+ logradouro: str
+ complemento: str
+ bairro: str
+ localidade: str
+ uf: str
+ ibge: str
12
+ gia: str
13
+ ddd: str
14
+ siafi: str
0 commit comments