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

Method is_github_object_property

scripts/openapi.py:369–370  ·  view source on GitHub ↗
(cls, func_def: cst.FunctionDef)

Source from the content-addressed store, hash-verified

367
368 @classmethod
369 def is_github_object_property(cls, func_def: cst.FunctionDef):
370 return cls.contains_decorator(func_def.decorators, "property")
371
372 @staticmethod
373 def get_decorators(decorators: Sequence[cst.Decorator], decorator_name: str) -> list[dict[str, Any]]:

Callers 3

visit_FunctionDefMethod · 0.80
leave_FunctionDefMethod · 0.80
find_method_indexMethod · 0.80

Calls 1

contains_decoratorMethod · 0.45

Tested by

no test coverage detected