python-databases 1.2.0__tar.gz → 1.2.1__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 (20) hide show
  1. {python_databases-1.2.0/python_databases.egg-info → python_databases-1.2.1}/PKG-INFO +1 -1
  2. {python_databases-1.2.0 → python_databases-1.2.1}/pyproject.toml +1 -1
  3. {python_databases-1.2.0 → python_databases-1.2.1}/python_databases/elasticsearch_infrastructure/elasticsearch.py +1 -1
  4. {python_databases-1.2.0 → python_databases-1.2.1/python_databases.egg-info}/PKG-INFO +1 -1
  5. {python_databases-1.2.0 → python_databases-1.2.1}/LICENSE +0 -0
  6. {python_databases-1.2.0 → python_databases-1.2.1}/MANIFEST.in +0 -0
  7. {python_databases-1.2.0 → python_databases-1.2.1}/README.md +0 -0
  8. {python_databases-1.2.0 → python_databases-1.2.1}/python_databases/__init__.py +0 -0
  9. {python_databases-1.2.0 → python_databases-1.2.1}/python_databases/consts.py +0 -0
  10. {python_databases-1.2.0 → python_databases-1.2.1}/python_databases/elasticsearch_infrastructure/__init__.py +0 -0
  11. {python_databases-1.2.0 → python_databases-1.2.1}/python_databases/elasticsearch_infrastructure/consts.py +0 -0
  12. {python_databases-1.2.0 → python_databases-1.2.1}/python_databases/postgresql_infrastructure/__init__.py +0 -0
  13. {python_databases-1.2.0 → python_databases-1.2.1}/python_databases/postgresql_infrastructure/consts.py +0 -0
  14. {python_databases-1.2.0 → python_databases-1.2.1}/python_databases/postgresql_infrastructure/postgresql.py +0 -0
  15. {python_databases-1.2.0 → python_databases-1.2.1}/python_databases.egg-info/SOURCES.txt +0 -0
  16. {python_databases-1.2.0 → python_databases-1.2.1}/python_databases.egg-info/dependency_links.txt +0 -0
  17. {python_databases-1.2.0 → python_databases-1.2.1}/python_databases.egg-info/requires.txt +0 -0
  18. {python_databases-1.2.0 → python_databases-1.2.1}/python_databases.egg-info/top_level.txt +0 -0
  19. {python_databases-1.2.0 → python_databases-1.2.1}/setup.cfg +0 -0
  20. {python_databases-1.2.0 → python_databases-1.2.1}/tests/test_postgres.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python-databases
3
- Version: 1.2.0
3
+ Version: 1.2.1
4
4
  Summary: A Python library for managing and interacting with multiple databases seamlessly.
5
5
  Author: Avi Zaguri
6
6
  License: MIT
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "python-databases"
7
- version = "1.2.0"
7
+ version = "1.2.1"
8
8
  description = "A Python library for managing and interacting with multiple databases seamlessly."
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.12"
@@ -70,7 +70,7 @@ class ElasticSearch(ABC):
70
70
  self.logger.debug(f"Failed document: \n{item}")
71
71
  failed_response_list.append(item)
72
72
  if raise_on_error and failed_response_list:
73
- raise Exception(f"Failed to report {len(failed_response_list)} documents")
73
+ raise Exception(f"Failed to report {len(failed_response_list)} documents to Elasticsearch")
74
74
 
75
75
  def _set_list_of_docs_safe(self, list_of_docs: list[dict]) -> None:
76
76
  success_response, failed_response = helpers.bulk(self.elk_client, list_of_docs)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python-databases
3
- Version: 1.2.0
3
+ Version: 1.2.1
4
4
  Summary: A Python library for managing and interacting with multiple databases seamlessly.
5
5
  Author: Avi Zaguri
6
6
  License: MIT