MCPcopy Index your code
hub / github.com/microsoft/playwright-python / short_name

Function short_name

scripts/generate_api.py:201–205  ·  view source on GitHub ↗
(t: Any)

Source from the content-addressed store, hash-verified

199
200
201def short_name(t: Any) -> str:
202 match = cast(
203 Match[str], re.compile(r"playwright\._impl\.[^.]+\.([^']+)").search(str(t))
204 )
205 return match.group(1)
206
207
208def return_value(value: Any) -> List[str]:

Callers 2

generateFunction · 0.90
generateFunction · 0.90

Calls 1

groupMethod · 0.45

Tested by

no test coverage detected