robotcode-core 2.9.0.dev124__py3-none-any.whl → 2.9.0.dev186__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.
@@ -1 +1 @@
1
- __version__ = "2.9.0-dev.124"
1
+ __version__ = "2.9.0-dev.186"
@@ -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=False,
168
+ ensure_ascii=ensure_ascii,
168
169
  )
169
170
 
170
171
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: robotcode-core
3
- Version: 2.9.0-dev.124
3
+ Version: 2.9.0-dev.186
4
4
  Summary: Some core classes for RobotCode
5
5
  Project-URL: Homepage, https://robotcode.io
6
6
  Project-URL: Donate, https://opencollective.com/robotcode
@@ -1,5 +1,5 @@
1
1
  robotcode/core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- robotcode/core/__version__.py,sha256=kB2HCucrVBrLij9hB2UXa9rwCOmEfmeDk12kUWayuAU,30
2
+ robotcode/core/__version__.py,sha256=DeNL4QD-HLgPf68SyWkBcV4BYX1z0-0is3Fgfr1b8yo,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=GTCPtyoYZRDoZkYIuVsbO8D9czztnN1l9z0GmFLClJ0,21566
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.dev124.dist-info/METADATA,sha256=6o8glZWzzikwE0RbCHx6f0lGQWVSQnkYsB9ZOikbY1c,2764
31
- robotcode_core-2.9.0.dev124.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
32
- robotcode_core-2.9.0.dev124.dist-info/RECORD,,
30
+ robotcode_core-2.9.0.dev186.dist-info/METADATA,sha256=yyBb_vSf_cOvAoQrJmRAdVDCPA-3lPKXh8tllYwxbEY,2764
31
+ robotcode_core-2.9.0.dev186.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
32
+ robotcode_core-2.9.0.dev186.dist-info/RECORD,,