We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a22ccbb commit 07ead6fCopy full SHA for 07ead6f
json_to_models/cli.py
@@ -240,7 +240,7 @@ def set_args(
240
241
self.dict_keys_regex = [re.compile(rf"^{r}$") for r in dict_keys_regex] if dict_keys_regex else ()
242
self.dict_keys_fields = dict_keys_fields or ()
243
- self.preamble = preamble or None
+ self.preamble = preamble.strip() or None
244
self.initialized = True
245
246
@classmethod
0 commit comments