singer-python 5.14.3__tar.gz → 5.15.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.
Files changed (37) hide show
  1. {singer_python-5.14.3/singer_python.egg-info → singer_python-5.15.0}/PKG-INFO +1 -1
  2. {singer_python-5.14.3 → singer_python-5.15.0}/setup.py +1 -1
  3. {singer_python-5.14.3 → singer_python-5.15.0}/singer/bookmarks.py +1 -3
  4. {singer_python-5.14.3 → singer_python-5.15.0/singer_python.egg-info}/PKG-INFO +1 -1
  5. {singer_python-5.14.3 → singer_python-5.15.0}/LICENSE +0 -0
  6. {singer_python-5.14.3 → singer_python-5.15.0}/README.md +0 -0
  7. {singer_python-5.14.3 → singer_python-5.15.0}/setup.cfg +0 -0
  8. {singer_python-5.14.3 → singer_python-5.15.0}/singer/__init__.py +0 -0
  9. {singer_python-5.14.3 → singer_python-5.15.0}/singer/catalog.py +0 -0
  10. {singer_python-5.14.3 → singer_python-5.15.0}/singer/exceptions.py +0 -0
  11. {singer_python-5.14.3 → singer_python-5.15.0}/singer/logger.py +0 -0
  12. {singer_python-5.14.3 → singer_python-5.15.0}/singer/logging.conf +0 -0
  13. {singer_python-5.14.3 → singer_python-5.15.0}/singer/messages.py +0 -0
  14. {singer_python-5.14.3 → singer_python-5.15.0}/singer/metadata.py +0 -0
  15. {singer_python-5.14.3 → singer_python-5.15.0}/singer/metrics.py +0 -0
  16. {singer_python-5.14.3 → singer_python-5.15.0}/singer/requests.py +0 -0
  17. {singer_python-5.14.3 → singer_python-5.15.0}/singer/schema.py +0 -0
  18. {singer_python-5.14.3 → singer_python-5.15.0}/singer/schema_generation.py +0 -0
  19. {singer_python-5.14.3 → singer_python-5.15.0}/singer/statediff.py +0 -0
  20. {singer_python-5.14.3 → singer_python-5.15.0}/singer/transform.py +0 -0
  21. {singer_python-5.14.3 → singer_python-5.15.0}/singer/utils.py +0 -0
  22. {singer_python-5.14.3 → singer_python-5.15.0}/singer_python.egg-info/SOURCES.txt +0 -0
  23. {singer_python-5.14.3 → singer_python-5.15.0}/singer_python.egg-info/dependency_links.txt +0 -0
  24. {singer_python-5.14.3 → singer_python-5.15.0}/singer_python.egg-info/requires.txt +0 -0
  25. {singer_python-5.14.3 → singer_python-5.15.0}/singer_python.egg-info/top_level.txt +0 -0
  26. {singer_python-5.14.3 → singer_python-5.15.0}/tests/__init__.py +0 -0
  27. {singer_python-5.14.3 → singer_python-5.15.0}/tests/test_bookmarks.py +0 -0
  28. {singer_python-5.14.3 → singer_python-5.15.0}/tests/test_catalog.py +0 -0
  29. {singer_python-5.14.3 → singer_python-5.15.0}/tests/test_exceptions.py +0 -0
  30. {singer_python-5.14.3 → singer_python-5.15.0}/tests/test_metadata.py +0 -0
  31. {singer_python-5.14.3 → singer_python-5.15.0}/tests/test_metrics.py +0 -0
  32. {singer_python-5.14.3 → singer_python-5.15.0}/tests/test_schema.py +0 -0
  33. {singer_python-5.14.3 → singer_python-5.15.0}/tests/test_schema_generation.py +0 -0
  34. {singer_python-5.14.3 → singer_python-5.15.0}/tests/test_singer.py +0 -0
  35. {singer_python-5.14.3 → singer_python-5.15.0}/tests/test_statediff.py +0 -0
  36. {singer_python-5.14.3 → singer_python-5.15.0}/tests/test_transform.py +0 -0
  37. {singer_python-5.14.3 → singer_python-5.15.0}/tests/test_utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: singer-python
3
- Version: 5.14.3
3
+ Version: 5.15.0
4
4
  Summary: Singer.io utility library
5
5
  Home-page: http://singer.io
6
6
  Author: Stitch
@@ -4,7 +4,7 @@ from setuptools import setup, find_packages
4
4
  import subprocess
5
5
 
6
6
  setup(name="singer-python",
7
- version='5.14.3',
7
+ version='5.15.0',
8
8
  description="Singer.io utility library",
9
9
  author="Stitch",
10
10
  classifiers=['Programming Language :: Python :: 3 :: Only'],
@@ -31,9 +31,7 @@ def set_offset(state, tap_stream_id, offset_key, offset_value):
31
31
  return state
32
32
 
33
33
  def clear_offset(state, tap_stream_id):
34
- state = ensure_bookmark_path(state, ['bookmarks', tap_stream_id, "offset"])
35
- state['bookmarks'][tap_stream_id]["offset"] = {}
36
- return state
34
+ return clear_bookmark(state, tap_stream_id, "offset")
37
35
 
38
36
  def get_offset(state, tap_stream_id, default=None):
39
37
  return state.get('bookmarks', {}).get(tap_stream_id, {}).get("offset", default)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: singer-python
3
- Version: 5.14.3
3
+ Version: 5.15.0
4
4
  Summary: Singer.io utility library
5
5
  Home-page: http://singer.io
6
6
  Author: Stitch
File without changes
File without changes
File without changes