Skip to content

Commit

Permalink
Update skeleton modifier data to be accurate for new changes
Browse files Browse the repository at this point in the history
  • Loading branch information
digitaldogsbody committed Jun 1, 2023
1 parent 0f06c32 commit 92c3a5c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utils/modify_skeleton.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
{
"description": "Allow extra properties on ManifestRef",
"type": "insert",
"before": "class ManifestRef(Reference):\n type: Optional[constr(regex=r'^Manifest$')] = None\n",
"before": "class ManifestRef(Reference):\n type: constr(regex=r'^Manifest$') = 'Manifest'\n",
"after": "\n\nclass CanvasRef(Reference):",
"data": "\n class Config:\n extra = Extra.allow\n"
},
{
"description": "Re-add RangeRef",
"type": "insert",
"before": "class CanvasRef(Reference):\n type: Optional[constr(regex=r'^Canvas$')] = None\n",
"after": "\n\n",
"after": "\n\nModel.update_forward_refs()",
"data": "\n\nclass RangeRef(Reference):\n type: Optional[constr(regex=r'^Range$')] = None\n"
}
]
Expand Down

0 comments on commit 92c3a5c

Please sign in to comment.