omnata-plugin-runtime 0.4.2a94__py3-none-any.whl → 0.4.2a95__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
@@ -882,6 +882,20 @@ class InboundSyncRequest(SyncRequest):
882
882
  self._stream_record_counts: Dict[str, int] = {
883
883
  stream_name: 0 for stream_name in self._streams_dict.keys()
884
884
  }
885
+
886
+ # These are similar to the results, but represent requests to delete records by some criteria
887
+ self._apply_results_criteria_deletes: Dict[str, List[pandas.DataFrame]] = {}
888
+ self._latest_states: Dict[str, Any] = {}
889
+ self._temp_tables = {}
890
+ self._temp_table_lock = threading.Lock()
891
+ self._results_exist: Dict[
892
+ str, bool
893
+ ] = {} # track whether or not results exist for stream
894
+ self._total_records_estimate: Optional[Dict[str,int]] = {}
895
+ self._stream_change_counts: Dict[str, int] = {
896
+ stream_name: 0 for stream_name in self._streams_dict.keys()
897
+ }
898
+ self._completed_streams: List[str] = []
885
899
  SyncRequest.__init__(
886
900
  self,
887
901
  run_id=run_id,
@@ -897,24 +911,11 @@ class InboundSyncRequest(SyncRequest):
897
911
  development_mode=development_mode,
898
912
  test_replay_mode=test_replay_mode
899
913
  )
900
- self._apply_results: Dict[str, List[pandas.DataFrame]] = {}
901
914
  # named by convention, see SyncRunProcessor.enqueue
902
915
  self._criteria_deletes_table_name = (
903
916
  f"{self._source_app_name}.{self._results_schema_name}.{self._results_table_name}_CRITERIA_DELETES"
904
917
  )
905
- # These are similar to the results, but represent requests to delete records by some criteria
906
- self._apply_results_criteria_deletes: Dict[str, List[pandas.DataFrame]] = {}
907
- self._latest_states: Dict[str, Any] = {}
908
- self._temp_tables = {}
909
- self._temp_table_lock = threading.Lock()
910
- self._results_exist: Dict[
911
- str, bool
912
- ] = {} # track whether or not results exist for stream
913
- self._total_records_estimate: Optional[Dict[str,int]] = {}
914
- self._stream_change_counts: Dict[str, int] = {
915
- stream_name: 0 for stream_name in self._streams_dict.keys()
916
- }
917
- self._completed_streams: List[str] = []
918
+ self._apply_results: Dict[str, List[pandas.DataFrame]] = {}
918
919
  self._omnata_log_handler = omnata_log_handler
919
920
 
920
921
  def apply_results_queue(self):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: omnata-plugin-runtime
3
- Version: 0.4.2a94
3
+ Version: 0.4.2a95
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=A9A-HXbYUAiH3jtatFKfttnh2CqjXGcdiLB5grloSb4,107057
6
+ omnata_plugin_runtime/omnata_plugin.py,sha256=3eAtPFz62-DzKopU03MieT2dteWMB6MaqUk8rzrOWos,107066
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.2a94.dist-info/LICENSE,sha256=IMF9i4xIpgCADf0U-V1cuf9HBmqWQd3qtI3FSuyW4zE,26526
10
- omnata_plugin_runtime-0.4.2a94.dist-info/METADATA,sha256=nBu3n2BRsUpweCx6e5Wr6V_8WbWNecj31XtE_j44Gcg,1641
11
- omnata_plugin_runtime-0.4.2a94.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
12
- omnata_plugin_runtime-0.4.2a94.dist-info/RECORD,,
9
+ omnata_plugin_runtime-0.4.2a95.dist-info/LICENSE,sha256=IMF9i4xIpgCADf0U-V1cuf9HBmqWQd3qtI3FSuyW4zE,26526
10
+ omnata_plugin_runtime-0.4.2a95.dist-info/METADATA,sha256=8oHLGFavciF_ac0XtvKt50d3ASFHvcZwR06lBliMmNI,1641
11
+ omnata_plugin_runtime-0.4.2a95.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
12
+ omnata_plugin_runtime-0.4.2a95.dist-info/RECORD,,