uranusjr commented on code in PR #32259:
URL: https://github.com/apache/airflow/pull/32259#discussion_r1247419012


##########
airflow/providers/amazon/aws/hooks/lambda_function.py:
##########
@@ -65,6 +65,9 @@ def invoke_lambda(
         :param payload: The JSON that you want to provide to your Lambda 
function as input.
         :param qualifier: AWS Lambda Function Version or Alias Name
         """
+        if type(payload) == str:

Review Comment:
   ```suggestion
           if isinstance(payload, str):
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to