docs: def get_sources(self, resources):
          """ Filter resources based on which have this reference """
  
          rtype = self.rtype  # E.g. category
          label = self.props.label  # E.g. category1
          result = [
              resource
              for resource in resources.values()
              if is_reference_target(resource, rtype, label)
          ]
          return result