easywebassets/package.py
def _create_bundle(self, data):
        """Return a bundle initialised by the given dict."""
        kwargs = {}
        filters = None
        if isinstance(data, dict):
            kwargs.update(
                filters=data.get('filters', None),
                output=data.get('output', None),
                debug=data.get('debug', None),
                extra=data.get('extra', {}),
                config=data.get('config', {}),
                depends=data.get('depends', None))
        bundle = Bundle(*list(self._yield_bundle_contents(data)), **kwargs)
        return self._auto_filter_bundle(bundle)
def _create_bundle(self, data):
        """Return a bundle initialised by the given dict."""
        kwargs = {}
        filters = None
        if isinstance(data, dict):
            kwargs.update(
                filters=data.get('filters', None),
                output=data.get('output', None),
                debug=data.get('debug', None),
                extra=data.get('extra', {}),
                config=data.get('config', {}),
                depends=data.get('depends', None))
        bundle = Bundle(*list(self._yield_bundle_contents(data)), **kwargs)
        return self._auto_filter_bundle(bundle)
Return a bundle initialised by the given dict.