omnata-plugin-runtime 0.4.2a97__tar.gz → 0.4.3a98__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {omnata_plugin_runtime-0.4.2a97 → omnata_plugin_runtime-0.4.3a98}/PKG-INFO +1 -1
- {omnata_plugin_runtime-0.4.2a97 → omnata_plugin_runtime-0.4.3a98}/pyproject.toml +1 -1
- {omnata_plugin_runtime-0.4.2a97 → omnata_plugin_runtime-0.4.3a98}/src/omnata_plugin_runtime/omnata_plugin.py +10 -0
- {omnata_plugin_runtime-0.4.2a97 → omnata_plugin_runtime-0.4.3a98}/LICENSE +0 -0
- {omnata_plugin_runtime-0.4.2a97 → omnata_plugin_runtime-0.4.3a98}/README.md +0 -0
- {omnata_plugin_runtime-0.4.2a97 → omnata_plugin_runtime-0.4.3a98}/src/omnata_plugin_runtime/__init__.py +0 -0
- {omnata_plugin_runtime-0.4.2a97 → omnata_plugin_runtime-0.4.3a98}/src/omnata_plugin_runtime/api.py +0 -0
- {omnata_plugin_runtime-0.4.2a97 → omnata_plugin_runtime-0.4.3a98}/src/omnata_plugin_runtime/configuration.py +0 -0
- {omnata_plugin_runtime-0.4.2a97 → omnata_plugin_runtime-0.4.3a98}/src/omnata_plugin_runtime/forms.py +0 -0
- {omnata_plugin_runtime-0.4.2a97 → omnata_plugin_runtime-0.4.3a98}/src/omnata_plugin_runtime/logging.py +0 -0
- {omnata_plugin_runtime-0.4.2a97 → omnata_plugin_runtime-0.4.3a98}/src/omnata_plugin_runtime/plugin_entrypoints.py +0 -0
- {omnata_plugin_runtime-0.4.2a97 → omnata_plugin_runtime-0.4.3a98}/src/omnata_plugin_runtime/rate_limiting.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
[tool.poetry]
|
2
2
|
name = "omnata-plugin-runtime"
|
3
|
-
version = "0.4.
|
3
|
+
version = "0.4.3-a98"
|
4
4
|
description = "Classes and common runtime components for building and running Omnata Plugins"
|
5
5
|
authors = ["James Weakley <james.weakley@omnata.com>"]
|
6
6
|
readme = "README.md"
|
@@ -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
|
"""
|
File without changes
|
File without changes
|
File without changes
|
{omnata_plugin_runtime-0.4.2a97 → omnata_plugin_runtime-0.4.3a98}/src/omnata_plugin_runtime/api.py
RENAMED
File without changes
|
File without changes
|
{omnata_plugin_runtime-0.4.2a97 → omnata_plugin_runtime-0.4.3a98}/src/omnata_plugin_runtime/forms.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|