omnata-plugin-runtime 0.4.2a97__py3-none-any.whl → 0.4.3__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.
- omnata_plugin_runtime/omnata_plugin.py +10 -0
- {omnata_plugin_runtime-0.4.2a97.dist-info → omnata_plugin_runtime-0.4.3.dist-info}/METADATA +1 -1
- {omnata_plugin_runtime-0.4.2a97.dist-info → omnata_plugin_runtime-0.4.3.dist-info}/RECORD +5 -5
- {omnata_plugin_runtime-0.4.2a97.dist-info → omnata_plugin_runtime-0.4.3.dist-info}/LICENSE +0 -0
- {omnata_plugin_runtime-0.4.2a97.dist-info → omnata_plugin_runtime-0.4.3.dist-info}/WHEEL +0 -0
@@ -1126,6 +1126,16 @@ class InboundSyncRequest(SyncRequest):
|
|
1126
1126
|
Sets the record count for a stream, used to provide progress updates.
|
1127
1127
|
"""
|
1128
1128
|
self._stream_record_counts[stream_name] = count
|
1129
|
+
|
1130
|
+
def set_stream_total_records_estimate(self, stream_name: str, count: int):
|
1131
|
+
"""
|
1132
|
+
Sets the total record count for a stream, used to provide progress updates.
|
1133
|
+
This should be a best estimate of the number of changes which will be fetched from the source.
|
1134
|
+
In other words, as results are enqueued they should build toward reaching this number as the sync progresses.
|
1135
|
+
This does not have to be exact, it's just to give the user some feedback while the sync is running.
|
1136
|
+
Totals will always be replaced by the actual count when the stream is completed.
|
1137
|
+
"""
|
1138
|
+
self._total_records_estimate[stream_name] = count
|
1129
1139
|
|
1130
1140
|
def _enqueue_state(self, stream_name: str, new_state: Any):
|
1131
1141
|
"""
|
@@ -3,10 +3,10 @@ omnata_plugin_runtime/api.py,sha256=W79CsAcl127Dzy-XVS9CzvzsbS3IigVH4QAhFFDkaXg,
|
|
3
3
|
omnata_plugin_runtime/configuration.py,sha256=7cMekoY8CeZAJHpASU6tCMidF55Hzfr7CD74jtebqIY,35742
|
4
4
|
omnata_plugin_runtime/forms.py,sha256=pw_aKVsXSz47EP8PFBI3VDwdSN5IjvZxp8JTjO1V130,18421
|
5
5
|
omnata_plugin_runtime/logging.py,sha256=bn7eKoNWvtuyTk7RTwBS9UARMtqkiICtgMtzq3KA2V0,3272
|
6
|
-
omnata_plugin_runtime/omnata_plugin.py,sha256=
|
6
|
+
omnata_plugin_runtime/omnata_plugin.py,sha256=mCZ0904ONvYx6VFsoTHI45gA4dvUv30fYBO9DWIYDa0,107734
|
7
7
|
omnata_plugin_runtime/plugin_entrypoints.py,sha256=wco1QqubxxE-cMYQiu8D3pUZss3QeiAlrF2UFg5m0GM,28404
|
8
8
|
omnata_plugin_runtime/rate_limiting.py,sha256=29Hjsr0i1rE8jERVdIFGINfQfp_kI3PDft-IM_ZxvCA,21509
|
9
|
-
omnata_plugin_runtime-0.4.
|
10
|
-
omnata_plugin_runtime-0.4.
|
11
|
-
omnata_plugin_runtime-0.4.
|
12
|
-
omnata_plugin_runtime-0.4.
|
9
|
+
omnata_plugin_runtime-0.4.3.dist-info/LICENSE,sha256=IMF9i4xIpgCADf0U-V1cuf9HBmqWQd3qtI3FSuyW4zE,26526
|
10
|
+
omnata_plugin_runtime-0.4.3.dist-info/METADATA,sha256=z6mxU9qUCvgmi-ROy_B2Jibo_OVJqRF4c0Olo4-f-48,1638
|
11
|
+
omnata_plugin_runtime-0.4.3.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
12
|
+
omnata_plugin_runtime-0.4.3.dist-info/RECORD,,
|
File without changes
|
File without changes
|