crate 2.0.0.dev4__tar.gz → 2.0.0.dev5__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.
Files changed (49) hide show
  1. {crate-2.0.0.dev4 → crate-2.0.0.dev5}/CHANGES.rst +2 -2
  2. {crate-2.0.0.dev4 → crate-2.0.0.dev5}/PKG-INFO +1 -1
  3. {crate-2.0.0.dev4 → crate-2.0.0.dev5}/src/crate/client/__init__.py +1 -1
  4. {crate-2.0.0.dev4 → crate-2.0.0.dev5}/src/crate/client/http.py +2 -2
  5. {crate-2.0.0.dev4 → crate-2.0.0.dev5}/src/crate.egg-info/PKG-INFO +1 -1
  6. {crate-2.0.0.dev4 → crate-2.0.0.dev5}/CONTRIBUTING.rst +0 -0
  7. {crate-2.0.0.dev4 → crate-2.0.0.dev5}/DEVELOP.rst +0 -0
  8. {crate-2.0.0.dev4 → crate-2.0.0.dev5}/LICENSE +0 -0
  9. {crate-2.0.0.dev4 → crate-2.0.0.dev5}/MANIFEST.in +0 -0
  10. {crate-2.0.0.dev4 → crate-2.0.0.dev5}/NOTICE +0 -0
  11. {crate-2.0.0.dev4 → crate-2.0.0.dev5}/README.rst +0 -0
  12. {crate-2.0.0.dev4 → crate-2.0.0.dev5}/docs/_extra/robots.txt +0 -0
  13. {crate-2.0.0.dev4 → crate-2.0.0.dev5}/docs/backlog.rst +0 -0
  14. {crate-2.0.0.dev4 → crate-2.0.0.dev5}/docs/blobs.rst +0 -0
  15. {crate-2.0.0.dev4 → crate-2.0.0.dev5}/docs/by-example/blob.rst +0 -0
  16. {crate-2.0.0.dev4 → crate-2.0.0.dev5}/docs/by-example/client.rst +0 -0
  17. {crate-2.0.0.dev4 → crate-2.0.0.dev5}/docs/by-example/connection.rst +0 -0
  18. {crate-2.0.0.dev4 → crate-2.0.0.dev5}/docs/by-example/cursor.rst +0 -0
  19. {crate-2.0.0.dev4 → crate-2.0.0.dev5}/docs/by-example/http.rst +0 -0
  20. {crate-2.0.0.dev4 → crate-2.0.0.dev5}/docs/by-example/https.rst +0 -0
  21. {crate-2.0.0.dev4 → crate-2.0.0.dev5}/docs/by-example/index.rst +0 -0
  22. {crate-2.0.0.dev4 → crate-2.0.0.dev5}/docs/conf.py +0 -0
  23. {crate-2.0.0.dev4 → crate-2.0.0.dev5}/docs/connect.rst +0 -0
  24. {crate-2.0.0.dev4 → crate-2.0.0.dev5}/docs/data-types.rst +0 -0
  25. {crate-2.0.0.dev4 → crate-2.0.0.dev5}/docs/docutils.conf +0 -0
  26. {crate-2.0.0.dev4 → crate-2.0.0.dev5}/docs/getting-started.rst +0 -0
  27. {crate-2.0.0.dev4 → crate-2.0.0.dev5}/docs/index-all.rst +0 -0
  28. {crate-2.0.0.dev4 → crate-2.0.0.dev5}/docs/index.rst +0 -0
  29. {crate-2.0.0.dev4 → crate-2.0.0.dev5}/docs/other-options.rst +0 -0
  30. {crate-2.0.0.dev4 → crate-2.0.0.dev5}/docs/query.rst +0 -0
  31. {crate-2.0.0.dev4 → crate-2.0.0.dev5}/docs/requirements.txt +0 -0
  32. {crate-2.0.0.dev4 → crate-2.0.0.dev5}/docs/sqlalchemy.rst +0 -0
  33. {crate-2.0.0.dev4 → crate-2.0.0.dev5}/pyproject.toml +0 -0
  34. {crate-2.0.0.dev4 → crate-2.0.0.dev5}/requirements.txt +0 -0
  35. {crate-2.0.0.dev4 → crate-2.0.0.dev5}/setup.cfg +0 -0
  36. {crate-2.0.0.dev4 → crate-2.0.0.dev5}/setup.py +0 -0
  37. {crate-2.0.0.dev4 → crate-2.0.0.dev5}/src/crate/client/_pep440.py +0 -0
  38. {crate-2.0.0.dev4 → crate-2.0.0.dev5}/src/crate/client/blob.py +0 -0
  39. {crate-2.0.0.dev4 → crate-2.0.0.dev5}/src/crate/client/connection.py +0 -0
  40. {crate-2.0.0.dev4 → crate-2.0.0.dev5}/src/crate/client/converter.py +0 -0
  41. {crate-2.0.0.dev4 → crate-2.0.0.dev5}/src/crate/client/cursor.py +0 -0
  42. {crate-2.0.0.dev4 → crate-2.0.0.dev5}/src/crate/client/exceptions.py +0 -0
  43. {crate-2.0.0.dev4 → crate-2.0.0.dev5}/src/crate/testing/__init__.py +0 -0
  44. {crate-2.0.0.dev4 → crate-2.0.0.dev5}/src/crate/testing/layer.py +0 -0
  45. {crate-2.0.0.dev4 → crate-2.0.0.dev5}/src/crate/testing/util.py +0 -0
  46. {crate-2.0.0.dev4 → crate-2.0.0.dev5}/src/crate.egg-info/SOURCES.txt +0 -0
  47. {crate-2.0.0.dev4 → crate-2.0.0.dev5}/src/crate.egg-info/dependency_links.txt +0 -0
  48. {crate-2.0.0.dev4 → crate-2.0.0.dev5}/src/crate.egg-info/requires.txt +0 -0
  49. {crate-2.0.0.dev4 → crate-2.0.0.dev5}/src/crate.egg-info/top_level.txt +0 -0
