Skip to content

Commit

Permalink
🔧 Update type checks selector.py
Browse files Browse the repository at this point in the history
  • Loading branch information
shroominic committed Feb 12, 2024
1 parent 609cc4e commit bdab3d8
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/funcchain/parser/selector.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,11 @@ def parser_for(
(output_type is bool)
or (output_type is int)
or (output_type is float)
or ((t := get_origin(output_type)) is list)
or (output_type is dict)
or (output_type is list)
or (output_type is tuple)
or ((t := get_origin(output_type)) is dict)
or (t is list)
or (t is dict)
or (t is set)
or (t is tuple)
or (t is Literal)
or (t is Enum)
Expand Down

0 comments on commit bdab3d8

Please sign in to comment.