robotcode-core 2.9.0.dev115__py3-none-any.whl → 2.9.0.dev180__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.
- robotcode/core/__version__.py +1 -1
- robotcode/core/utils/dataclasses.py +3 -2
- {robotcode_core-2.9.0.dev115.dist-info → robotcode_core-2.9.0.dev180.dist-info}/METADATA +1 -1
- {robotcode_core-2.9.0.dev115.dist-info → robotcode_core-2.9.0.dev180.dist-info}/RECORD +5 -5
- {robotcode_core-2.9.0.dev115.dist-info → robotcode_core-2.9.0.dev180.dist-info}/WHEEL +0 -0
robotcode/core/__version__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "2.9.0-dev.
|
|
1
|
+
__version__ = "2.9.0-dev.180"
|
|
@@ -158,13 +158,14 @@ def _default(o: Any) -> Any:
|
|
|
158
158
|
raise TypeError(f"Cant' get default value for {type(o)} with value {o!r}")
|
|
159
159
|
|
|
160
160
|
|
|
161
|
-
def as_json(obj: Any, indent: Optional[bool] = None, compact: Optional[bool] = None) -> str:
|
|
161
|
+
def as_json(obj: Any, indent: Optional[bool] = None, compact: Optional[bool] = None, ensure_ascii: bool = False) -> str:
|
|
162
|
+
"""`ensure_ascii` writes every character outside ASCII as a `\\u` escape, as the CLI does for its JSON output."""
|
|
162
163
|
return json.dumps(
|
|
163
164
|
obj,
|
|
164
165
|
default=_default,
|
|
165
166
|
indent=4 if indent else None,
|
|
166
167
|
separators=(",", ":") if compact else None,
|
|
167
|
-
ensure_ascii=
|
|
168
|
+
ensure_ascii=ensure_ascii,
|
|
168
169
|
)
|
|
169
170
|
|
|
170
171
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
robotcode/core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
-
robotcode/core/__version__.py,sha256=
|
|
2
|
+
robotcode/core/__version__.py,sha256=39yWLbn8Xd-rhIKA3f_deOqSMNKc9u8vdFKv8xFpYNk,30
|
|
3
3
|
robotcode/core/async_tools.py,sha256=pU12trR8-w4oUoLXiV5uGQ9weGZS25b_DXCNwbbhcfI,12843
|
|
4
4
|
robotcode/core/concurrent.py,sha256=-WPaxSsS7Vgzc3PyANtfBLHznZTPZ36T0ftRHzKO584,7058
|
|
5
5
|
robotcode/core/documents_manager.py,sha256=zxrncZA_zxOAFgUWdItUixfLOFnTFla7-NrOTlblTMU,7613
|
|
@@ -17,7 +17,7 @@ robotcode/core/lsp/types.py,sha256=EhlnFsD_ncbS_9V4tiFKQfFh1DYA_k9S6qT1B8PKHKE,2
|
|
|
17
17
|
robotcode/core/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
18
18
|
robotcode/core/utils/caching.py,sha256=ed_w6vumfSLZ_AHRS7aDmVccd6S4njPuj_bLy1VHiNI,2001
|
|
19
19
|
robotcode/core/utils/cli.py,sha256=s8Dr8aPBNez4Hnwg81JwF1iybbBG6nPhLh-7S7Zmuzc,161
|
|
20
|
-
robotcode/core/utils/dataclasses.py,sha256=
|
|
20
|
+
robotcode/core/utils/dataclasses.py,sha256=SllwmyfG-FwhHdi35Tf1QRkFXfja6S8yc4ckplmuUSs,21719
|
|
21
21
|
robotcode/core/utils/debugpy.py,sha256=Az82Z5Y3HJ0Ws6ue67mMNZBIIAgvqnZl7RkYnV76UwI,2116
|
|
22
22
|
robotcode/core/utils/glob_path.py,sha256=E52LTG0l6vppBAlD3SvFO5FkAiZY3ePPZ1T4OfUSk_k,5676
|
|
23
23
|
robotcode/core/utils/inspect.py,sha256=IGSVUHZeMiErnUeLSb-tD1SlyKjHzvei9U--P7dXhFs,1134
|
|
@@ -27,6 +27,6 @@ robotcode/core/utils/path.py,sha256=RDhRcLFXami154-zCe6GeYFyuL2Fuwrd8Teh-bPlIbA,
|
|
|
27
27
|
robotcode/core/utils/process.py,sha256=nwTTmAyjcDybcO_fq0ZbZK_76ndBFO324z9cxni8TuU,679
|
|
28
28
|
robotcode/core/utils/safe_eval.py,sha256=ES12mwdqNH4iHsP23sEBW6_bgGjS5DKFfgSfxP97-ok,1448
|
|
29
29
|
robotcode/core/utils/version.py,sha256=uXcvqOFLbaSH5EWL6OwRDZjGteFzwaqt0Ll2Rf5h008,1373
|
|
30
|
-
robotcode_core-2.9.0.
|
|
31
|
-
robotcode_core-2.9.0.
|
|
32
|
-
robotcode_core-2.9.0.
|
|
30
|
+
robotcode_core-2.9.0.dev180.dist-info/METADATA,sha256=5VIbyJo5zzC7MrkxEJO19uUdfjWOqSC-ZeP_tZ3jE-I,2764
|
|
31
|
+
robotcode_core-2.9.0.dev180.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
|
|
32
|
+
robotcode_core-2.9.0.dev180.dist-info/RECORD,,
|
|
File without changes
|