omnata-plugin-runtime 0.4.0a87__py3-none-any.whl → 0.4.0a88__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 +7 -6
- {omnata_plugin_runtime-0.4.0a87.dist-info → omnata_plugin_runtime-0.4.0a88.dist-info}/METADATA +1 -1
- {omnata_plugin_runtime-0.4.0a87.dist-info → omnata_plugin_runtime-0.4.0a88.dist-info}/RECORD +5 -5
- {omnata_plugin_runtime-0.4.0a87.dist-info → omnata_plugin_runtime-0.4.0a88.dist-info}/LICENSE +0 -0
- {omnata_plugin_runtime-0.4.0a87.dist-info → omnata_plugin_runtime-0.4.0a88.dist-info}/WHEEL +0 -0
@@ -350,12 +350,13 @@ class SyncRequest(ABC):
|
|
350
350
|
update_rate_limit_result = self._plugin_message(
|
351
351
|
PluginMessageRateLimitState(rate_limit_state=self.rate_limit_state_this_sync_and_branch)
|
352
352
|
)
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
353
|
+
if update_rate_limit_result is not None:
|
354
|
+
sync_id:int = update_rate_limit_result["sync_id"]
|
355
|
+
sync_branch_name:str = update_rate_limit_result["sync_branch_name"]
|
356
|
+
latest_state:Dict[int,Dict[str,Dict[str,RateLimitState]]] = parse_obj_as(Dict[int,Dict[str,Dict[str,RateLimitState]]],update_rate_limit_result["latest_state"])
|
357
|
+
(rate_limit_state_all, rate_limit_state_this_branch) = RateLimitState.collapse(latest_state,sync_id, sync_branch_name)
|
358
|
+
self.rate_limit_state_all = rate_limit_state_all
|
359
|
+
self.rate_limit_state_this_sync_and_branch = rate_limit_state_this_branch
|
359
360
|
else:
|
360
361
|
logger.info("No rate limit state to update")
|
361
362
|
|
{omnata_plugin_runtime-0.4.0a87.dist-info → omnata_plugin_runtime-0.4.0a88.dist-info}/RECORD
RENAMED
@@ -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=iTt5a69IIQPlQvdMnynRVn3d825nx1M04NuXZUipLxI,105693
|
7
7
|
omnata_plugin_runtime/plugin_entrypoints.py,sha256=D2f0Qih7KTJNXIDYkA-E55RTEK_7Jtv9ySqspWxERVA,28272
|
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.0a88.dist-info/LICENSE,sha256=IMF9i4xIpgCADf0U-V1cuf9HBmqWQd3qtI3FSuyW4zE,26526
|
10
|
+
omnata_plugin_runtime-0.4.0a88.dist-info/METADATA,sha256=i6A408aPm8ATPDIRGYGgmq58UMrzeeA_9c7SrUX7p0I,1603
|
11
|
+
omnata_plugin_runtime-0.4.0a88.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
12
|
+
omnata_plugin_runtime-0.4.0a88.dist-info/RECORD,,
|
{omnata_plugin_runtime-0.4.0a87.dist-info → omnata_plugin_runtime-0.4.0a88.dist-info}/LICENSE
RENAMED
File without changes
|
File without changes
|