MCPcopy
hub / github.com/PyGithub/PyGithub / _makeListOfListOfStringsAttribute

Method _makeListOfListOfStringsAttribute

github/GithubObject.py:433–436  ·  view source on GitHub ↗
(
        value: list[list[str]],
    )

Source from the content-addressed store, hash-verified

431
432 @staticmethod
433 def _makeListOfListOfStringsAttribute(
434 value: list[list[str]],
435 ) -> Attribute:
436 return GithubObject.__makeSimpleListAttribute(value, list)
437
438 def _makeListOfClassesAttribute(self, klass: type[T_gh], value: Any) -> Attribute[list[T_gh]]:
439 if isinstance(value, list) and all(isinstance(element, dict) for element in value):

Callers 1

_useAttributesMethod · 0.80

Calls 1

Tested by

no test coverage detected