stripe: Use comma for collection method Literal values.

This commit is contained in:
Lauryn Menard
2024-06-10 20:35:19 +02:00
committed by Tim Abbott
parent 0c13422c0d
commit 1969698cf6

View File

@@ -914,7 +914,7 @@ class BillingSession(ABC):
)
if charge_automatically:
collection_method: Literal["charge_automatically" | "send_invoice"] = (
collection_method: Literal["charge_automatically", "send_invoice"] = (
"charge_automatically"
)
else:
@@ -3131,7 +3131,7 @@ class BillingSession(ABC):
)
if plan.charge_automatically:
collection_method: Literal["charge_automatically" | "send_invoice"] = (
collection_method: Literal["charge_automatically", "send_invoice"] = (
"charge_automatically"
)
days_until_due = None