We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cd1f06e commit aec5afdCopy full SHA for aec5afd
CHANGELOG.txt
@@ -1,6 +1,8 @@
1
=== UNRELEASED
2
3
* Fix nested oneOf and anyOf
4
+* Fix if-else block in anyOf block
5
+* Add option to pass custom formats in generated code
6
7
8
=== 2.15.1 (2021-05-05)
fastjsonschema/draft07.py
@@ -46,7 +46,7 @@ def generate_if_then_else(self):
46
47
Valid values are any between -10 and 0 or any multiplication of two.
48
"""
49
- with self.l('try:'):
+ with self.l('try:', optimize=False):
50
self.generate_func_code_block(
51
self._definition['if'],
52
self._variable,
0 commit comments