Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Add typing
Mira Szewczyk11ded523c473
diff --git a/saleor/dashboard/payment/forms.py b/saleor/dashboard/payment/forms.pyindex 225aa27937..d30764f5c6 100644--- a/saleor/dashboard/payment/forms.py+++ b/saleor/dashboard/payment/forms.py@@ -13,7 +13,7 @@ TYPE_TO_FIELD = {}-def create_custom_form_field(structure) -> forms.Field:+def create_custom_form_field(structure: Dict[str, str]) -> forms.Field:elem_type = structure["type"]elem_name = structure["name"]elem_value = structure["value"]