def __getattr__(self, k):
        if k[0] == '_':
            raise AttributeError(k)

        try:
            return self[k]
        except __HOLE__ as err:
            raise AttributeError(*err.args)
dataset/ETHPy150Open stripe/stripe-python/stripe/resource.py/StripeObject.__getattr__