equal
deleted
inserted
replaced
322 mapping.update((sourceent.name, source) |
322 mapping.update((sourceent.name, source) |
323 for sourceent, source in self._sources()) |
323 for sourceent, source in self._sources()) |
324 return mapping |
324 return mapping |
325 |
325 |
326 @property |
326 @property |
|
327 @deprecated("[3.25] use source_by_eid(<eid>)") |
327 def sources_by_eid(self): |
328 def sources_by_eid(self): |
328 mapping = {self.system_source.eid: self.system_source} |
329 mapping = {self.system_source.eid: self.system_source} |
329 mapping.update((sourceent.eid, source) |
330 mapping.update((sourceent.eid, source) |
330 for sourceent, source in self._sources()) |
331 for sourceent, source in self._sources()) |
331 return mapping |
332 return mapping |