chore: import upstream snapshot with attribution

This commit is contained in:
wehub-resource-sync
2026-07-13 12:42:18 +08:00
commit 05f60106aa
288 changed files with 76871 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
"""Fixture with multiple calls to the same function from one caller."""
async def _internal_request(url: str, data: bytes) -> dict:
return {"url": url}
async def process_document(content: bytes) -> str:
"""Calls _internal_request twice on different lines."""
first = await _internal_request("http://localhost/fast", content)
text = first.get("body", "")
second = await _internal_request("http://localhost/slow", content)
return text or second.get("body", "")