def run(self, **kwargs): logging.debug(" ---> Reimporting Stripe history...") Profile.reimport_stripe_history(limit=10, days=1)
def ReimportStripeHistory(): logging.debug(" ---> Reimporting Stripe history...") Profile.reimport_stripe_history(limit=10, days=1)
def handle(self, *args, **options): limit = options.get('limit') days = int(options.get('days')) starting_after = options.get('start') Profile.reimport_stripe_history(limit, days, starting_after)