dfpyre 0.8.19__py3-none-any.whl → 0.8.20__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.
Potentially problematic release.
This version of dfpyre might be problematic. Click here for more details.
dfpyre/scriptgen.py
CHANGED
|
@@ -80,7 +80,7 @@ def argument_item_to_string(flags: GeneratorFlags, arg_item: object) -> str:
|
|
|
80
80
|
|
|
81
81
|
if isinstance(arg_item, Text):
|
|
82
82
|
literal = str_literal(arg_item.value)
|
|
83
|
-
return f"{class_name}(
|
|
83
|
+
return f"{class_name}({literal}{slot_argument})"
|
|
84
84
|
|
|
85
85
|
if isinstance(arg_item, Number):
|
|
86
86
|
if not is_number(str(arg_item.value)): # Probably a math expression
|
|
@@ -187,7 +187,7 @@ def generate_script(template, flags: GeneratorFlags) -> str:
|
|
|
187
187
|
|
|
188
188
|
# Get codeblock function and start its arguments with the action
|
|
189
189
|
function_name = TEMPLATE_FUNCTION_LOOKUP[codeblock.type]
|
|
190
|
-
function_args = [
|
|
190
|
+
function_args = [str_literal(codeblock.action_name)]
|
|
191
191
|
|
|
192
192
|
# Add variable assignment if necessary
|
|
193
193
|
var_assignment_snippet = ''
|
|
@@ -4,10 +4,10 @@ dfpyre/actiondump.py,sha256=5Q4RmT_DyVbPvkF0AFzMAqtqR1bmqu91yed_pRK5MkU,3571
|
|
|
4
4
|
dfpyre/data/actiondump_min.json,sha256=ZF_Aa6uB1khzsINAEAljCOIMmfh_5ihmBygZSP_bHrs,2482346
|
|
5
5
|
dfpyre/items.py,sha256=zdT_b7D38ofFVEYtjHb6x6IU0XMJJCJPuQUXW5MNsm0,17681
|
|
6
6
|
dfpyre/pyre.py,sha256=T-rnvCgIucWKFdhcRuBM_5NTaszuZ4M2VIcu44jrLIY,26047
|
|
7
|
-
dfpyre/scriptgen.py,sha256=
|
|
7
|
+
dfpyre/scriptgen.py,sha256=NABQKGgnoWZCkV42Av_4Is8CdVCWUt6Wk9-r-F44Als,9742
|
|
8
8
|
dfpyre/style.py,sha256=mLW1CFvvi8_9fk8JaH10I5S4WI0YBdQIXHtI3G_4sR8,980
|
|
9
9
|
dfpyre/util.py,sha256=_ndjGyn_pvMfEBmUjt0ARjYvGZfZz7Av-KSYPmvx0N0,934
|
|
10
|
-
dfpyre-0.8.
|
|
11
|
-
dfpyre-0.8.
|
|
12
|
-
dfpyre-0.8.
|
|
13
|
-
dfpyre-0.8.
|
|
10
|
+
dfpyre-0.8.20.dist-info/LICENSE,sha256=_vuDskB0ja2c-Fgm7Gt8Q8cO9NsLNpZAVyvmZwX7E6o,1060
|
|
11
|
+
dfpyre-0.8.20.dist-info/METADATA,sha256=M0RBjcjMhSPG1nVP5ZGuirKmFMpzrBDpBwRgfQRqr08,11949
|
|
12
|
+
dfpyre-0.8.20.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
13
|
+
dfpyre-0.8.20.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|