def __getattr__(self, name):
        if name in dir(self.collection):
            attribute = getattr(self.collection, name)

            if inspect.isfunction(attribute):
                attribute = types.MethodType(attribute, self)

            return attribute
        else:
            raise AttributeError(name)
Describes Reserved Instance offerings that are available for purchase.
dataset/ETHPy150Open lvieirajr/mongorest/mongorest/collection.py/CollectionMeta.__getattr__--crossover with--dataset/ETHPy150Open darcyliu/storyboard/boto/ec2/connection.py/EC2Connection.get_all_reserved_instances