def __getattr__(self, name):
        """Give StripeItem normal object access to match Stripe behavior."""
        if name in self:
            return self[name]
        else:
            raise AttributeError("No such attribute: " + name)
Give StripeItem normal object access to match Stripe behavior.
tests/__init__.py