sharedkernel 1.4.2__tar.gz → 1.4.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.
- {sharedkernel-1.4.2 → sharedkernel-1.4.3}/PKG-INFO +3 -1
- {sharedkernel-1.4.2 → sharedkernel-1.4.3}/README.md +2 -0
- {sharedkernel-1.4.2 → sharedkernel-1.4.3}/setup.py +1 -1
- {sharedkernel-1.4.2 → sharedkernel-1.4.3}/sharedkernel/database/mongo_generic_repository.py +1 -1
- {sharedkernel-1.4.2 → sharedkernel-1.4.3}/sharedkernel.egg-info/PKG-INFO +3 -1
- {sharedkernel-1.4.2 → sharedkernel-1.4.3}/setup.cfg +0 -0
- {sharedkernel-1.4.2 → sharedkernel-1.4.3}/sharedkernel/common.py +0 -0
- {sharedkernel-1.4.2 → sharedkernel-1.4.3}/sharedkernel/database/__init__.py +0 -0
- {sharedkernel-1.4.2 → sharedkernel-1.4.3}/sharedkernel/database/vector_database_repository/__init__.py +0 -0
- {sharedkernel-1.4.2 → sharedkernel-1.4.3}/sharedkernel/database/vector_database_repository/chroma_startegy.py +0 -0
- {sharedkernel-1.4.2 → sharedkernel-1.4.3}/sharedkernel/database/vector_database_repository/milvus_strategy.py +0 -0
- {sharedkernel-1.4.2 → sharedkernel-1.4.3}/sharedkernel/database/vector_database_repository/vector_database_repository.py +0 -0
- {sharedkernel-1.4.2 → sharedkernel-1.4.3}/sharedkernel/database/vector_database_repository/vector_database_strategy.py +0 -0
- {sharedkernel-1.4.2 → sharedkernel-1.4.3}/sharedkernel/date_converter.py +0 -0
- {sharedkernel-1.4.2 → sharedkernel-1.4.3}/sharedkernel/enum/__init__.py +0 -0
- {sharedkernel-1.4.2 → sharedkernel-1.4.3}/sharedkernel/enum/error_code.py +0 -0
- {sharedkernel-1.4.2 → sharedkernel-1.4.3}/sharedkernel/enum/vector_database_type.py +0 -0
- {sharedkernel-1.4.2 → sharedkernel-1.4.3}/sharedkernel/exception/__init__.py +0 -0
- {sharedkernel-1.4.2 → sharedkernel-1.4.3}/sharedkernel/exception/exception.py +0 -0
- {sharedkernel-1.4.2 → sharedkernel-1.4.3}/sharedkernel/exception/exception_handlers.py +0 -0
- {sharedkernel-1.4.2 → sharedkernel-1.4.3}/sharedkernel/jwt_service.py +0 -0
- {sharedkernel-1.4.2 → sharedkernel-1.4.3}/sharedkernel/objects/__init__.py +0 -0
- {sharedkernel-1.4.2 → sharedkernel-1.4.3}/sharedkernel/objects/base_document.py +0 -0
- {sharedkernel-1.4.2 → sharedkernel-1.4.3}/sharedkernel/objects/jwt_model.py +0 -0
- {sharedkernel-1.4.2 → sharedkernel-1.4.3}/sharedkernel/objects/result.py +0 -0
- {sharedkernel-1.4.2 → sharedkernel-1.4.3}/sharedkernel/regex_masking.py +0 -0
- {sharedkernel-1.4.2 → sharedkernel-1.4.3}/sharedkernel/string_extentions.py +0 -0
- {sharedkernel-1.4.2 → sharedkernel-1.4.3}/sharedkernel.egg-info/SOURCES.txt +0 -0
- {sharedkernel-1.4.2 → sharedkernel-1.4.3}/sharedkernel.egg-info/dependency_links.txt +0 -0
- {sharedkernel-1.4.2 → sharedkernel-1.4.3}/sharedkernel.egg-info/requires.txt +0 -0
- {sharedkernel-1.4.2 → sharedkernel-1.4.3}/sharedkernel.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: sharedkernel
|
|
3
|
-
Version: 1.4.
|
|
3
|
+
Version: 1.4.3
|
|
4
4
|
Summary: sharekernel is an shared package between all python projects
|
|
5
5
|
Author: Smilinno
|
|
6
6
|
Description-Content-Type: text/markdown
|
|
@@ -20,6 +20,8 @@ this a shared kernel package
|
|
|
20
20
|
|
|
21
21
|
# Change Log
|
|
22
22
|
### Version 1.4.2
|
|
23
|
+
- Fix collection bug in MongoGenericRepository
|
|
24
|
+
### Version 1.4.2
|
|
23
25
|
- Fix minor bugs
|
|
24
26
|
### Version 1.4.1
|
|
25
27
|
- Fix minor bug in MongoGenericRepository
|
|
@@ -32,7 +32,7 @@ setup(
|
|
|
32
32
|
"jdatetime"
|
|
33
33
|
],
|
|
34
34
|
# *strongly* suggested for sharing
|
|
35
|
-
version="1.4.
|
|
35
|
+
version="1.4.3",
|
|
36
36
|
description="sharekernel is an shared package between all python projects",
|
|
37
37
|
long_description=long_description,
|
|
38
38
|
long_description_content_type="text/markdown",
|
|
@@ -11,7 +11,7 @@ class MongoGenericRepository(Generic[T]):
|
|
|
11
11
|
def __init__(self, database: MongoClient, model: Type[T]):
|
|
12
12
|
self.database = database
|
|
13
13
|
self.__collection_name = camel_to_snake(model.__name__)
|
|
14
|
-
self.collection = self.database[self.
|
|
14
|
+
self.collection = self.database[self.__collection_name]
|
|
15
15
|
self.model = model
|
|
16
16
|
|
|
17
17
|
def _map_to_model(self, document: dict) -> T:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: sharedkernel
|
|
3
|
-
Version: 1.4.
|
|
3
|
+
Version: 1.4.3
|
|
4
4
|
Summary: sharekernel is an shared package between all python projects
|
|
5
5
|
Author: Smilinno
|
|
6
6
|
Description-Content-Type: text/markdown
|
|
@@ -20,6 +20,8 @@ this a shared kernel package
|
|
|
20
20
|
|
|
21
21
|
# Change Log
|
|
22
22
|
### Version 1.4.2
|
|
23
|
+
- Fix collection bug in MongoGenericRepository
|
|
24
|
+
### Version 1.4.2
|
|
23
25
|
- Fix minor bugs
|
|
24
26
|
### Version 1.4.1
|
|
25
27
|
- Fix minor bug in MongoGenericRepository
|
|
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
|