Skip to content

Commit 8f9259a

Browse files
committed
Update typing to annotated_resource.type_resolution.SIMPLE_TYPE_MAP
1 parent f9f1906 commit 8f9259a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/odin/annotated_resource/type_resolution.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ def construct_field(self) -> Field:
147147
raise ResourceDefError(msg)
148148

149149

150-
SIMPLE_TYPE_MAP = {
150+
SIMPLE_TYPE_MAP: dict[type, type[Field] | functools.partial] = {
151151
bool: BooleanField,
152152
datetime.date: DateField,
153153
datetime.datetime: DateTimeField,

0 commit comments

Comments
 (0)