apexdevkit 1.16.2__tar.gz → 1.16.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.
- {apexdevkit-1.16.2 → apexdevkit-1.16.3}/PKG-INFO +1 -1
- {apexdevkit-1.16.2 → apexdevkit-1.16.3}/apexdevkit/repository/mssql.py +11 -11
- {apexdevkit-1.16.2 → apexdevkit-1.16.3}/pyproject.toml +1 -1
- {apexdevkit-1.16.2 → apexdevkit-1.16.3}/LICENSE +0 -0
- {apexdevkit-1.16.2 → apexdevkit-1.16.3}/README.md +0 -0
- {apexdevkit-1.16.2 → apexdevkit-1.16.3}/apexdevkit/__init__.py +0 -0
- {apexdevkit-1.16.2 → apexdevkit-1.16.3}/apexdevkit/annotation/__init__.py +0 -0
- {apexdevkit-1.16.2 → apexdevkit-1.16.3}/apexdevkit/annotation/deprecate.py +0 -0
- {apexdevkit-1.16.2 → apexdevkit-1.16.3}/apexdevkit/environment.py +0 -0
- {apexdevkit-1.16.2 → apexdevkit-1.16.3}/apexdevkit/error.py +0 -0
- {apexdevkit-1.16.2 → apexdevkit-1.16.3}/apexdevkit/fastapi/__init__.py +0 -0
- {apexdevkit-1.16.2 → apexdevkit-1.16.3}/apexdevkit/fastapi/builder.py +0 -0
- {apexdevkit-1.16.2 → apexdevkit-1.16.3}/apexdevkit/fastapi/dependable.py +0 -0
- {apexdevkit-1.16.2 → apexdevkit-1.16.3}/apexdevkit/fastapi/docs.py +0 -0
- {apexdevkit-1.16.2 → apexdevkit-1.16.3}/apexdevkit/fastapi/name.py +0 -0
- {apexdevkit-1.16.2 → apexdevkit-1.16.3}/apexdevkit/fastapi/request.py +0 -0
- {apexdevkit-1.16.2 → apexdevkit-1.16.3}/apexdevkit/fastapi/resource.py +0 -0
- {apexdevkit-1.16.2 → apexdevkit-1.16.3}/apexdevkit/fastapi/response.py +0 -0
- {apexdevkit-1.16.2 → apexdevkit-1.16.3}/apexdevkit/fastapi/router.py +0 -0
- {apexdevkit-1.16.2 → apexdevkit-1.16.3}/apexdevkit/fastapi/schema.py +0 -0
- {apexdevkit-1.16.2 → apexdevkit-1.16.3}/apexdevkit/fastapi/service.py +0 -0
- {apexdevkit-1.16.2 → apexdevkit-1.16.3}/apexdevkit/fluent.py +0 -0
- {apexdevkit-1.16.2 → apexdevkit-1.16.3}/apexdevkit/formatter.py +0 -0
- {apexdevkit-1.16.2 → apexdevkit-1.16.3}/apexdevkit/http/__init__.py +0 -0
- {apexdevkit-1.16.2 → apexdevkit-1.16.3}/apexdevkit/http/fake.py +0 -0
- {apexdevkit-1.16.2 → apexdevkit-1.16.3}/apexdevkit/http/fluent.py +0 -0
- {apexdevkit-1.16.2 → apexdevkit-1.16.3}/apexdevkit/http/httpx.py +0 -0
- {apexdevkit-1.16.2 → apexdevkit-1.16.3}/apexdevkit/http/json.py +0 -0
- {apexdevkit-1.16.2 → apexdevkit-1.16.3}/apexdevkit/http/url.py +0 -0
- {apexdevkit-1.16.2 → apexdevkit-1.16.3}/apexdevkit/key_fn.py +0 -0
- {apexdevkit-1.16.2 → apexdevkit-1.16.3}/apexdevkit/py.typed +0 -0
- {apexdevkit-1.16.2 → apexdevkit-1.16.3}/apexdevkit/repository/__init__.py +0 -0
- {apexdevkit-1.16.2 → apexdevkit-1.16.3}/apexdevkit/repository/base.py +0 -0
- {apexdevkit-1.16.2 → apexdevkit-1.16.3}/apexdevkit/repository/connector.py +0 -0
- {apexdevkit-1.16.2 → apexdevkit-1.16.3}/apexdevkit/repository/database.py +0 -0
- {apexdevkit-1.16.2 → apexdevkit-1.16.3}/apexdevkit/repository/decorator.py +0 -0
- {apexdevkit-1.16.2 → apexdevkit-1.16.3}/apexdevkit/repository/in_memory.py +0 -0
- {apexdevkit-1.16.2 → apexdevkit-1.16.3}/apexdevkit/repository/interface.py +0 -0
- {apexdevkit-1.16.2 → apexdevkit-1.16.3}/apexdevkit/repository/mongo.py +0 -0
- {apexdevkit-1.16.2 → apexdevkit-1.16.3}/apexdevkit/repository/sqlite.py +0 -0
- {apexdevkit-1.16.2 → apexdevkit-1.16.3}/apexdevkit/server.py +0 -0
- {apexdevkit-1.16.2 → apexdevkit-1.16.3}/apexdevkit/synchronization.py +0 -0
- {apexdevkit-1.16.2 → apexdevkit-1.16.3}/apexdevkit/testing/__init__.py +0 -0
- {apexdevkit-1.16.2 → apexdevkit-1.16.3}/apexdevkit/testing/database.py +0 -0
- {apexdevkit-1.16.2 → apexdevkit-1.16.3}/apexdevkit/testing/fake.py +0 -0
- {apexdevkit-1.16.2 → apexdevkit-1.16.3}/apexdevkit/testing/rest.py +0 -0
- {apexdevkit-1.16.2 → apexdevkit-1.16.3}/apexdevkit/value.py +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
from __future__ import annotations
|
|
2
2
|
|
|
3
3
|
from dataclasses import dataclass
|
|
4
|
-
from typing import Any,
|
|
4
|
+
from typing import Any, Generic, Iterator, TypeVar
|
|
5
5
|
|
|
6
6
|
from pymssql.exceptions import DatabaseError
|
|
7
7
|
|
|
@@ -57,33 +57,33 @@ class MsSqlRepository(RepositoryBase[ItemT]):
|
|
|
57
57
|
self.db.execute(self.table.update(item)).fetch_none()
|
|
58
58
|
|
|
59
59
|
|
|
60
|
-
class SqlTable(
|
|
60
|
+
class SqlTable(Generic[ItemT]): # pragma: no cover
|
|
61
61
|
def count_all(self) -> DatabaseCommand:
|
|
62
|
-
|
|
62
|
+
raise NotImplementedError
|
|
63
63
|
|
|
64
64
|
def insert(self, item: ItemT) -> DatabaseCommand:
|
|
65
|
-
|
|
65
|
+
raise NotImplementedError
|
|
66
66
|
|
|
67
67
|
def select(self, item_id: str) -> DatabaseCommand:
|
|
68
|
-
|
|
68
|
+
raise NotImplementedError
|
|
69
69
|
|
|
70
70
|
def select_all(self) -> DatabaseCommand:
|
|
71
|
-
|
|
71
|
+
raise NotImplementedError
|
|
72
72
|
|
|
73
73
|
def delete(self, item_id: str) -> DatabaseCommand:
|
|
74
|
-
|
|
74
|
+
raise NotImplementedError
|
|
75
75
|
|
|
76
76
|
def delete_all(self) -> DatabaseCommand:
|
|
77
|
-
|
|
77
|
+
raise NotImplementedError
|
|
78
78
|
|
|
79
79
|
def update(self, item: ItemT) -> DatabaseCommand:
|
|
80
|
-
|
|
80
|
+
raise NotImplementedError
|
|
81
81
|
|
|
82
82
|
def load(self, data: dict[str, Any]) -> ItemT:
|
|
83
|
-
|
|
83
|
+
raise NotImplementedError
|
|
84
84
|
|
|
85
85
|
def exists(self, duplicate: ItemT) -> ExistsError:
|
|
86
|
-
|
|
86
|
+
raise NotImplementedError
|
|
87
87
|
|
|
88
88
|
|
|
89
89
|
@dataclass
|
|
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
|
|
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
|