Skip to content

Commit

Permalink
MAINT: update parse_type for py3.9 (#765) (#766)
Browse files Browse the repository at this point in the history
Co-authored-by: Evan Bolyen <ebolyen@gmail.com>
  • Loading branch information
lizgehret and ebolyen committed May 2, 2024
1 parent 7b0e435 commit f24fdd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qiime2/core/type/parse.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def _expr(expr):
return _build_predicate(expr.func.id, args, kwargs)

if node is ast.Subscript:
field_expr = expr.slice.value
field_expr = expr.slice

if type(field_expr) is ast.Tuple:
field_expr = field_expr.elts
Expand Down

0 comments on commit f24fdd7

Please sign in to comment.