File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 33
44from sphinx .application import Sphinx
55
6- from idom .core .vdom import SERIALIZED_VDOM_JSON_SCHEMA
6+ from idom .core .vdom import VDOM_JSON_SCHEMA
77
88
99def setup (app : Sphinx ) -> None :
1010 schema_file = Path (__file__ ).parent .parent / "vdom-json-schema.json"
11- current_schema = json .dumps (SERIALIZED_VDOM_JSON_SCHEMA , indent = 2 , sort_keys = True )
11+ current_schema = json .dumps (VDOM_JSON_SCHEMA , indent = 2 , sort_keys = True )
1212
1313 # We need to make this check because the autoreload system for the docs checks
1414 # to see if the file has changed to determine whether to re-build. Thus we should
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ def get(self) -> _O:
2828
2929 def set (self , new : _O ) -> _O :
3030 if self ._immutable :
31- raise TypeError (f"{ self } cannot be modified after initial load. " )
31+ raise TypeError (f"{ self } cannot be modified after initial load" )
3232 old = self ._value
3333 self ._value = self ._validator (new )
3434 return old
Original file line number Diff line number Diff line change 88from .events import EventsMapping
99
1010
11- SERIALIZED_VDOM_JSON_SCHEMA = {
11+ VDOM_JSON_SCHEMA = {
1212 "$schema" : "http://json-schema.org/draft-07/schema" ,
1313 "$ref" : "#/definitions/element" ,
1414 "definitions" : {
6363}
6464
6565
66- validate_serialized_vdom = compile_json_schema (SERIALIZED_VDOM_JSON_SCHEMA )
66+ validate_serialized_vdom = compile_json_schema (VDOM_JSON_SCHEMA )
6767
6868
6969class ImportSourceDict (TypedDict ):
You can’t perform that action at this time.
0 commit comments