Skip to content

Commit 346cc58

Browse files
devin-ai-integration[bot]bot_apk
andcommitted
fix: update inline comment per Copilot review suggestion
Co-Authored-By: bot_apk <apk@cognition.ai>
1 parent b13ad62 commit 346cc58

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • airbyte_cdk/sources/declarative/interpolation

airbyte_cdk/sources/declarative/interpolation/jinja.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ def eval(
124124

125125
def _literal_eval(self, result: Optional[str], valid_types: Optional[Tuple[Type[Any]]]) -> Any:
126126
try:
127-
evaluated = ast.literal_eval(result) # type: ignore # literal_eval is able to handle None
127+
evaluated = ast.literal_eval(result) # type: ignore # result may be None; on error we return it unchanged
128128
except (ValueError, SyntaxError, TypeError):
129129
return result
130130
if (not valid_types and not isinstance(evaluated, complex)) or (

0 commit comments

Comments
 (0)