-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path__init__.py
More file actions
24 lines (18 loc) · 822 Bytes
/
__init__.py
File metadata and controls
24 lines (18 loc) · 822 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
from .json_parsing import GetJsonListItem, GetJsonProperty, ParseJsonString
from .free_boxes import ExtractBoundingBox, ExtractBoundingBoxFromBoxInputs
WEB_DIRECTORY = "./web"
NODE_CLASS_MAPPINGS = {
"ParseJsonString": ParseJsonString,
"GetJsonProperty": GetJsonProperty,
"GetJsonListItem": GetJsonListItem,
"ExtractBoundingBox": ExtractBoundingBox,
"ExtractBoundingBoxFromBoxInputs": ExtractBoundingBoxFromBoxInputs,
}
NODE_DISPLAY_NAME_MAPPINGS = {
"ParseJsonString": "Parse JSON String",
"GetJsonProperty": "Get JSON Property",
"GetJsonListItem": "Get JSON List Item",
"ExtractBoundingBox": "Extract Bounding Box",
"ExtractBoundingBoxFromBoxInputs": "Extract Bounding Box From Box Inputs",
}
__all__ = ["NODE_CLASS_MAPPINGS", "NODE_DISPLAY_NAME_MAPPINGS", "WEB_DIRECTORY"]