We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4db773d commit 3686af4Copy full SHA for 3686af4
src/pyjuice/layer/input_layer.py
@@ -1107,7 +1107,7 @@ def parse_source(src, get_signature = False):
1107
lambda str: str.strip(" "),
1108
filter(lambda arg: arg.split(":")[0].strip(" ") not in sub_fns, fn_args)
1109
))
1110
- seed_str = f"_{random.randint(0,1e8)}"
+ seed_str = f"_{random.randint(0,int(1e8))}"
1111
new_fn_header = fn_name + seed_str + "(" + ",".join(fn_args) + "):"
1112
global_key = fn_name.split("def")[1].strip(" ") + seed_str
1113
@@ -1153,4 +1153,4 @@ def parse_source(src, get_signature = False):
1153
# Make a pseudo-function from the source code
1154
new_fn = make_function_from_src(new_src)
1155
1156
- return FastJITFunction(new_fn)
+ return FastJITFunction(new_fn)
0 commit comments