commons-metrics 0.0.9__py3-none-any.whl → 0.0.11__py3-none-any.whl

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.
@@ -3,4 +3,4 @@ from .database import DatabaseConnection
3
3
  from .repositories import ComponentRepository
4
4
 
5
5
  __all__ = ['Util', 'DatabaseConnection', 'ComponentRepository']
6
- __version__ = '0.0.9'
6
+ __version__ = '0.0.11'
@@ -23,7 +23,7 @@ class ComponentRepository:
23
23
  cursor = self.db.connection.cursor()
24
24
 
25
25
  insert_query = """
26
- INSERT INTO schmesys.component(technical_name,functional_name, id_type, folder, class_name, status)
26
+ INSERT INTO schmesys.component(technical_name,functional_name, id_subtype, folder, class_name, status)
27
27
  VALUES (%s, %s, %s, %s, %s, %s)
28
28
  RETURNING id;
29
29
  """
@@ -53,9 +53,9 @@ class ComponentRepository:
53
53
  cursor = self.db.connection.cursor()
54
54
 
55
55
  query = """
56
- SELECT id, technical_name, id_type, status
56
+ SELECT *
57
57
  FROM schmesys.component
58
- WHERE id_type = %s
58
+ WHERE id_subtype = %s
59
59
  ORDER BY technical_name
60
60
  """
61
61
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: commons_metrics
3
- Version: 0.0.9
3
+ Version: 0.0.11
4
4
  Summary: A simple library for basic statistical calculations
5
5
  Author: Bancolombia
6
6
  Author-email: omar.david.pino@email.com
@@ -0,0 +1,9 @@
1
+ commons_metrics/__init__.py,sha256=TVpiknQKl1JfkFnSeRRYlDvxn8dZrOdKdn8EEi5cIdc,197
2
+ commons_metrics/database.py,sha256=570TtLZ9psNzvIp75UFLYph34cKVEz6eGJgxXyRyjW4,1285
3
+ commons_metrics/repositories.py,sha256=MRaSR9TRGMw__yqPeuj7jTfnLa6vVGbJxRAkmCxKQM8,2637
4
+ commons_metrics/util.py,sha256=98zuynalXumQRh-BB0Bcjyoh6vS2BTOUM8tVgr7iS9Q,1225
5
+ commons_metrics-0.0.11.dist-info/licenses/LICENSE,sha256=jsHZ2Sh1wCL74HC25pDDGXCyQ0xgsTAy62FvEnehKIg,1067
6
+ commons_metrics-0.0.11.dist-info/METADATA,sha256=tiIACjEPSvyXfFSJSej7RnWPTVn3ETUHOwJ78Fhairs,402
7
+ commons_metrics-0.0.11.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
8
+ commons_metrics-0.0.11.dist-info/top_level.txt,sha256=lheUN-3OKdU3A8Tg8Y-1IEB_9i_vVRA0g_FOiUsTQz8,16
9
+ commons_metrics-0.0.11.dist-info/RECORD,,
@@ -1,9 +0,0 @@
1
- commons_metrics/__init__.py,sha256=GdTtRHszpEkb-1smZfNDg1XOSZLuyWJlx1WTKvRK4uo,196
2
- commons_metrics/database.py,sha256=570TtLZ9psNzvIp75UFLYph34cKVEz6eGJgxXyRyjW4,1285
3
- commons_metrics/repositories.py,sha256=2spfLDfzg6p0HW_bZVhfrWv6i66vCwfKhLpYz5pLq14,2665
4
- commons_metrics/util.py,sha256=98zuynalXumQRh-BB0Bcjyoh6vS2BTOUM8tVgr7iS9Q,1225
5
- commons_metrics-0.0.9.dist-info/licenses/LICENSE,sha256=jsHZ2Sh1wCL74HC25pDDGXCyQ0xgsTAy62FvEnehKIg,1067
6
- commons_metrics-0.0.9.dist-info/METADATA,sha256=mYw-3-l43Xe9id5Z3-YbN-pORVid5JUBMNeGMuaoyBc,401
7
- commons_metrics-0.0.9.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
8
- commons_metrics-0.0.9.dist-info/top_level.txt,sha256=lheUN-3OKdU3A8Tg8Y-1IEB_9i_vVRA0g_FOiUsTQz8,16
9
- commons_metrics-0.0.9.dist-info/RECORD,,