File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -657,7 +657,7 @@ def from_response_json(
657
657
dropped_feature .strip ()
658
658
for dropped_feature in json_decamelized ["dropped_argument_names" ]
659
659
]
660
- if "dropped_argument_names" in json_decamelized
660
+ if json_decamelized . get ( "dropped_argument_names" , None )
661
661
else None
662
662
)
663
663
transformation_function_argument_names = (
@@ -667,15 +667,15 @@ def from_response_json(
667
667
"transformation_function_argument_names"
668
668
]
669
669
]
670
- if "transformation_function_argument_names" in json_decamelized
670
+ if json_decamelized . get ( "transformation_function_argument_names" , None )
671
671
else None
672
672
)
673
673
statistics_features = (
674
674
[
675
675
feature .strip ()
676
676
for feature in json_decamelized ["statistics_argument_names" ]
677
677
]
678
- if "statistics_argument_names" in json_decamelized
678
+ if json_decamelized . get ( "statistics_argument_names" , None )
679
679
else None
680
680
)
681
681
You can’t perform that action at this time.
0 commit comments