wbfdm 1.56.1__py2.py3-none-any.whl → 1.56.2__py2.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.

Potentially problematic release.


This version of wbfdm might be problematic. Click here for more details.

@@ -293,7 +293,7 @@ def trigger_partial_update(
293
293
  else:
294
294
  with connections["qa"].cursor() as cursor:
295
295
  cursor.execute(
296
- "SELECT MAX(last_user_update) FROM sys.dm_db_index_usage_stats WHERE OBJECT_NAME(object_id) = %s'",
296
+ "SELECT MAX(last_user_update) FROM sys.dm_db_index_usage_stats WHERE OBJECT_NAME(object_id) = %s",
297
297
  (table_change_name,),
298
298
  )
299
299
  max_last_updated_qa = (
@@ -301,8 +301,7 @@ def trigger_partial_update(
301
301
  )
302
302
  if max_last_updated_qa and max_last_updated_qa > max_last_updated:
303
303
  for _, security_id in cursor.execute(
304
- "SELECT UpdateFlag_, %s FROM %s",
305
- (id_field, table_change_name),
304
+ f"SELECT UpdateFlag_, {id_field} FROM {table_change_name}" # noqa: S608
306
305
  ).fetchall():
307
306
  try:
308
307
  update_or_create_item(security_id)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: wbfdm
3
- Version: 1.56.1
3
+ Version: 1.56.2
4
4
  Summary: The workbench module ensures rapid access to diverse financial data (market, fundamental, forecasts, ESG), with features for storing instruments, classifying them, and conducting financial analysis.
5
5
  Author-email: Christopher Wittlinger <c.wittlinger@stainly.com>
6
6
  Requires-Dist: roman==4.*
@@ -117,7 +117,7 @@ wbfdm/contrib/qa/jinja2/qa/sql/ibes/estimates.sql,sha256=OWgeogSFj7-OdXvJTvNsThN
117
117
  wbfdm/contrib/qa/jinja2/qa/sql/ibes/financials.sql,sha256=i8esPCG_ARiXlfSKajqBRH0jiXT_efOvw3No6zEvwn4,2612
118
118
  wbfdm/contrib/qa/sync/exchanges.py,sha256=XU7dj-rQzMlDku9lnmAACaTRoxx8pFSyr5kCK79cYAc,3124
119
119
  wbfdm/contrib/qa/sync/instruments.py,sha256=8aTQVJ_cw1phe4FWikn79pjCfUijaTcwkdhQCtSXKH0,3156
120
- wbfdm/contrib/qa/sync/utils.py,sha256=CwcUJoCjLBY7brx4KdgNw2JdVw9dklvt8JMaWCfnnQ0,12204
120
+ wbfdm/contrib/qa/sync/utils.py,sha256=0FkFFlubYWW68gzZ92G8M2SMx1djWNBUWvQWYcn-RIc,12191
121
121
  wbfdm/dataloaders/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
122
122
  wbfdm/dataloaders/cache.py,sha256=K9BeVxT7p-BMvjurINt18bfrUDccp840uIjfDBLJRNk,4841
123
123
  wbfdm/dataloaders/protocols.py,sha256=QLa0y890gwnTeDGTnM58iNEYxugzj9Q9bmIRoapzc_0,3211
@@ -364,6 +364,6 @@ wbfdm/viewsets/statements/__init__.py,sha256=odxtFYUDICPmz8WCE3nx93EvKZLSPBEI4d7
364
364
  wbfdm/viewsets/statements/statements.py,sha256=gA6RCI8-B__JwjEb6OZxpn8Y-9aF-YQ3HIQ7e1vfJMw,4304
365
365
  wbfdm/viewsets/technical_analysis/__init__.py,sha256=qtCIBg0uSiZeJq_1tEQFilnorMBkMe6uCMfqar6-cLE,77
366
366
  wbfdm/viewsets/technical_analysis/monthly_performances.py,sha256=O1j8CGfOranL74LqVvcf7jERaDIboEJZiBf_AbbVDQ8,3974
367
- wbfdm-1.56.1.dist-info/METADATA,sha256=1amTw1NVPFrkD5-cfIQg7dYw5VmkqfEgLy_PFrz546c,768
368
- wbfdm-1.56.1.dist-info/WHEEL,sha256=tkmg4JIqwd9H8mL30xA7crRmoStyCtGp0VWshokd1Jc,105
369
- wbfdm-1.56.1.dist-info/RECORD,,
367
+ wbfdm-1.56.2.dist-info/METADATA,sha256=e4nbdVn7-Q61OGFVkOPO0nO4HxNA-e6lcInXEtXHSOE,768
368
+ wbfdm-1.56.2.dist-info/WHEEL,sha256=tkmg4JIqwd9H8mL30xA7crRmoStyCtGp0VWshokd1Jc,105
369
+ wbfdm-1.56.2.dist-info/RECORD,,
File without changes