async def accessibility_info( self, point: Optional[Tuple[int, int]]) -> AccessibilityInfo: grpc_point = Point(x=point[0], y=point[1]) if point is not None else None response = await self.stub.accessibility_info( AccessibilityInfoRequest(point=grpc_point)) return AccessibilityInfo(json=response.json)
async def accessibility_info(self, point: Optional[Tuple[int, int]], nested: bool) -> AccessibilityInfo: grpc_point = Point(x=point[0], y=point[1]) if point is not None else None response = await self.stub.accessibility_info( AccessibilityInfoRequest( point=grpc_point, format=(AccessibilityInfoRequest.NESTED if nested else AccessibilityInfoRequest.LEGACY), )) return AccessibilityInfo(json=response.json)