MCPcopy Index your code
hub / github.com/PyGithub/PyGithub / _identity

Method _identity

github/Repository.py:475–480  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

473
474 @property
475 def _identity(self) -> str:
476 if is_undefined(self._owner) or is_undefined(self._name):
477 if is_undefined(self._full_name):
478 return str(self._id.value)
479 return self.full_name
480 return f"{self.owner.login}/{self.name}"
481
482 @property
483 def allow_auto_merge(self) -> bool:

Callers

nothing calls this directly

Calls 1

is_undefinedFunction · 0.90

Tested by

no test coverage detected