robotcode-core 1.0.3__tar.gz → 1.2.0__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.
- {robotcode_core-1.0.3 → robotcode_core-1.2.0}/PKG-INFO +1 -1
- robotcode_core-1.2.0/src/robotcode/core/__version__.py +1 -0
- {robotcode_core-1.0.3 → robotcode_core-1.2.0}/src/robotcode/core/concurrent.py +1 -1
- {robotcode_core-1.0.3 → robotcode_core-1.2.0}/src/robotcode/core/utils/dataclasses.py +4 -2
- {robotcode_core-1.0.3 → robotcode_core-1.2.0}/src/robotcode/core/utils/logging.py +3 -1
- robotcode_core-1.0.3/src/robotcode/core/__version__.py +0 -1
- {robotcode_core-1.0.3 → robotcode_core-1.2.0}/.gitignore +0 -0
- {robotcode_core-1.0.3 → robotcode_core-1.2.0}/LICENSE.txt +0 -0
- {robotcode_core-1.0.3 → robotcode_core-1.2.0}/README.md +0 -0
- {robotcode_core-1.0.3 → robotcode_core-1.2.0}/pyproject.toml +0 -0
- {robotcode_core-1.0.3 → robotcode_core-1.2.0}/src/robotcode/core/__init__.py +0 -0
- {robotcode_core-1.0.3 → robotcode_core-1.2.0}/src/robotcode/core/async_tools.py +0 -0
- {robotcode_core-1.0.3 → robotcode_core-1.2.0}/src/robotcode/core/documents_manager.py +0 -0
- {robotcode_core-1.0.3 → robotcode_core-1.2.0}/src/robotcode/core/event.py +0 -0
- {robotcode_core-1.0.3 → robotcode_core-1.2.0}/src/robotcode/core/filewatcher.py +0 -0
- {robotcode_core-1.0.3 → robotcode_core-1.2.0}/src/robotcode/core/ignore_spec.py +0 -0
- {robotcode_core-1.0.3 → robotcode_core-1.2.0}/src/robotcode/core/language.py +0 -0
- {robotcode_core-1.0.3 → robotcode_core-1.2.0}/src/robotcode/core/lsp/__init__.py +0 -0
- {robotcode_core-1.0.3 → robotcode_core-1.2.0}/src/robotcode/core/lsp/types.py +0 -0
- {robotcode_core-1.0.3 → robotcode_core-1.2.0}/src/robotcode/core/py.typed +0 -0
- {robotcode_core-1.0.3 → robotcode_core-1.2.0}/src/robotcode/core/text_document.py +0 -0
- {robotcode_core-1.0.3 → robotcode_core-1.2.0}/src/robotcode/core/types.py +0 -0
- {robotcode_core-1.0.3 → robotcode_core-1.2.0}/src/robotcode/core/uri.py +0 -0
- {robotcode_core-1.0.3 → robotcode_core-1.2.0}/src/robotcode/core/utils/__init__.py +0 -0
- {robotcode_core-1.0.3 → robotcode_core-1.2.0}/src/robotcode/core/utils/caching.py +0 -0
- {robotcode_core-1.0.3 → robotcode_core-1.2.0}/src/robotcode/core/utils/cli.py +0 -0
- {robotcode_core-1.0.3 → robotcode_core-1.2.0}/src/robotcode/core/utils/debugpy.py +0 -0
- {robotcode_core-1.0.3 → robotcode_core-1.2.0}/src/robotcode/core/utils/glob_path.py +0 -0
- {robotcode_core-1.0.3 → robotcode_core-1.2.0}/src/robotcode/core/utils/inspect.py +0 -0
- {robotcode_core-1.0.3 → robotcode_core-1.2.0}/src/robotcode/core/utils/net.py +0 -0
- {robotcode_core-1.0.3 → robotcode_core-1.2.0}/src/robotcode/core/utils/path.py +0 -0
- {robotcode_core-1.0.3 → robotcode_core-1.2.0}/src/robotcode/core/utils/process.py +0 -0
- {robotcode_core-1.0.3 → robotcode_core-1.2.0}/src/robotcode/core/utils/safe_eval.py +0 -0
- {robotcode_core-1.0.3 → robotcode_core-1.2.0}/src/robotcode/core/utils/version.py +0 -0
- {robotcode_core-1.0.3 → robotcode_core-1.2.0}/src/robotcode/core/workspace.py +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "1.2.0"
|
|
@@ -53,7 +53,7 @@ class LockBase:
|
|
|
53
53
|
aquired = self._lock.acquire(blocking, timeout=timeout)
|
|
54
54
|
if not aquired and blocking and timeout > 0:
|
|
55
55
|
raise RuntimeError(
|
|
56
|
-
f"Could not acquire {self.__class__.__qualname__} {self.name+' ' if self.name else ' '}in {timeout}s."
|
|
56
|
+
f"Could not acquire {self.__class__.__qualname__} {self.name + ' ' if self.name else ' '}in {timeout}s."
|
|
57
57
|
)
|
|
58
58
|
return aquired
|
|
59
59
|
|
|
@@ -480,7 +480,7 @@ def from_dict(
|
|
|
480
480
|
raise TypeError(f"Can't initialize {match_!r} with parameters {params!r}: {ex}") from ex
|
|
481
481
|
|
|
482
482
|
raise TypeError(
|
|
483
|
-
"Value must be of type `"
|
|
483
|
+
f"Value '{value}' must be of type `"
|
|
484
484
|
+ (
|
|
485
485
|
repr(types[0])
|
|
486
486
|
if len(types) == 1
|
|
@@ -488,7 +488,9 @@ def from_dict(
|
|
|
488
488
|
(
|
|
489
489
|
(getattr(e, "__name__", None) or str(e) if e is not type(None) else "None")
|
|
490
490
|
if _get_origin_cached(e) is not Literal
|
|
491
|
-
else repr(e).replace("typing.", "")
|
|
491
|
+
else repr(e).replace("typing.", "")
|
|
492
|
+
if e is not None
|
|
493
|
+
else "None"
|
|
492
494
|
)
|
|
493
495
|
for e in types
|
|
494
496
|
)
|
|
@@ -149,7 +149,9 @@ class LoggingDescriptor:
|
|
|
149
149
|
else (
|
|
150
150
|
("" if self.__owner is None else self.__owner.__module__ + "." + self.__owner.__qualname__)
|
|
151
151
|
if self.__owner is not None
|
|
152
|
-
else get_unwrapped_func(self.__func).__module__
|
|
152
|
+
else get_unwrapped_func(self.__func).__module__
|
|
153
|
+
if self.__func is not None
|
|
154
|
+
else "<unknown>"
|
|
153
155
|
)
|
|
154
156
|
+ self.__postfix
|
|
155
157
|
)
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "1.0.3"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|