altcodepro-polydb-python 2.3.21__tar.gz → 2.3.22__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.
- {altcodepro_polydb_python-2.3.21/src/altcodepro_polydb_python.egg-info → altcodepro_polydb_python-2.3.22}/PKG-INFO +1 -1
- {altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/pyproject.toml +1 -1
- {altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22/src/altcodepro_polydb_python.egg-info}/PKG-INFO +1 -1
- {altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/src/polydb/adapters/PostgreSQLAdapter.py +4 -2
- {altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/LICENSE +0 -0
- {altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/MANIFEST.in +0 -0
- {altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/README.md +0 -0
- {altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/requirements-aws.txt +0 -0
- {altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/requirements-azure.txt +0 -0
- {altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/requirements-dev.txt +0 -0
- {altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/requirements-gcp.txt +0 -0
- {altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/requirements-generic.txt +0 -0
- {altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/requirements.txt +0 -0
- {altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/setup.cfg +0 -0
- {altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/setup.py +0 -0
- {altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/src/altcodepro_polydb_python.egg-info/SOURCES.txt +0 -0
- {altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/src/altcodepro_polydb_python.egg-info/dependency_links.txt +0 -0
- {altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/src/altcodepro_polydb_python.egg-info/requires.txt +0 -0
- {altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/src/altcodepro_polydb_python.egg-info/top_level.txt +0 -0
- {altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/src/polydb/PolyDB.py +0 -0
- {altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/src/polydb/__init__.py +0 -0
- {altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/src/polydb/adapters/AzureBlobStorageAdapter.py +0 -0
- {altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/src/polydb/adapters/AzureFileStorageAdapter.py +0 -0
- {altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/src/polydb/adapters/AzureQueueAdapter.py +0 -0
- {altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/src/polydb/adapters/AzureTableStorageAdapter.py +0 -0
- {altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/src/polydb/adapters/BlockchainBlobAdapter.py +0 -0
- {altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/src/polydb/adapters/BlockchainFileAdapter.py +0 -0
- {altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/src/polydb/adapters/BlockchainKVAdapter.py +0 -0
- {altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/src/polydb/adapters/BlockchainQueueAdapter.py +0 -0
- {altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/src/polydb/adapters/DynamoDBAdapter.py +0 -0
- {altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/src/polydb/adapters/EFSAdapter.py +0 -0
- {altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/src/polydb/adapters/FirestoreAdapter.py +0 -0
- {altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/src/polydb/adapters/GCPFilestoreAdapter.py +0 -0
- {altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/src/polydb/adapters/GCPPubSubAdapter.py +0 -0
- {altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/src/polydb/adapters/GCPStorageAdapter.py +0 -0
- {altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/src/polydb/adapters/MongoDBAdapter.py +0 -0
- {altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/src/polydb/adapters/S3Adapter.py +0 -0
- {altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/src/polydb/adapters/S3CompatibleAdapter.py +0 -0
- {altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/src/polydb/adapters/SQSAdapter.py +0 -0
- {altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/src/polydb/adapters/VercelBlobAdapter.py +0 -0
- {altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/src/polydb/adapters/VercelFileAdapter.py +0 -0
- {altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/src/polydb/adapters/VercelKVAdapter.py +0 -0
- {altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/src/polydb/adapters/VercelQueueAdapter.py +0 -0
- {altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/src/polydb/adapters/__init__.py +0 -0
- {altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/src/polydb/advanced_query.py +0 -0
- {altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/src/polydb/audit/AuditStorage.py +0 -0
- {altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/src/polydb/audit/__init__.py +0 -0
- {altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/src/polydb/audit/context.py +0 -0
- {altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/src/polydb/audit/manager.py +0 -0
- {altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/src/polydb/audit/models.py +0 -0
- {altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/src/polydb/base/NoSQLKVAdapter.py +0 -0
- {altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/src/polydb/base/ObjectStorageAdapter.py +0 -0
- {altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/src/polydb/base/QueueAdapter.py +0 -0
- {altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/src/polydb/base/SharedFilesAdapter.py +0 -0
- {altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/src/polydb/base/__init__.py +0 -0
- {altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/src/polydb/batch.py +0 -0
- {altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/src/polydb/cache.py +0 -0
- {altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/src/polydb/cloudDatabaseFactory.py +0 -0
- {altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/src/polydb/databaseFactory.py +0 -0
- {altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/src/polydb/decorators.py +0 -0
- {altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/src/polydb/errors.py +0 -0
- {altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/src/polydb/json_safe.py +0 -0
- {altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/src/polydb/models.py +0 -0
- {altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/src/polydb/monitoring.py +0 -0
- {altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/src/polydb/multitenancy.py +0 -0
- {altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/src/polydb/observability/__init__.py +0 -0
- {altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/src/polydb/observability/logging.py +0 -0
- {altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/src/polydb/py.typed +0 -0
- {altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/src/polydb/query.py +0 -0
- {altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/src/polydb/registry.py +0 -0
- {altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/src/polydb/retry.py +0 -0
- {altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/src/polydb/schema.py +0 -0
- {altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/src/polydb/security.py +0 -0
- {altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/src/polydb/services/__init__.py +0 -0
- {altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/src/polydb/services/compliance_service.py +0 -0
- {altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/src/polydb/services/security_service.py +0 -0
- {altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/src/polydb/types.py +0 -0
- {altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/src/polydb/utils.py +0 -0
- {altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/src/polydb/validation.py +0 -0
- {altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/tests/test_atomic_decrement.py +0 -0
- {altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/tests/test_aws.py +0 -0
- {altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/tests/test_azure.py +0 -0
- {altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/tests/test_blockchain.py +0 -0
- {altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/tests/test_cloud_factory.py +0 -0
- {altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/tests/test_gcp.py +0 -0
- {altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/tests/test_mongodb.py +0 -0
- {altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/tests/test_multi_engine.py +0 -0
- {altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/tests/test_observability.py +0 -0
- {altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/tests/test_postgresql.py +0 -0
- {altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/tests/test_vercel.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: altcodepro-polydb-python
|
|
3
|
-
Version: 2.3.
|
|
3
|
+
Version: 2.3.22
|
|
4
4
|
Summary: Production-ready multi-cloud database abstraction layer with connection pooling, retry logic, and thread safety
|
|
5
5
|
Author: AltCodePro
|
|
6
6
|
Project-URL: Homepage, https://github.com/altcodepro/polydb-python
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "altcodepro-polydb-python"
|
|
7
|
-
version = "2.3.
|
|
7
|
+
version = "2.3.22"
|
|
8
8
|
description = "Production-ready multi-cloud database abstraction layer with connection pooling, retry logic, and thread safety"
|
|
9
9
|
readme = { file = "README.md", content-type = "text/markdown" }
|
|
10
10
|
requires-python = ">=3.11"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: altcodepro-polydb-python
|
|
3
|
-
Version: 2.3.
|
|
3
|
+
Version: 2.3.22
|
|
4
4
|
Summary: Production-ready multi-cloud database abstraction layer with connection pooling, retry logic, and thread safety
|
|
5
5
|
Author: AltCodePro
|
|
6
6
|
Project-URL: Homepage, https://github.com/altcodepro/polydb-python
|
|
@@ -129,8 +129,10 @@ class PostgreSQLAdapter:
|
|
|
129
129
|
try:
|
|
130
130
|
conn = self._pool.getconn() # type: ignore
|
|
131
131
|
|
|
132
|
-
if
|
|
133
|
-
|
|
132
|
+
# Only ping if the connection is in an error state (closed/broken),
|
|
133
|
+
# not on every call. TCP keepalives handle staleness detection.
|
|
134
|
+
if conn.closed:
|
|
135
|
+
self.logger.warning("Closed connection detected from pool, closing and retrying")
|
|
134
136
|
self._pool.putconn(conn, close=True) # type: ignore
|
|
135
137
|
conn = self._pool.getconn() # type: ignore
|
|
136
138
|
self._drain_transaction(conn)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/requirements-generic.txt
RENAMED
|
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
|
|
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
|
{altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/src/polydb/adapters/S3Adapter.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/src/polydb/adapters/__init__.py
RENAMED
|
File without changes
|
{altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/src/polydb/advanced_query.py
RENAMED
|
File without changes
|
{altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/src/polydb/audit/AuditStorage.py
RENAMED
|
File without changes
|
{altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/src/polydb/audit/__init__.py
RENAMED
|
File without changes
|
{altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/src/polydb/audit/context.py
RENAMED
|
File without changes
|
{altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/src/polydb/audit/manager.py
RENAMED
|
File without changes
|
{altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/src/polydb/audit/models.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/src/polydb/base/QueueAdapter.py
RENAMED
|
File without changes
|
|
File without changes
|
{altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/src/polydb/base/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/src/polydb/databaseFactory.py
RENAMED
|
File without changes
|
{altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/src/polydb/decorators.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/src/polydb/monitoring.py
RENAMED
|
File without changes
|
{altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/src/polydb/multitenancy.py
RENAMED
|
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
|
{altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/src/polydb/services/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/src/polydb/validation.py
RENAMED
|
File without changes
|
{altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/tests/test_atomic_decrement.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/tests/test_blockchain.py
RENAMED
|
File without changes
|
{altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/tests/test_cloud_factory.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/tests/test_multi_engine.py
RENAMED
|
File without changes
|
{altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/tests/test_observability.py
RENAMED
|
File without changes
|
{altcodepro_polydb_python-2.3.21 → altcodepro_polydb_python-2.3.22}/tests/test_postgresql.py
RENAMED
|
File without changes
|
|
File without changes
|