@@ -12,8 +12,8 @@ Unreleased
12
12
  will serialize to ``bytes`` instead of ``str``. Please also note it
13
13
  will not deserialize to dataclasses, UUIDs, decimals, etc., or support
14
14
  ``object_hook``. Within ``crate-python``, it is applied with an encoder
15
- function for additional type support about Python's `Decimal` type and
16
- freezegun's `FakeDateTime` type.
15
+ function for additional type support about Python's ``Decimal`` type and
16
+ freezegun's ``FakeDatetime`` type.
17
17
 
18
18
  .. _orjson: https://github.com/ijl/orjson
19
19
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: crate
3
- Version: 2.0.0.dev4
3
+ Version: 2.0.0.dev5
4
4
  Summary: CrateDB Python Client
5
5
  Home-page: https://github.com/crate/crate-python
6
6
  Author: Crate.io
@@ -29,7 +29,7 @@ __all__ = [
29
29
 
30
30
  # version string read from setup.py using a regex. Take care not to break the
31
31
  # regex!
32
- __version__ = "2.0.0.dev4"
32
+ __version__ = "2.0.0.dev5"
33
33
 
34
34
  # codeql[py/unused-global-variable]
35
35
  apilevel = "2.0"
@@ -89,7 +89,7 @@ def cratedb_json_encoder(obj: t.Any) -> str:
89
89
  Encoder function for orjson, with additional type support.
90
90
 
91
91
  - Python's `Decimal` type.
92
- - freezegun's `FakeDateTime` type.
92
+ - freezegun's `FakeDatetime` type.
93
93
 
94
94
  https://github.com/ijl/orjson#default
95
95
  """
@@ -109,7 +109,7 @@ def json_dumps(obj: t.Any) -> bytes:
109
109
  return orjson.dumps(
110
110
  obj,
111
111
  default=cratedb_json_encoder,
112
- option=orjson.OPT_SERIALIZE_NUMPY,
112
+ option=(orjson.OPT_NON_STR_KEYS | orjson.OPT_SERIALIZE_NUMPY),
113
113
  )
114
114
 
115
115
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: crate
3
- Version: 2.0.0.dev4
3
+ Version: 2.0.0.dev5
4
4
  Summary: CrateDB Python Client
5
5
  Home-page: https://github.com/crate/crate-python
6
6
  Author: Crate.io
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