code: def filter_by(self, **filters):
          ''' Filter for the names in ``filters`` being equal to the associated
              values.  Cannot be used for sub-objects since keys must be strings'''
          for name, value in filters.items():
              self.filter(resolve_name(self.type, name) == value)
          return self filter_by(self, **filters):
          ''' Filter for the names in ``filters`` being equal to the associated
              values.  Cannot be used for sub-objects since keys must be strings'''
          for name, value in filters.items():
              self.filter(resolve_name(self.type, name) == value)
          return self
docs: Filter for the names in ``filters`` being equal to the associated
              values.  Cannot be used for sub-objects since keys must be strings