code: def resolve(self):
          
          if 'or' not in self.filter_ and 'and' not in self.filter_ and 'not' not in self.filter_:
              value = self.value
  
              if isinstance(value, dict):
                  value = Node(self.related_model, value, self.resource, self.related_schema).resolve()
  
              if '__' in self.filter_.get('name', ''):
                  value = {self.filter_['name'].split('__')[1]: value}
  
              if isinstance(value, dict):
                  return getattr(self.column, self.operator)(**value)
              else:
                  return getattr(self.column, self.operator)(value)
  
          if 'or' in self.filter_:
              return or_(Node(self.model, filt, self.resource, self.schema).resolve() for filt in self.filter_['or'])
          if 'and' in self.filter_:
              return and_(Node(self.model, filt, self.resource, self.schema).resolve() for filt in self.filter_['and'])
          if 'not' in self.filter_:
              return not_(Node(self.model, self.filter_['not'], self.resource, self.schema).resolve())
docs: Create filter for a particular node of the filter tree