def get_factory_kwargs(self):
<EOL>for attr in ['<STR_LIT>', '<STR_LIT>', '<STR_LIT>', '<STR_LIT>', '<STR_LIT>',<EOL>'<STR_LIT>', '<STR_LIT>', '<STR_LIT>', '<STR_LIT>']:<EOL><INDENT>if hasattr(self, attr):<EOL><INDENT>klass = type(self).__name__<EOL>raise DeprecationWarning(<EOL>'<STR_LIT>'<EOL>'<STR_LIT>'.format(klass, attr)<EOL>)<EOL><DEDENT><DEDENT>kwargs = self.factory_kwargs.copy()<EOL>if self.get_formset_class():<EOL><INDENT>kwargs['<STR_LIT>'] = self.get_formset_class()<EOL><DEDENT>return kwargs<EOL>
Returns the keyword arguments for calling the formset factory