def _create_bundle(self, data):
kwargs = {}<EOL>filters = None<EOL>if isinstance(data, dict):<EOL><INDENT>kwargs.update(<EOL>filters=data.get('<STR_LIT>', None),<EOL>output=data.get('<STR_LIT>', None),<EOL>debug=data.get('<STR_LIT>', None),<EOL>extra=data.get('<STR_LIT>', {}),<EOL>config=data.get('<STR_LIT>', {}),<EOL>depends=data.get('<STR_LIT>', None))<EOL><DEDENT>bundle = Bundle(*list(self._yield_bundle_contents(data)), **kwargs)<EOL>return self._auto_filter_bundle(bundle)<EOL>
Return a bundle initialised by the given dict.