ae-base 0.3.63__py3-none-any.whl → 0.3.64__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.
- ae/base.py +10 -15
- {ae_base-0.3.63.dist-info → ae_base-0.3.64.dist-info}/METADATA +4 -4
- ae_base-0.3.64.dist-info/RECORD +7 -0
- ae_base-0.3.63.dist-info/RECORD +0 -7
- {ae_base-0.3.63.dist-info → ae_base-0.3.64.dist-info}/WHEEL +0 -0
- {ae_base-0.3.63.dist-info → ae_base-0.3.64.dist-info}/licenses/LICENSE.md +0 -0
- {ae_base-0.3.63.dist-info → ae_base-0.3.64.dist-info}/top_level.txt +0 -0
- {ae_base-0.3.63.dist-info → ae_base-0.3.64.dist-info}/zip-safe +0 -0
ae/base.py
CHANGED
|
@@ -171,7 +171,7 @@ from types import ModuleType
|
|
|
171
171
|
from typing import Any, Callable, Generator, Iterable, MutableMapping, Optional, Union, cast
|
|
172
172
|
|
|
173
173
|
|
|
174
|
-
__version__ = '0.3.
|
|
174
|
+
__version__ = '0.3.64'
|
|
175
175
|
|
|
176
176
|
|
|
177
177
|
os_path_abspath = os.path.abspath
|
|
@@ -1249,30 +1249,25 @@ def write_file(file_path: str, content: Union[str, bytes],
|
|
|
1249
1249
|
class ErrorMsgMixin: # pylint: disable=too-few-public-methods
|
|
1250
1250
|
""" mixin class providing sophisticated error message handling. """
|
|
1251
1251
|
_err_msg: str = ""
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
po = print
|
|
1255
|
-
dpo = print
|
|
1256
|
-
vpo = print
|
|
1252
|
+
main_app = None
|
|
1253
|
+
po = dpo = vpo = print
|
|
1257
1254
|
|
|
1258
1255
|
def __init__(self):
|
|
1259
1256
|
try:
|
|
1260
1257
|
from ae.core import main_app_instance # type: ignore # pylint: disable=import-outside-toplevel
|
|
1261
1258
|
|
|
1262
|
-
self.
|
|
1263
|
-
assert
|
|
1259
|
+
self.main_app = main_app = main_app_instance()
|
|
1260
|
+
assert main_app is not None, f"{self.__class__.__name__}.__init__() called too early; main app instance not"
|
|
1264
1261
|
|
|
1265
|
-
self.po =
|
|
1266
|
-
self.dpo =
|
|
1267
|
-
self.vpo =
|
|
1262
|
+
self.po = main_app.po
|
|
1263
|
+
self.dpo = main_app.dpo
|
|
1264
|
+
self.vpo = main_app.vpo
|
|
1268
1265
|
|
|
1269
1266
|
except (ImportError, AssertionError, Exception) as exc: # pylint: disable=broad-except
|
|
1270
1267
|
print(f"{self.__class__.__name__}.__init__() raised {exc}; using print() instead of main app error loggers")
|
|
1271
1268
|
|
|
1272
|
-
# self.
|
|
1273
|
-
# self.po = print
|
|
1274
|
-
# self.dpo = print
|
|
1275
|
-
# self.vpo = print
|
|
1269
|
+
# self.main_app = None
|
|
1270
|
+
# self.po = self.dpo = self.vpo = print
|
|
1276
1271
|
|
|
1277
1272
|
@property
|
|
1278
1273
|
def error_message(self) -> str:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ae_base
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.64
|
|
4
4
|
Summary: ae namespace module portion base: basic constants, helper functions and context manager
|
|
5
5
|
Home-page: https://gitlab.com/ae-group/ae_base
|
|
6
6
|
Author: AndiEcker
|
|
@@ -69,13 +69,13 @@ Dynamic: summary
|
|
|
69
69
|
|
|
70
70
|
<!-- THIS FILE IS EXCLUSIVELY MAINTAINED by the project ae.ae V0.3.96 -->
|
|
71
71
|
<!-- THIS FILE IS EXCLUSIVELY MAINTAINED by the project aedev.tpl_namespace_root V0.3.14 -->
|
|
72
|
-
# base 0.3.
|
|
72
|
+
# base 0.3.64
|
|
73
73
|
|
|
74
74
|
[](
|
|
75
75
|
https://gitlab.com/ae-group/ae_base)
|
|
76
76
|
[](
|
|
78
|
+
https://gitlab.com/ae-group/ae_base/-/tree/release0.3.63)
|
|
79
79
|
[](
|
|
80
80
|
https://pypi.org/project/ae-base/#history)
|
|
81
81
|
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
ae/base.py,sha256=STUdNRroIq5IXtXCqWRg8vIu-Vx-qvOT8f7gnv8uhH8,67812
|
|
2
|
+
ae_base-0.3.64.dist-info/licenses/LICENSE.md,sha256=vn9XT8MDUxNAWsP60HLwHJp8ZLOI0OJBRe-1N2xXh08,35002
|
|
3
|
+
ae_base-0.3.64.dist-info/METADATA,sha256=Yo8TxzMWNjmhRMgJwKFsXW3Ui6M9IA358AIO1abx4mE,5724
|
|
4
|
+
ae_base-0.3.64.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
5
|
+
ae_base-0.3.64.dist-info/top_level.txt,sha256=vUdgAslSmhZLXWU48fm8AG2BjVnkOWLco8rzuW-5zY0,3
|
|
6
|
+
ae_base-0.3.64.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
7
|
+
ae_base-0.3.64.dist-info/RECORD,,
|
ae_base-0.3.63.dist-info/RECORD
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
ae/base.py,sha256=8sCPZbEHi_XZEZYmHaekTQRlz7T2_EVBWnu_4MfXUAk,67833
|
|
2
|
-
ae_base-0.3.63.dist-info/licenses/LICENSE.md,sha256=vn9XT8MDUxNAWsP60HLwHJp8ZLOI0OJBRe-1N2xXh08,35002
|
|
3
|
-
ae_base-0.3.63.dist-info/METADATA,sha256=Wy4QjjplmPR9IpU2VoXe4eF-bxBS0DMjN1WeX6hbLEA,5724
|
|
4
|
-
ae_base-0.3.63.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
5
|
-
ae_base-0.3.63.dist-info/top_level.txt,sha256=vUdgAslSmhZLXWU48fm8AG2BjVnkOWLco8rzuW-5zY0,3
|
|
6
|
-
ae_base-0.3.63.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
7
|
-
ae_base-0.3.63.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|