rb-commons 0.1.14__tar.gz → 0.1.15__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: rb-commons
3
- Version: 0.1.14
3
+ Version: 0.1.15
4
4
  Summary: Commons of project and simplified orm based on sqlalchemy.
5
5
  Home-page: https://github.com/RoboSell-organization/rb-commons
6
6
  Author: Abdulvoris
@@ -67,7 +67,7 @@ class BaseManager(Generic[ModelType]):
67
67
  delete_stmt = delete(self.model).filter_by(**filters)
68
68
  result = await self.session.execute(delete_stmt)
69
69
  await self.session.commit()
70
- return result.rowcount() > 0
70
+ return result
71
71
  except NoResultFound:
72
72
  return False
73
73
  except SQLAlchemyError as e:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: rb-commons
3
- Version: 0.1.14
3
+ Version: 0.1.15
4
4
  Summary: Commons of project and simplified orm based on sqlalchemy.
5
5
  Home-page: https://github.com/RoboSell-organization/rb-commons
6
6
  Author: Abdulvoris
@@ -5,7 +5,7 @@ with open("README.md", "r", encoding="utf-8") as fh:
5
5
 
6
6
  setup(
7
7
  name="rb-commons",
8
- version="0.1.14",
8
+ version="0.1.15",
9
9
  author="Abdulvoris",
10
10
  author_email="erkinovabdulvoris101@gmail.com",
11
11
  description="Commons of project and simplified orm based on sqlalchemy.",
File without changes
File without changes