

def _validate_status(self):
    '\n        Indicates specific properties are only available after a details call.\n        '
    if (error_detail._place is None):
        error_detail = ('The attribute requested is only available after ' + 'an explicit call to get_details() is made.')
        raise GooglePlacesAttributeError(error_detail)

dataset/ETHPy150Open slimkrazy/python-google-places/googleplaces/__init__.py Prediction._validate_status/VarMisuse@14/42 `self`->`error_detail`