setta 0.0.4.dev0__py3-none-any.whl → 0.0.5.dev0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- setta/__init__.py +1 -1
- setta/code_gen/export_selected.py +14 -11
- setta/static/constants/Settings.json +1 -1
- setta/static/frontend/assets/index-22cb3bcb.css +32 -0
- setta/static/frontend/assets/{index-4c615197.js → index-d8df181b.js} +127 -127
- setta/static/frontend/index.html +2 -2
- setta-0.0.5.dev0.dist-info/METADATA +105 -0
- {setta-0.0.4.dev0.dist-info → setta-0.0.5.dev0.dist-info}/RECORD +12 -12
- setta/static/frontend/assets/index-03be034e.css +0 -32
- setta-0.0.4.dev0.dist-info/METADATA +0 -146
- {setta-0.0.4.dev0.dist-info → setta-0.0.5.dev0.dist-info}/LICENSE +0 -0
- {setta-0.0.4.dev0.dist-info → setta-0.0.5.dev0.dist-info}/WHEEL +0 -0
- {setta-0.0.4.dev0.dist-info → setta-0.0.5.dev0.dist-info}/entry_points.txt +0 -0
- {setta-0.0.4.dev0.dist-info → setta-0.0.5.dev0.dist-info}/top_level.txt +0 -0
setta/__init__.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
__version__ = "0.0.
|
1
|
+
__version__ = "0.0.5.dev0"
|
@@ -266,18 +266,19 @@ class Exporter:
|
|
266
266
|
"section": section_details,
|
267
267
|
"sectionVariant": section_variant,
|
268
268
|
}
|
269
|
+
self.types_to_process = [
|
270
|
+
C.SECTION,
|
271
|
+
C.LIST_ROOT,
|
272
|
+
C.DICT_ROOT,
|
273
|
+
C.GROUP,
|
274
|
+
C.CODE,
|
275
|
+
C.GLOBAL_VARIABLES,
|
276
|
+
]
|
269
277
|
|
270
278
|
def export(self):
|
271
279
|
remove_unneeded_sections(
|
272
280
|
self.p,
|
273
|
-
|
274
|
-
C.SECTION,
|
275
|
-
C.LIST_ROOT,
|
276
|
-
C.DICT_ROOT,
|
277
|
-
C.GROUP,
|
278
|
-
C.CODE,
|
279
|
-
C.GLOBAL_VARIABLES,
|
280
|
-
],
|
281
|
+
self.types_to_process,
|
281
282
|
)
|
282
283
|
self.export_sections(list(self.p["projectConfig"]["children"].keys()))
|
283
284
|
|
@@ -333,10 +334,12 @@ class Exporter:
|
|
333
334
|
children = [
|
334
335
|
c
|
335
336
|
for c in children
|
336
|
-
if get_section_type(self.p, c)
|
337
|
-
|
337
|
+
if get_section_type(self.p, c) in self.types_to_process
|
338
|
+
]
|
339
|
+
# some sections (like CODE) don't get added to self.output
|
340
|
+
info["value"] = [
|
341
|
+
x for x in self.export_sections(children) if x in self.output
|
338
342
|
]
|
339
|
-
info["value"] = self.export_sections(children)
|
340
343
|
info["dependencies"] = info["value"]
|
341
344
|
info[
|
342
345
|
"ref_var_name_positions"
|