altcodepro-polydb-python 2.2.0__tar.gz → 2.2.2__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.2.0/src/altcodepro_polydb_python.egg-info → altcodepro_polydb_python-2.2.2}/PKG-INFO +2 -2
- {altcodepro_polydb_python-2.2.0 → altcodepro_polydb_python-2.2.2}/README.md +1 -1
- {altcodepro_polydb_python-2.2.0 → altcodepro_polydb_python-2.2.2}/pyproject.toml +1 -1
- {altcodepro_polydb_python-2.2.0 → altcodepro_polydb_python-2.2.2/src/altcodepro_polydb_python.egg-info}/PKG-INFO +2 -2
- {altcodepro_polydb_python-2.2.0 → altcodepro_polydb_python-2.2.2}/src/polydb/__init__.py +1 -1
- {altcodepro_polydb_python-2.2.0 → altcodepro_polydb_python-2.2.2}/src/polydb/adapters/AzureQueueAdapter.py +1 -1
- {altcodepro_polydb_python-2.2.0 → altcodepro_polydb_python-2.2.2}/src/polydb/adapters/AzureTableStorageAdapter.py +1 -1
- {altcodepro_polydb_python-2.2.0 → altcodepro_polydb_python-2.2.2}/src/polydb/adapters/FirestoreAdapter.py +1 -1
- {altcodepro_polydb_python-2.2.0 → altcodepro_polydb_python-2.2.2}/src/polydb/adapters/PubSubAdapter.py +1 -1
- {altcodepro_polydb_python-2.2.0 → altcodepro_polydb_python-2.2.2}/src/polydb/adapters/SQSAdapter.py +1 -1
- {altcodepro_polydb_python-2.2.0 → altcodepro_polydb_python-2.2.2}/src/polydb/adapters/VercelKVAdapter.py +1 -1
- {altcodepro_polydb_python-2.2.0 → altcodepro_polydb_python-2.2.2}/src/polydb/audit/models.py +1 -1
- {altcodepro_polydb_python-2.2.0 → altcodepro_polydb_python-2.2.2}/src/polydb/base/NoSQLKVAdapter.py +1 -1
- {altcodepro_polydb_python-2.2.0 → altcodepro_polydb_python-2.2.2}/src/polydb/cache.py +1 -1
- {altcodepro_polydb_python-2.2.0 → altcodepro_polydb_python-2.2.2}/src/polydb/databaseFactory.py +2 -5
- {altcodepro_polydb_python-2.2.0 → altcodepro_polydb_python-2.2.2}/src/polydb/security.py +1 -1
- {altcodepro_polydb_python-2.2.0 → altcodepro_polydb_python-2.2.2}/LICENSE +0 -0
- {altcodepro_polydb_python-2.2.0 → altcodepro_polydb_python-2.2.2}/MANIFEST.in +0 -0
- {altcodepro_polydb_python-2.2.0 → altcodepro_polydb_python-2.2.2}/example_usage.py +0 -0
- {altcodepro_polydb_python-2.2.0 → altcodepro_polydb_python-2.2.2}/requirements-aws.txt +0 -0
- {altcodepro_polydb_python-2.2.0 → altcodepro_polydb_python-2.2.2}/requirements-azure.txt +0 -0
- {altcodepro_polydb_python-2.2.0 → altcodepro_polydb_python-2.2.2}/requirements-dev.txt +0 -0
- {altcodepro_polydb_python-2.2.0 → altcodepro_polydb_python-2.2.2}/requirements-gcp.txt +0 -0
- {altcodepro_polydb_python-2.2.0 → altcodepro_polydb_python-2.2.2}/requirements-generic.txt +0 -0
- {altcodepro_polydb_python-2.2.0 → altcodepro_polydb_python-2.2.2}/requirements.txt +0 -0
- {altcodepro_polydb_python-2.2.0 → altcodepro_polydb_python-2.2.2}/setup.cfg +0 -0
- {altcodepro_polydb_python-2.2.0 → altcodepro_polydb_python-2.2.2}/setup.py +0 -0
- {altcodepro_polydb_python-2.2.0 → altcodepro_polydb_python-2.2.2}/src/altcodepro_polydb_python.egg-info/SOURCES.txt +0 -0
- {altcodepro_polydb_python-2.2.0 → altcodepro_polydb_python-2.2.2}/src/altcodepro_polydb_python.egg-info/dependency_links.txt +0 -0
- {altcodepro_polydb_python-2.2.0 → altcodepro_polydb_python-2.2.2}/src/altcodepro_polydb_python.egg-info/requires.txt +0 -0
- {altcodepro_polydb_python-2.2.0 → altcodepro_polydb_python-2.2.2}/src/altcodepro_polydb_python.egg-info/top_level.txt +0 -0
- {altcodepro_polydb_python-2.2.0 → altcodepro_polydb_python-2.2.2}/src/polydb/adapters/AzureBlobStorageAdapter.py +0 -0
- {altcodepro_polydb_python-2.2.0 → altcodepro_polydb_python-2.2.2}/src/polydb/adapters/AzureFileStorageAdapter.py +0 -0
- {altcodepro_polydb_python-2.2.0 → altcodepro_polydb_python-2.2.2}/src/polydb/adapters/DynamoDBAdapter.py +0 -0
- {altcodepro_polydb_python-2.2.0 → altcodepro_polydb_python-2.2.2}/src/polydb/adapters/EFSAdapter.py +0 -0
- {altcodepro_polydb_python-2.2.0 → altcodepro_polydb_python-2.2.2}/src/polydb/adapters/GCPStorageAdapter.py +0 -0
- {altcodepro_polydb_python-2.2.0 → altcodepro_polydb_python-2.2.2}/src/polydb/adapters/MongoDBAdapter.py +0 -0
- {altcodepro_polydb_python-2.2.0 → altcodepro_polydb_python-2.2.2}/src/polydb/adapters/PostgreSQLAdapter.py +0 -0
- {altcodepro_polydb_python-2.2.0 → altcodepro_polydb_python-2.2.2}/src/polydb/adapters/S3Adapter.py +0 -0
- {altcodepro_polydb_python-2.2.0 → altcodepro_polydb_python-2.2.2}/src/polydb/adapters/S3CompatibleAdapter.py +0 -0
- {altcodepro_polydb_python-2.2.0 → altcodepro_polydb_python-2.2.2}/src/polydb/adapters/__init__.py +0 -0
- {altcodepro_polydb_python-2.2.0 → altcodepro_polydb_python-2.2.2}/src/polydb/advanced_query.py +0 -0
- {altcodepro_polydb_python-2.2.0 → altcodepro_polydb_python-2.2.2}/src/polydb/audit/AuditStorage.py +0 -0
- {altcodepro_polydb_python-2.2.0 → altcodepro_polydb_python-2.2.2}/src/polydb/audit/__init__.py +0 -0
- {altcodepro_polydb_python-2.2.0 → altcodepro_polydb_python-2.2.2}/src/polydb/audit/context.py +0 -0
- {altcodepro_polydb_python-2.2.0 → altcodepro_polydb_python-2.2.2}/src/polydb/audit/manager.py +0 -0
- {altcodepro_polydb_python-2.2.0 → altcodepro_polydb_python-2.2.2}/src/polydb/base/ObjectStorageAdapter.py +0 -0
- {altcodepro_polydb_python-2.2.0 → altcodepro_polydb_python-2.2.2}/src/polydb/base/QueueAdapter.py +0 -0
- {altcodepro_polydb_python-2.2.0 → altcodepro_polydb_python-2.2.2}/src/polydb/base/SharedFilesAdapter.py +0 -0
- {altcodepro_polydb_python-2.2.0 → altcodepro_polydb_python-2.2.2}/src/polydb/base/__init__.py +0 -0
- {altcodepro_polydb_python-2.2.0 → altcodepro_polydb_python-2.2.2}/src/polydb/batch.py +0 -0
- {altcodepro_polydb_python-2.2.0 → altcodepro_polydb_python-2.2.2}/src/polydb/decorators.py +0 -0
- {altcodepro_polydb_python-2.2.0 → altcodepro_polydb_python-2.2.2}/src/polydb/errors.py +0 -0
- {altcodepro_polydb_python-2.2.0 → altcodepro_polydb_python-2.2.2}/src/polydb/factory.py +0 -0
- {altcodepro_polydb_python-2.2.0 → altcodepro_polydb_python-2.2.2}/src/polydb/json_safe.py +0 -0
- {altcodepro_polydb_python-2.2.0 → altcodepro_polydb_python-2.2.2}/src/polydb/models.py +0 -0
- {altcodepro_polydb_python-2.2.0 → altcodepro_polydb_python-2.2.2}/src/polydb/monitoring.py +0 -0
- {altcodepro_polydb_python-2.2.0 → altcodepro_polydb_python-2.2.2}/src/polydb/multitenancy.py +0 -0
- {altcodepro_polydb_python-2.2.0 → altcodepro_polydb_python-2.2.2}/src/polydb/py.typed +0 -0
- {altcodepro_polydb_python-2.2.0 → altcodepro_polydb_python-2.2.2}/src/polydb/query.py +0 -0
- {altcodepro_polydb_python-2.2.0 → altcodepro_polydb_python-2.2.2}/src/polydb/registry.py +0 -0
- {altcodepro_polydb_python-2.2.0 → altcodepro_polydb_python-2.2.2}/src/polydb/retry.py +0 -0
- {altcodepro_polydb_python-2.2.0 → altcodepro_polydb_python-2.2.2}/src/polydb/schema.py +0 -0
- {altcodepro_polydb_python-2.2.0 → altcodepro_polydb_python-2.2.2}/src/polydb/types.py +0 -0
- {altcodepro_polydb_python-2.2.0 → altcodepro_polydb_python-2.2.2}/src/polydb/utils.py +0 -0
- {altcodepro_polydb_python-2.2.0 → altcodepro_polydb_python-2.2.2}/src/polydb/validation.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: altcodepro-polydb-python
|
|
3
|
-
Version: 2.2.
|
|
3
|
+
Version: 2.2.2
|
|
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
|
|
@@ -79,7 +79,7 @@ Requires-Dist: pytest-mock>=3.15.1; extra == "test"
|
|
|
79
79
|
Requires-Dist: moto>=5.1.21; extra == "test"
|
|
80
80
|
Dynamic: license-file
|
|
81
81
|
|
|
82
|
-
# PolyDB v2.2.
|
|
82
|
+
# PolyDB v2.2.2 - Enterprise Database Abstraction Layer
|
|
83
83
|
|
|
84
84
|
**Production-ready, cloud-independent database abstraction with full LINQ support, field-level audit, cache, and overflow storage**
|
|
85
85
|
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "altcodepro-polydb-python"
|
|
7
|
-
version = "2.2.
|
|
7
|
+
version = "2.2.2"
|
|
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.8"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: altcodepro-polydb-python
|
|
3
|
-
Version: 2.2.
|
|
3
|
+
Version: 2.2.2
|
|
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
|
|
@@ -79,7 +79,7 @@ Requires-Dist: pytest-mock>=3.15.1; extra == "test"
|
|
|
79
79
|
Requires-Dist: moto>=5.1.21; extra == "test"
|
|
80
80
|
Dynamic: license-file
|
|
81
81
|
|
|
82
|
-
# PolyDB v2.2.
|
|
82
|
+
# PolyDB v2.2.2 - Enterprise Database Abstraction Layer
|
|
83
83
|
|
|
84
84
|
**Production-ready, cloud-independent database abstraction with full LINQ support, field-level audit, cache, and overflow storage**
|
|
85
85
|
|
|
@@ -4,7 +4,7 @@ PolyDB - Enterprise Cloud-Independent Database Abstraction
|
|
|
4
4
|
Full LINQ support, field-level audit, cache, soft delete, overflow storage
|
|
5
5
|
"""
|
|
6
6
|
|
|
7
|
-
__version__ = "2.2.
|
|
7
|
+
__version__ = "2.2.2"
|
|
8
8
|
|
|
9
9
|
from .factory import CloudDatabaseFactory
|
|
10
10
|
from .databaseFactory import DatabaseFactory
|
|
@@ -3,7 +3,7 @@ import os
|
|
|
3
3
|
import threading
|
|
4
4
|
from typing import Any, Dict, List, Optional
|
|
5
5
|
from polydb.base.NoSQLKVAdapter import NoSQLKVAdapter
|
|
6
|
-
from
|
|
6
|
+
from ..json_safe import json_safe
|
|
7
7
|
from ..errors import NoSQLError, ConnectionError
|
|
8
8
|
from ..retry import retry
|
|
9
9
|
from ..types import JsonDict
|
|
@@ -6,7 +6,7 @@ from google.cloud import firestore
|
|
|
6
6
|
from google.cloud import storage
|
|
7
7
|
from google.cloud.firestore import Client
|
|
8
8
|
from polydb.base.NoSQLKVAdapter import NoSQLKVAdapter
|
|
9
|
-
from
|
|
9
|
+
from ..json_safe import json_safe
|
|
10
10
|
|
|
11
11
|
from ..errors import NoSQLError, ConnectionError
|
|
12
12
|
from ..retry import retry
|
|
@@ -3,7 +3,7 @@ import os
|
|
|
3
3
|
import threading
|
|
4
4
|
from typing import Any, Dict, List, Optional
|
|
5
5
|
from polydb.base.NoSQLKVAdapter import NoSQLKVAdapter
|
|
6
|
-
from
|
|
6
|
+
from ..json_safe import json_safe
|
|
7
7
|
from ..errors import NoSQLError, StorageError
|
|
8
8
|
from ..retry import retry
|
|
9
9
|
from ..types import JsonDict
|
{altcodepro_polydb_python-2.2.0 → altcodepro_polydb_python-2.2.2}/src/polydb/base/NoSQLKVAdapter.py
RENAMED
|
@@ -6,7 +6,7 @@ import json
|
|
|
6
6
|
import threading
|
|
7
7
|
from typing import Any, Dict, List, Optional, Tuple, Union, TYPE_CHECKING
|
|
8
8
|
|
|
9
|
-
from
|
|
9
|
+
from ..json_safe import json_safe
|
|
10
10
|
|
|
11
11
|
from ..errors import NoSQLError, StorageError
|
|
12
12
|
from ..retry import retry
|
{altcodepro_polydb_python-2.2.0 → altcodepro_polydb_python-2.2.2}/src/polydb/databaseFactory.py
RENAMED
|
@@ -157,9 +157,6 @@ class DatabaseFactory:
|
|
|
157
157
|
return data
|
|
158
158
|
|
|
159
159
|
def _apply_soft_delete_filter(self, query: Optional[Lookup]) -> Lookup:
|
|
160
|
-
if not self._soft_delete:
|
|
161
|
-
return query or {}
|
|
162
|
-
|
|
163
160
|
result = dict(query or {})
|
|
164
161
|
result.setdefault("deleted_at", None)
|
|
165
162
|
return result
|
|
@@ -310,7 +307,7 @@ class DatabaseFactory:
|
|
|
310
307
|
meta = self._meta(model)
|
|
311
308
|
tenant_id = self._current_tenant_id()
|
|
312
309
|
actor_id = self._current_actor_id()
|
|
313
|
-
query =
|
|
310
|
+
query = self._apply_soft_delete_filter(query) if include_deleted else query
|
|
314
311
|
# Multi-tenancy & RLS filters
|
|
315
312
|
if self.tenant_enforcer:
|
|
316
313
|
query = self.tenant_enforcer.enforce_read(model_name, query or {})
|
|
@@ -421,7 +418,7 @@ class DatabaseFactory:
|
|
|
421
418
|
tenant_id = self._current_tenant_id()
|
|
422
419
|
actor_id = self._current_actor_id()
|
|
423
420
|
|
|
424
|
-
query =
|
|
421
|
+
query = self._apply_soft_delete_filter(query) if include_deleted else query
|
|
425
422
|
|
|
426
423
|
if self.tenant_enforcer:
|
|
427
424
|
query = self.tenant_enforcer.enforce_read(model_name, query or {})
|
|
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.2.0 → altcodepro_polydb_python-2.2.2}/src/polydb/adapters/EFSAdapter.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{altcodepro_polydb_python-2.2.0 → altcodepro_polydb_python-2.2.2}/src/polydb/adapters/S3Adapter.py
RENAMED
|
File without changes
|
|
File without changes
|
{altcodepro_polydb_python-2.2.0 → altcodepro_polydb_python-2.2.2}/src/polydb/adapters/__init__.py
RENAMED
|
File without changes
|
{altcodepro_polydb_python-2.2.0 → altcodepro_polydb_python-2.2.2}/src/polydb/advanced_query.py
RENAMED
|
File without changes
|
{altcodepro_polydb_python-2.2.0 → altcodepro_polydb_python-2.2.2}/src/polydb/audit/AuditStorage.py
RENAMED
|
File without changes
|
{altcodepro_polydb_python-2.2.0 → altcodepro_polydb_python-2.2.2}/src/polydb/audit/__init__.py
RENAMED
|
File without changes
|
{altcodepro_polydb_python-2.2.0 → altcodepro_polydb_python-2.2.2}/src/polydb/audit/context.py
RENAMED
|
File without changes
|
{altcodepro_polydb_python-2.2.0 → altcodepro_polydb_python-2.2.2}/src/polydb/audit/manager.py
RENAMED
|
File without changes
|
|
File without changes
|
{altcodepro_polydb_python-2.2.0 → altcodepro_polydb_python-2.2.2}/src/polydb/base/QueueAdapter.py
RENAMED
|
File without changes
|
|
File without changes
|
{altcodepro_polydb_python-2.2.0 → altcodepro_polydb_python-2.2.2}/src/polydb/base/__init__.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
|
{altcodepro_polydb_python-2.2.0 → altcodepro_polydb_python-2.2.2}/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
|