Commit 8d0dca0
James Chapman
Guarded the allOf attribute lookup in resources.py using Python's hasattr built-in function:
if hasattr(resource_template, "allOf") and resource_template.allOf is not None:1 parent 4eca9fe commit 8d0dca0
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
116 | | - | |
| 116 | + | |
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
| |||
0 commit comments