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

Method get

github/StatsPunchCard.py:67–71  ·  view source on GitHub ↗

Get a specific element.

(self, day: int, hour: int)

Source from the content-addressed store, hash-verified

65 self._dict = {}
66
67 def get(self, day: int, hour: int) -> int:
68 """
69 Get a specific element.
70 """
71 return self._dict[(day, hour)]
72
73 def _useAttributes(self, attributes: Any) -> None:
74 for day, hour, commits in attributes:

Callers 15

sort_classFunction · 0.80
mainFunction · 0.80
resolve_schemaFunction · 0.80
as_python_typeFunction · 0.80
from_class_nameMethod · 0.80
merge_pathsFunction · 0.80
__init__Method · 0.80
create_methodMethod · 0.80
index_fileMethod · 0.80
__init__Method · 0.80
get_schemaMethod · 0.80
get_spec_typesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected