diff --git a/brutils/cep.py b/brutils/cep.py index 89892ec2..c6837a98 100644 --- a/brutils/cep.py +++ b/brutils/cep.py @@ -5,7 +5,7 @@ from brutils.data.enums import UF from brutils.exceptions import CEPNotFound, InvalidCEP -from brutils.types import Address +from brutils.schemas import Address # FORMATTING ############ diff --git a/brutils/types/__init__.py b/brutils/schemas/__init__.py similarity index 100% rename from brutils/types/__init__.py rename to brutils/schemas/__init__.py diff --git a/brutils/schemas/address.py b/brutils/schemas/address.py new file mode 100644 index 00000000..3945c2d1 --- /dev/null +++ b/brutils/schemas/address.py @@ -0,0 +1,14 @@ +from typing import TypedDict + + +class Address(TypedDict): + cep: str + logradouro: str + complemento: str + bairro: str + localidade: str + uf: str + ibge: str + gia: str + ddd: str + siafi: str