

def check_required(self):
    "\n        Iterate over arguments, checking if they're required, otherwise\n        populating the kwargs dictionary with their defaults.\n        "
    for argument in self.arguments:
        if self.required:
            raise ArgumentRequiredError(argument, self.tagname)
        else:
            self.kwargs[argument.name] = argument.get_default()

dataset/ETHPy150Open ojii/django-classy-tags/classytags/parser.py Parser.check_required/VarMisuse@22/68 `argument`->`self`