We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
I have defined my lambda function handler as a method on a class. The py file that I want to use as the handler creates an instance of this class.
I want to be able to invoke that method like: python-lambda-local -f instance.method handler.py event.json
python-lambda-local -f instance.method handler.py event.json
class LambdaClass: def lambda_method(self, event, context): ... do stuff instance = LambdaClass()
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
I have defined my lambda function handler as a method on a class. The py file that I want to use as the handler creates an instance of this class.
I want to be able to invoke that method like:
python-lambda-local -f instance.method handler.py event.json
handler.py
The text was updated successfully, but these errors were encountered: