From fd78db86d0fe690a1bb277b1a3acb965d3b61c5b Mon Sep 17 00:00:00 2001 From: Leon Haffmans Date: Fri, 19 Jul 2024 12:19:42 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=A9=B9Don't=20make=20field=20nullable=20i?= =?UTF-8?q?f=20default=20value=20is=20present?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/bo4e_generator/parser.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bo4e_generator/parser.py b/src/bo4e_generator/parser.py index 1c85c47..04d2f5b 100644 --- a/src/bo4e_generator/parser.py +++ b/src/bo4e_generator/parser.py @@ -229,6 +229,7 @@ def parse_bo4e_schemas( allow_extra_fields=False, allow_population_by_field_name=True, use_default_kwarg=True, + strict_nullable=True, **additional_arguments, ) parse_result = parser.parse()