There was an error while loading. Please reload this page.
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()