Add *args and **kwargs to make typecheckers and linters happy.

This commit is contained in:
Emil Stenström 2022-12-13 12:30:56 +01:00
parent af6a0e5917
commit b2a328d9ab

View file

@ -55,7 +55,7 @@ class Component(metaclass=SimplifiedInterfaceMediaDefiningClass):
self.instance_template = None
self.slots = {}
def get_context_data(self):
def get_context_data(self, *args, **kwargs):
return {}
def get_template_name(self, context=None):