jegesh / python-sqs-listener

A simple wrapper for boto3 for listening, and sending, to an AWS SQS queue
Other
154 stars 72 forks source link

UnboundLocalError: local variable 'boto3_session' referenced before assignment #53

Closed SohailChamadia-everestek closed 2 years ago

SohailChamadia-everestek commented 2 years ago

The newly added support for passing the AWS access credentials as keyword arguments in case it is not passed through environment variables

https://github.com/jegesh/python-sqs-listener/pull/34

Need to handle the if loop for boto3_session since it is initialized conditionally

caioluciofc commented 2 years ago

Got the same bug, downgraded to 0.8.7, worked fine. :)

dashsatish commented 2 years ago

@jegesh this is breaking in 0.8.9.

jegesh commented 2 years ago

Thanks all for the heads up, I'll try to get a fix in tonight

jegesh commented 2 years ago

Fixed in v0.8.10