Skip to content

Commit 1bd3c56

Browse files
vipbhardwajCopilot
andauthored
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent f68076d commit 1bd3c56

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

client/src/cbltest/api/syncgateway.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2087,7 +2087,9 @@ async def wait_for_import_count(
20872087
"""
20882088
import_count = 0
20892089
for _ in range(max_retries):
2090-
expvars = cast(dict, await self._send_request("get", "/_expvar"))
2090+
resp_data = await self._send_request("get", "/_expvar")
2091+
assert isinstance(resp_data, dict)
2092+
expvars = cast(dict, resp_data)
20912093
import_count = (
20922094
expvars.get("syncgateway", {})
20932095
.get("per_db", {})

0 commit comments

Comments
 (0)