kaq-quant-common 0.1.96__py3-none-any.whl → 0.1.97__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.
- kaq_quant_common/resources/kaq_ddb_stream_write_resources.py +8 -0
- {kaq_quant_common-0.1.96.dist-info → kaq_quant_common-0.1.97.dist-info}/METADATA +2 -2
- {kaq_quant_common-0.1.96.dist-info → kaq_quant_common-0.1.97.dist-info}/RECORD +4 -4
- {kaq_quant_common-0.1.96.dist-info → kaq_quant_common-0.1.97.dist-info}/WHEEL +1 -1
|
@@ -230,6 +230,14 @@ class KaqQuantDdbStreamMTWWriteRepository:
|
|
|
230
230
|
except Exception as e:
|
|
231
231
|
self.logger.error(f'KaqQuantDdbStreamMTWWriteRepository.insert is occured error: {str(e)} - {str(traceback.format_exc())}')
|
|
232
232
|
|
|
233
|
+
def save2stream(self, row:list=[]):
|
|
234
|
+
try:
|
|
235
|
+
if row is None or len(row) <= 0:
|
|
236
|
+
return
|
|
237
|
+
self.batch_writer.insert(*row)
|
|
238
|
+
except Exception as e:
|
|
239
|
+
self.logger.error(f'KaqQuantDdbStreamMTWWriteRepository.insert is occured error: {str(e)} - {str(traceback.format_exc())}')
|
|
240
|
+
|
|
233
241
|
def stop(self):
|
|
234
242
|
'''
|
|
235
243
|
结束调用
|
|
@@ -41,7 +41,7 @@ kaq_quant_common/resources/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJ
|
|
|
41
41
|
kaq_quant_common/resources/kaq_ddb_pool_stream_read_resources.py,sha256=Y-rtGpBF3bNh2mPZ2Lze6D9JZnpkqh24OEh7okikh1w,2536
|
|
42
42
|
kaq_quant_common/resources/kaq_ddb_stream_init_resources.py,sha256=0MxxbajocTFzcRD344rfZQPKOwwuqCbyoT6dQpIox-o,3349
|
|
43
43
|
kaq_quant_common/resources/kaq_ddb_stream_read_resources.py,sha256=WShsXMoL8o-JZvrtAd7H2Cg-vrE47QbsdGgURaQwiZs,3165
|
|
44
|
-
kaq_quant_common/resources/kaq_ddb_stream_write_resources.py,sha256=
|
|
44
|
+
kaq_quant_common/resources/kaq_ddb_stream_write_resources.py,sha256=7c8dG8YWtRM05XGQ-TRsr7V9sD753pBeyu0dSnF56kU,10850
|
|
45
45
|
kaq_quant_common/resources/kaq_mysql_init_resources.py,sha256=UcqWey6LgoMqvLq1SxK33nS6-rkViGYhzUPxcrucOks,827
|
|
46
46
|
kaq_quant_common/resources/kaq_mysql_resources.py,sha256=UYBFn-o_fFaNwG6bT2E7CYdsns82EmR4ve2XgC9wFJw,13452
|
|
47
47
|
kaq_quant_common/resources/kaq_postgresql_resources.py,sha256=iG1eYkciI0xUIBdEpGqKGOLBFxvVrfbBoTuaOmhQ0v0,1762
|
|
@@ -61,6 +61,6 @@ kaq_quant_common/utils/signal_utils.py,sha256=zBSyEltNTKqkQCsrETd47kEBb3Q_OWUBUn
|
|
|
61
61
|
kaq_quant_common/utils/sqlite_utils.py,sha256=UDDFKfwL0N-jFifl40HdyOCENh2YQfW5so6hRaSJpv0,5722
|
|
62
62
|
kaq_quant_common/utils/uuid_utils.py,sha256=pm_pnXpd8n9CI66x3A20cOEUiriJyqHaKGCeLrgkBxU,71
|
|
63
63
|
kaq_quant_common/utils/yml_utils.py,sha256=gcKjb_-uuUajBGAl5QBPIZTg2wXm7qeeJvtHflj_zOE,4513
|
|
64
|
-
kaq_quant_common-0.1.
|
|
65
|
-
kaq_quant_common-0.1.
|
|
66
|
-
kaq_quant_common-0.1.
|
|
64
|
+
kaq_quant_common-0.1.97.dist-info/METADATA,sha256=ZCQ2q1phgVK5IglZ5wU1AqUh3URNK9nwA1OIxrBu6nY,1971
|
|
65
|
+
kaq_quant_common-0.1.97.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
|
|
66
|
+
kaq_quant_common-0.1.97.dist-info/RECORD,,
|