From ee50340b675ac646d383538fc91a2415b1163c25 Mon Sep 17 00:00:00 2001 From: Matin Tamizi Date: Wed, 27 May 2020 20:04:18 -0500 Subject: [PATCH] A commission isn't always related to a transaction The example is when someone orders 2+ replacement cards --- cuenca/resources/commissions.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cuenca/resources/commissions.py b/cuenca/resources/commissions.py index 401397b0..febdd28b 100644 --- a/cuenca/resources/commissions.py +++ b/cuenca/resources/commissions.py @@ -1,4 +1,4 @@ -from typing import ClassVar +from typing import ClassVar, Optional from pydantic.dataclasses import dataclass @@ -9,4 +9,4 @@ class Commission(Transaction, Cacheable): _resource: ClassVar = 'commissions' - related_transaction_uri: str + related_transaction_uri: Optional[str]