@classmethod
    def object_to_invoice(cls, manager, data):
        return manager.get_by_json(data, "invoice") if "invoice" in data else None
GET the flag view: render a confirmation page.
dataset/ETHPy150Open pydanny/dj-stripe/djstripe/stripe_objects.py/StripeCharge.object_to_invoice--crossover with--dataset/ETHPy150Open dcramer/django-compositepks/tests/regressiontests/comment_tests/tests/moderation_view_tests.py/FlagViewTests.testFlagGet