]> git.ipfire.org Git - thirdparty/python-fints.git/commitdiff
Update formals.py 74/head
authorHenryk Plötz <henryk@ploetzli.ch>
Sat, 8 Jun 2019 14:41:21 +0000 (16:41 +0200)
committerGitHub <noreply@github.com>
Sat, 8 Jun 2019 14:41:21 +0000 (16:41 +0200)
Set properties of SupportedMessageTypes to match the spec (max_length, max_count, required)

fints/formals.py

index 2bd5548e7ddddc9a3fb75110c55b093adceaeb34..cde95f6becde414f805881751272484e77f0cf09 100644 (file)
@@ -960,5 +960,4 @@ class SupportedMessageTypes(DataElementGroup):
 
     Source:  Messages - Multibankfähige Geschäftsvorfälle (SEPA) - C.2.3.1.1.1
     """
-    expected_type = AlphanumericField(_d='Unterstützte camt-messages')
-    # TODO: Support passing an arbitrary number of values here
+    expected_type = AlphanumericField(max_length=256, max_count=99, required=True, _d='Unterstützte camt-messages')