code: def set_references(self, references):
          
          context_info = references.get_one_optional(Descriptor("pip-services", "context-info", "*", "*", "1.0"))
          if context_info != None and self._source == None:
              self._source = context_info.get_name()
docs: Sets references to dependent components.
  
          :param references: references to locate the component dependencies.