Open
Description
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
class LambdaClass:
def lambda_method(self, event, context):
... do stuff
instance = LambdaClass()