replbase 0.0.3__tar.gz → 0.0.4__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.3 → replbase-0.0.4}/PKG-INFO +1 -1
- {replbase-0.0.3 → replbase-0.0.4}/pyproject.toml +1 -1
- {replbase-0.0.3 → replbase-0.0.4}/replbase/repl_base.py +3 -3
- {replbase-0.0.3 → replbase-0.0.4}/LICENSE +0 -0
- {replbase-0.0.3 → replbase-0.0.4}/README.md +0 -0
- {replbase-0.0.3 → replbase-0.0.4}/replbase/__init__.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.4"
|
|
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"
|
|
@@ -17,7 +17,7 @@ import argparse
|
|
|
17
17
|
import os
|
|
18
18
|
import shlex
|
|
19
19
|
|
|
20
|
-
from dataclasses import dataclass
|
|
20
|
+
from dataclasses import dataclass, field
|
|
21
21
|
from typing import Callable, Literal
|
|
22
22
|
|
|
23
23
|
from prompt_toolkit import PromptSession
|
|
@@ -46,8 +46,8 @@ class ReplCommand:
|
|
|
46
46
|
command: Callable = None
|
|
47
47
|
help_txt: str = ""
|
|
48
48
|
parser: argparse.ArgumentParser = None
|
|
49
|
-
def_args: list =
|
|
50
|
-
def_kwargs: dict =
|
|
49
|
+
def_args: list = field(default_factory=list)
|
|
50
|
+
def_kwargs: dict = field(default_factory=dict)
|
|
51
51
|
|
|
52
52
|
|
|
53
53
|
@dataclass
|
|
File without changes
|
|
File without changes
|
|
File without changes
|