replbase 0.0.36__tar.gz → 0.0.38__tar.gz
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.
- {replbase-0.0.36 → replbase-0.0.38}/PKG-INFO +1 -1
- {replbase-0.0.36 → replbase-0.0.38}/pyproject.toml +1 -1
- {replbase-0.0.36 → replbase-0.0.38}/replbase/cmd_meta.py +5 -1
- {replbase-0.0.36 → replbase-0.0.38}/LICENSE +0 -0
- {replbase-0.0.36 → replbase-0.0.38}/README.md +0 -0
- {replbase-0.0.36 → replbase-0.0.38}/replbase/__init__.py +0 -0
- {replbase-0.0.36 → replbase-0.0.38}/replbase/repl_base.py +0 -0
|
@@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
|
|
|
4
4
|
|
|
5
5
|
[tool.poetry]
|
|
6
6
|
name = "replbase"
|
|
7
|
-
version = "0.0.
|
|
7
|
+
version = "0.0.38"
|
|
8
8
|
description = "\"Combination of other REPL tools into a reusable class that generates a REPL\""
|
|
9
9
|
authors = [ "Joseph Bochinski <stirgejr@gmail.com>",]
|
|
10
10
|
license = "MIT"
|
|
@@ -210,7 +210,7 @@ class CommandMeta:
|
|
|
210
210
|
"store_false" if parm.default is True else "store_true"
|
|
211
211
|
)
|
|
212
212
|
|
|
213
|
-
if arg_type
|
|
213
|
+
if arg_type not in [str, bool]:
|
|
214
214
|
cmd_init["type"] = arg_type
|
|
215
215
|
|
|
216
216
|
if isinstance(arg_type, type) and isinstance(parm.default, arg_type):
|
|
@@ -310,5 +310,9 @@ class CommandMeta:
|
|
|
310
310
|
elif cur_arg:
|
|
311
311
|
args[cur_arg].append(line)
|
|
312
312
|
|
|
313
|
+
for arg, param in self.sig_parms.items():
|
|
314
|
+
if arg not in self.args:
|
|
315
|
+
self.args[arg] = self.get_param_str(param)
|
|
316
|
+
|
|
313
317
|
arg_strs = {arg: "\n".join(lines) for arg, lines in args.items()}
|
|
314
318
|
self.args.update(arg_strs)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|