MCPcopy Create free account
hub / github.com/Python-Markdown/markdown / linked_obj

Method linked_obj

scripts/griffe_extensions.py:51–53  ·  view source on GitHub ↗

Wrap object name in reference link.

(self, value: str, path: str)

Source from the content-addressed store, hash-verified

49 self.paths = paths
50
51 def linked_obj(self, value: str, path: str) -> str:
52 """ Wrap object name in reference link. """
53 return f'[`{value}`][{path}.{value}]'
54
55 def on_function_instance(self, node: ast.AST | ObjectNode, func: Function, agent: Visitor | Inspector, **kwargs: Any) -> None: # noqa: ARG002
56 """Add table to specified function docstrings."""

Callers 1

on_function_instanceMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected