async def _query_modules_of_path(self, path: Path, socket_path: Path) -> Optional[QueryModulesOfPathResponse]:
    return (await self._query_and_interpret_response(f"modules_of_path('{path}')", socket_path, QueryModulesOfPathResponse))
async def _query_modules_of_path(self, path: Path, socket_path: Path) -> Optional[QueryModulesOfPathResponse]:
    return (await self._query_and_interpret_response(f"modules_of_path('{path}')", socket_path, QueryModulesOfPathResponse))