stormlibpp 0.8.2__tar.gz → 0.8.3__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 (28) hide show
  1. {stormlibpp-0.8.2 → stormlibpp-0.8.3}/PKG-INFO +1 -1
  2. {stormlibpp-0.8.2 → stormlibpp-0.8.3}/pyproject.toml +1 -1
  3. {stormlibpp-0.8.2 → stormlibpp-0.8.3}/src/stormlibpp/__init__.py +1 -1
  4. {stormlibpp-0.8.2 → stormlibpp-0.8.3}/src/stormlibpp/httpcore.py +6 -1
  5. {stormlibpp-0.8.2 → stormlibpp-0.8.3}/src/stormlibpp.egg-info/PKG-INFO +1 -1
  6. {stormlibpp-0.8.2 → stormlibpp-0.8.3}/LICENSE +0 -0
  7. {stormlibpp-0.8.2 → stormlibpp-0.8.3}/README.md +0 -0
  8. {stormlibpp-0.8.2 → stormlibpp-0.8.3}/setup.cfg +0 -0
  9. {stormlibpp-0.8.2 → stormlibpp-0.8.3}/src/stormlibpp/_args.py +0 -0
  10. {stormlibpp-0.8.2 → stormlibpp-0.8.3}/src/stormlibpp/errors.py +0 -0
  11. {stormlibpp-0.8.2 → stormlibpp-0.8.3}/src/stormlibpp/hstorm.py +0 -0
  12. {stormlibpp-0.8.2 → stormlibpp-0.8.3}/src/stormlibpp/import.py +0 -0
  13. {stormlibpp-0.8.2 → stormlibpp-0.8.3}/src/stormlibpp/node.py +0 -0
  14. {stormlibpp-0.8.2 → stormlibpp-0.8.3}/src/stormlibpp/output.py +0 -0
  15. {stormlibpp-0.8.2 → stormlibpp-0.8.3}/src/stormlibpp/stormcli.py +0 -0
  16. {stormlibpp-0.8.2 → stormlibpp-0.8.3}/src/stormlibpp/stormpkg.py +0 -0
  17. {stormlibpp-0.8.2 → stormlibpp-0.8.3}/src/stormlibpp/telepath.py +0 -0
  18. {stormlibpp-0.8.2 → stormlibpp-0.8.3}/src/stormlibpp/tmpcortex.py +0 -0
  19. {stormlibpp-0.8.2 → stormlibpp-0.8.3}/src/stormlibpp/utils.py +0 -0
  20. {stormlibpp-0.8.2 → stormlibpp-0.8.3}/src/stormlibpp.egg-info/SOURCES.txt +0 -0
  21. {stormlibpp-0.8.2 → stormlibpp-0.8.3}/src/stormlibpp.egg-info/dependency_links.txt +0 -0
  22. {stormlibpp-0.8.2 → stormlibpp-0.8.3}/src/stormlibpp.egg-info/requires.txt +0 -0
  23. {stormlibpp-0.8.2 → stormlibpp-0.8.3}/src/stormlibpp.egg-info/top_level.txt +0 -0
  24. {stormlibpp-0.8.2 → stormlibpp-0.8.3}/tests/test_httpcore.py +0 -0
  25. {stormlibpp-0.8.2 → stormlibpp-0.8.3}/tests/test_node.py +0 -0
  26. {stormlibpp-0.8.2 → stormlibpp-0.8.3}/tests/test_stormpkg.py +0 -0
  27. {stormlibpp-0.8.2 → stormlibpp-0.8.3}/tests/test_telepath.py +0 -0
  28. {stormlibpp-0.8.2 → stormlibpp-0.8.3}/tests/test_utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: stormlibpp
3
- Version: 0.8.2
3
+ Version: 0.8.3
4
4
  Summary: The stormlibpp Python package
5
5
  Author: John Gorman
6
6
  License: MIT License
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "stormlibpp"
7
- version = "0.8.2"
7
+ version = "0.8.3"
8
8
  description = "The stormlibpp Python package"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.11"
@@ -46,7 +46,7 @@ that can be used for testing other tools. It creates a user (``test``) with pass
46
46
  script will support custom Cortex configuration.
47
47
  """
48
48
 
49
- __version__ = "0.8.2"
49
+ __version__ = "0.8.3"
50
50
 
51
51
  # TODO - Do we want to change this to only import submods, or do we even need that?
52
52
  from . import errors
@@ -270,7 +270,12 @@ class HttpCortex:
270
270
  # Since we're chunking the response, occasionally we get part of a JSON
271
271
  # doc instead of all of it, which will cause this error. Try reading more
272
272
  # chunks until there's a readable JSON doc.
273
- if "Unterminated string starting at" in str(err):
273
+ # This happens most often when very large nodes are returned by a Cortex.
274
+ err_str = str(err)
275
+ if (
276
+ "Unterminated string starting at" in err_str
277
+ or err_str.startswith("Expecting")
278
+ ):
274
279
  continue
275
280
  else:
276
281
  raise err
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: stormlibpp
3
- Version: 0.8.2
3
+ Version: 0.8.3
4
4
  Summary: The stormlibpp Python package
5
5
  Author: John Gorman
6
6
  License: MIT License
File without changes
File without changes
File without changes