Skip to content

Commit ae62cd3

Browse files
author
octavia-squidington-iii
committed
Auto-fix lint and format issues
1 parent 8de1c6d commit ae62cd3

File tree

1 file changed

+3
-1
lines changed
  • airbyte_cdk/sources/declarative/interpolation

1 file changed

+3
-1
lines changed

airbyte_cdk/sources/declarative/interpolation/jinja.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,9 @@ def _literal_eval(self, result: Optional[str], valid_types: Optional[Tuple[Type[
127127
evaluated = ast.literal_eval(result) # type: ignore # literal_eval is able to handle None
128128
except (ValueError, SyntaxError):
129129
return result
130-
if (not valid_types and not isinstance(evaluated, complex)) or (valid_types and isinstance(evaluated, valid_types)):
130+
if (not valid_types and not isinstance(evaluated, complex)) or (
131+
valid_types and isinstance(evaluated, valid_types)
132+
):
131133
return evaluated
132134
return result
133135

0 commit comments

Comments
 (0)