maleo-database 0.0.1__tar.gz → 0.0.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.
Files changed (37) hide show
  1. {maleo_database-0.0.1 → maleo_database-0.0.2}/PKG-INFO +1 -1
  2. {maleo_database-0.0.1 → maleo_database-0.0.2}/maleo_database.egg-info/PKG-INFO +1 -1
  3. {maleo_database-0.0.1 → maleo_database-0.0.2}/pyproject.toml +1 -1
  4. {maleo_database-0.0.1 → maleo_database-0.0.2}/src/managers/session.py +0 -20
  5. {maleo_database-0.0.1 → maleo_database-0.0.2}/LICENSE +0 -0
  6. {maleo_database-0.0.1 → maleo_database-0.0.2}/README.md +0 -0
  7. {maleo_database-0.0.1 → maleo_database-0.0.2}/maleo_database.egg-info/SOURCES.txt +0 -0
  8. {maleo_database-0.0.1 → maleo_database-0.0.2}/maleo_database.egg-info/dependency_links.txt +0 -0
  9. {maleo_database-0.0.1 → maleo_database-0.0.2}/maleo_database.egg-info/requires.txt +0 -0
  10. {maleo_database-0.0.1 → maleo_database-0.0.2}/maleo_database.egg-info/top_level.txt +0 -0
  11. {maleo_database-0.0.1 → maleo_database-0.0.2}/setup.cfg +0 -0
  12. {maleo_database-0.0.1 → maleo_database-0.0.2}/src/__init__.py +0 -0
  13. {maleo_database-0.0.1 → maleo_database-0.0.2}/src/config/__init__.py +0 -0
  14. {maleo_database-0.0.1 → maleo_database-0.0.2}/src/config/additional.py +0 -0
  15. {maleo_database-0.0.1 → maleo_database-0.0.2}/src/config/connection.py +0 -0
  16. {maleo_database-0.0.1 → maleo_database-0.0.2}/src/config/identifier.py +0 -0
  17. {maleo_database-0.0.1 → maleo_database-0.0.2}/src/config/pooling.py +0 -0
  18. {maleo_database-0.0.1 → maleo_database-0.0.2}/src/enums.py +0 -0
  19. {maleo_database-0.0.1 → maleo_database-0.0.2}/src/managers/__init__.py +0 -0
  20. {maleo_database-0.0.1 → maleo_database-0.0.2}/src/managers/clients/__init__.py +0 -0
  21. {maleo_database-0.0.1 → maleo_database-0.0.2}/src/managers/clients/elasticsearch.py +0 -0
  22. {maleo_database-0.0.1 → maleo_database-0.0.2}/src/managers/clients/mongodb.py +0 -0
  23. {maleo_database-0.0.1 → maleo_database-0.0.2}/src/managers/clients/redis.py +0 -0
  24. {maleo_database-0.0.1 → maleo_database-0.0.2}/src/managers/engines/__init__.py +0 -0
  25. {maleo_database-0.0.1 → maleo_database-0.0.2}/src/managers/engines/mysql.py +0 -0
  26. {maleo_database-0.0.1 → maleo_database-0.0.2}/src/managers/engines/postgresql.py +0 -0
  27. {maleo_database-0.0.1 → maleo_database-0.0.2}/src/managers/engines/sqlite.py +0 -0
  28. {maleo_database-0.0.1 → maleo_database-0.0.2}/src/managers/engines/sqlserver.py +0 -0
  29. {maleo_database-0.0.1 → maleo_database-0.0.2}/src/orm/__init__.py +0 -0
  30. {maleo_database-0.0.1 → maleo_database-0.0.2}/src/orm/base.py +0 -0
  31. {maleo_database-0.0.1 → maleo_database-0.0.2}/src/orm/models/__init__.py +0 -0
  32. {maleo_database-0.0.1 → maleo_database-0.0.2}/src/orm/models/mixins/__init__.py +0 -0
  33. {maleo_database-0.0.1 → maleo_database-0.0.2}/src/orm/models/mixins/identifier.py +0 -0
  34. {maleo_database-0.0.1 → maleo_database-0.0.2}/src/orm/models/mixins/status.py +0 -0
  35. {maleo_database-0.0.1 → maleo_database-0.0.2}/src/orm/models/mixins/timestamp.py +0 -0
  36. {maleo_database-0.0.1 → maleo_database-0.0.2}/src/orm/models/table.py +0 -0
  37. {maleo_database-0.0.1 → maleo_database-0.0.2}/src/orm/queries.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: maleo-database
3
- Version: 0.0.1
3
+ Version: 0.0.2
4
4
  Summary: Database package for MaleoSuite
5
5
  Author-email: Agra Bima Yuda <agra@nexmedis.com>
6
6
  License: Proprietary
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: maleo-database
3
- Version: 0.0.1
3
+ Version: 0.0.2
4
4
  Summary: Database package for MaleoSuite
5
5
  Author-email: Agra Bima Yuda <agra@nexmedis.com>
6
6
  License: Proprietary
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "maleo-database"
7
- version = "0.0.1"
7
+ version = "0.0.2"
8
8
  description = "Database package for MaleoSuite"
9
9
  authors = [
10
10
  { name = "Agra Bima Yuda", email = "agra@nexmedis.com" }
@@ -47,26 +47,6 @@ class SessionManager:
47
47
  finally:
48
48
  session.close()
49
49
 
50
- # Overloaded inject methods
51
- @overload
52
- def inject(
53
- self, connection: Literal[Connection.ASYNC]
54
- ) -> AsyncGenerator[AsyncSession, None]: ...
55
-
56
- @overload
57
- def inject(
58
- self, connection: Literal[Connection.SYNC]
59
- ) -> Generator[Session, None, None]: ...
60
-
61
- def inject(
62
- self, connection: Connection = Connection.ASYNC
63
- ) -> Union[AsyncGenerator[AsyncSession, None], Generator[Session, None, None]]:
64
- """Returns a generator for dependency injection."""
65
- if connection is Connection.ASYNC:
66
- return self._async_session_handler()
67
- else:
68
- return self._sync_session_handler()
69
-
70
50
  # Overloaded context manager methods
71
51
  @overload
72
52
  def get(
File without changes
File without changes
File without changes