sqla-fancy-core 1.0.0__tar.gz → 1.0.1__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.

Potentially problematic release.


This version of sqla-fancy-core might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: sqla-fancy-core
3
- Version: 1.0.0
3
+ Version: 1.0.1
4
4
  Summary: SQLAlchemy core, but fancier
5
5
  Project-URL: Homepage, https://github.com/sayanarijit/sqla-fancy-core
6
6
  Author-email: Arijit Basu <sayanarijit@gmail.com>
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = 'sqla-fancy-core'
3
- version = '1.0.0'
3
+ version = '1.0.1'
4
4
  description = 'SQLAlchemy core, but fancier'
5
5
  readme = 'README.md'
6
6
  requires-python = ">=3.7"
@@ -17,8 +17,7 @@ class TableFactory:
17
17
 
18
18
  def col(self, *args, **kwargs) -> sa.Column:
19
19
  col = sa.Column(*args, **kwargs)
20
- self.c.append(col)
21
- return col
20
+ return self(col)
22
21
 
23
22
  def integer(self, name: str, *args, **kwargs) -> sa.Column:
24
23
  return self.col(name, sa.Integer, *args, **kwargs)
File without changes
File without changes