Skip to content

Commit 6adee42

Browse files
committed
improves backward compatibility
1 parent 2f49049 commit 6adee42

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

ngwidgets/task_runner.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99
from typing import Callable, Optional
1010

1111
from nicegui import background_tasks
12-
13-
from ngwidgets.persistent_log import Log
12+
from basemkit.persistent_log import Log
1413

1514
# optional generic Progressbar tqdm or nicegui.ui
1615
from ngwidgets.progress import Progressbar

ngwidgets/webserver_test.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
44
@author: wf
55
"""
6-
7-
import json
86
from typing import Any
97
from fastapi.testclient import TestClient
108
from ngwidgets.basetest import Basetest
@@ -54,7 +52,7 @@ def setUp(self, server_class, cmd_class, debug=False, profile=True):
5452
self.config, server_class
5553
) # Instantiate the command class with config and server_class
5654
argv = []
57-
args = self.cmd.cmd_parse(
55+
args = self.cmd.parse_args(
5856
argv
5957
) # Parse the command-line arguments with no arguments passed
6058

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ dependencies = [
2020
# https://pypi.org/project/pybasemkit/
2121
# https://github.com/WolfgangFahl/pybasemkit
2222
# Python base module kit: YAML/JSON I/O, structured logging, CLI tooling, shell execution, and remote pydevd debug support.
23-
"pybasemkit>=0.0.1",
23+
"pybasemkit>=0.0.2",
2424
# orjson
2525
# https://pypi.org/project/orjson/
2626
"orjson>=3.9.10",

0 commit comments

Comments
 (0)