omnata-plugin-runtime 0.4.1a92__py3-none-any.whl → 0.4.1a93__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.
@@ -875,6 +875,13 @@ class InboundSyncRequest(SyncRequest):
875
875
  :param bool test_replay_mode: When enabled, it is safe to assume that HTTP requests are hitting a re-recorded log, so there is no need to wait in between polling
876
876
  :return: nothing
877
877
  """
878
+ self.streams = streams
879
+ self._streams_dict: Dict[str, StoredStreamConfiguration] = {
880
+ s.stream_name: s for s in streams
881
+ }
882
+ self._stream_record_counts: Dict[str, int] = {
883
+ stream_name: 0 for stream_name in self._streams_dict.keys()
884
+ }
878
885
  SyncRequest.__init__(
879
886
  self,
880
887
  run_id=run_id,
@@ -890,10 +897,6 @@ class InboundSyncRequest(SyncRequest):
890
897
  development_mode=development_mode,
891
898
  test_replay_mode=test_replay_mode
892
899
  )
893
- self.streams = streams
894
- self._streams_dict: Dict[str, StoredStreamConfiguration] = {
895
- s.stream_name: s for s in streams
896
- }
897
900
  self._apply_results: Dict[str, List[pandas.DataFrame]] = {}
898
901
  # named by convention, see SyncRunProcessor.enqueue
899
902
  self._criteria_deletes_table_name = (
@@ -907,9 +910,6 @@ class InboundSyncRequest(SyncRequest):
907
910
  self._results_exist: Dict[
908
911
  str, bool
909
912
  ] = {} # track whether or not results exist for stream
910
- self._stream_record_counts: Dict[str, int] = {
911
- stream_name: 0 for stream_name in self._streams_dict.keys()
912
- }
913
913
  self._total_records_estimate: Optional[Dict[str,int]] = {}
914
914
  self._stream_change_counts: Dict[str, int] = {
915
915
  stream_name: 0 for stream_name in self._streams_dict.keys()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: omnata-plugin-runtime
3
- Version: 0.4.1a92
3
+ Version: 0.4.1a93
4
4
  Summary: Classes and common runtime components for building and running Omnata Plugins
5
5
  Author: James Weakley
6
6
  Author-email: james.weakley@omnata.com
@@ -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=Jo56GU7R3yUWP0-Go_71P7sxD7XUE2Z0VwNc_eHi33w,107057
6
+ omnata_plugin_runtime/omnata_plugin.py,sha256=A9A-HXbYUAiH3jtatFKfttnh2CqjXGcdiLB5grloSb4,107057
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.1a92.dist-info/LICENSE,sha256=IMF9i4xIpgCADf0U-V1cuf9HBmqWQd3qtI3FSuyW4zE,26526
10
- omnata_plugin_runtime-0.4.1a92.dist-info/METADATA,sha256=cjZerqDeUKTk9hgJcVrqv8CAC5wYOW-UYxXHjQ0ppWQ,1641
11
- omnata_plugin_runtime-0.4.1a92.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
12
- omnata_plugin_runtime-0.4.1a92.dist-info/RECORD,,
9
+ omnata_plugin_runtime-0.4.1a93.dist-info/LICENSE,sha256=IMF9i4xIpgCADf0U-V1cuf9HBmqWQd3qtI3FSuyW4zE,26526
10
+ omnata_plugin_runtime-0.4.1a93.dist-info/METADATA,sha256=cphXuUFXqq76rJsLzn95YjmkZL_mJMJ0iv1dPJ1s2uo,1641
11
+ omnata_plugin_runtime-0.4.1a93.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
12
+ omnata_plugin_runtime-0.4.1a93.dist-info/RECORD,,