Skip to content

Commit e5769a6

Browse files
author
Tim Band
committed
type definitions made suitable for Python 3.10
1 parent 5ccec12 commit e5769a6

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

datafaker/serialize_metadata.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
from enum import Enum
21
import parsy
32
from sqlalchemy import Column, Dialect, Engine, ForeignKey, MetaData, Table
43
from sqlalchemy.dialects import oracle, postgresql
@@ -7,8 +6,8 @@
76

87
from datafaker.utils import make_foreign_key_name
98

10-
type table_component_t = dict[str, any]
11-
type table_t = dict[str, table_component_t]
9+
table_component_t = dict[str, any]
10+
table_t = dict[str, table_component_t]
1211

1312
def simple(type_):
1413
"""

0 commit comments

Comments
 (0)