def handle_undefined_name(self, name: str) -> Value:
    if self.should_suppress_undefined_names:
        return AnyValue(AnySource.inference)
    self.show_error(f'Undefined name {name!r} used in annotation', ErrorCode.undefined_name)
    return AnyValue(AnySource.error)
def handle_undefined_name(self, name: str) -> Value:
    if self.should_suppress_undefined_names:
        return AnyValue(AnySource.inference)
    self.show_error(f'Undefined name {name!r} used in annotation', ErrorCode.undefined_name)
    return AnyValue(AnySource.error)