Skip to content

Commit eb05e9e

Browse files
fix(import): corrigir conflito entre módulo local types e módulo padrão types (#647)
Co-authored-by: Maria Antônia Maia <mdeazevedomaia@gmail.com>
1 parent d6bff1e commit eb05e9e

3 files changed

Lines changed: 15 additions & 1 deletion

File tree

brutils/cep.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
from brutils.data.enums import UF
77
from brutils.exceptions import CEPNotFound, InvalidCEP
8-
from brutils.types import Address
8+
from brutils.schemas import Address
99

1010
# FORMATTING
1111
############

brutils/schemas/address.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
from typing import TypedDict
2+
3+
4+
class Address(TypedDict):
5+
cep: str
6+
logradouro: str
7+
complemento: str
8+
bairro: str
9+
localidade: str
10+
uf: str
11+
ibge: str
12+
gia: str
13+
ddd: str
14+
siafi: str

0 commit comments

Comments
 (0)