async def _update_types_for_paths(self, paths: List[Path], socket_path: Path) -> None:
    new_path_to_location_type_dict = (await self._query_types(paths, socket_path))
    if (new_path_to_location_type_dict is None):
        return
    for (path, location_type_lookup) in new_path_to_location_type_dict.items():
        self.state.path_to_location_type_lookup[path] = location_type_lookup
async def _update_types_for_paths(self, paths: List[Path], socket_path: Path) -> None:
    new_path_to_location_type_dict = (await self._query_types(paths, socket_path))
    if (new_path_to_location_type_dict is None):
        return
    for (path, location_type_lookup) in new_path_to_location_type_dict.items():
        self.state.path_to_location_type_lookup[path] = location_type_lookup