Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion brutils/cep.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
############
Expand Down
File renamed without changes.
14 changes: 14 additions & 0 deletions brutils/schemas/address.py
Original file line number Diff line number Diff line change
@@ -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