parameters: (self, filters=None, **kwargs)
return_statement: return updated_filters
docstring: Apply custom filters for layer.
docstring_summary: Apply custom filters for layer.
docstring_tokens: Apply custom filters for layer .
function: def build_filters(self, filters=None, **kwargs):
          """Apply custom filters for layer."""
          filters = super().build_filters(
              filters, **kwargs)
          # Convert dataset__ filters into dataset_styles__dataset__
          updated_filters = {}
          for key, value in filters.items():
              key = key.replace('dataset__', 'dataset_default_style__')
              updated_filters[key] = value
          return updated_filters
function_tokens: def build_filters ( self , filters = None , * * kwargs ) : filters = super ( ) . build_filters ( filters , * * kwargs ) # Convert dataset__ filters into dataset_styles__dataset__ updated_filters = { } for key , value in filters . items ( ) : key = key . replace ( 'dataset__' , 'dataset_default_style__' ) updated_filters [ key ] = value return updated_filters