From: Henryk Plötz Date: Sat, 8 Jun 2019 14:41:21 +0000 (+0200) Subject: Update formals.py X-Git-Tag: v2.2.0~10^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8883e4b73fe955ec03b9812884254996280c1f79;p=thirdparty%2Fpython-fints.git Update formals.py Set properties of SupportedMessageTypes to match the spec (max_length, max_count, required) --- diff --git a/fints/formals.py b/fints/formals.py index 2bd5548..cde95f6 100644 --- a/fints/formals.py +++ b/fints/formals.py @@ -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')