omnata-plugin-runtime 0.8.1a200__py3-none-any.whl → 0.8.2__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
@@ -103,8 +103,6 @@ class PluginManifest(SubscriptableBaseModel):
103
103
  :param bool supports_inbound: A flag to indicate whether or not the plugin supports inbound sync. Support for inbound sync behaviours (full/incremental) is defined per inbound stream.
104
104
  :param List[OutboundSyncStrategy] supported_outbound_strategies: A list of sync strategies that the plugin can support, e.g. create,upsert.
105
105
  :param List[ConnectivityOption] supported_connectivity_options: A list of connectivity options that the plugin can support, e.g. direct,ngrok,privatelink
106
- :param bool inbound_results_uses_json: A flag to indicate whether or not the plugin returns inbound sync results in JSON format (RECORD_DATA column) or straight into OBJECT columns (RECORD_OBJECT column).
107
- :param bool outbound_results_uses_json: A flag to indicate whether or not the plugin returns outbound sync results in JSON format (RESULT column) or straight into OBJECT columns (RESULT_OBJECT column).
108
106
  """
109
107
 
110
108
  plugin_id: str
@@ -117,8 +115,6 @@ class PluginManifest(SubscriptableBaseModel):
117
115
  supported_connectivity_options: List[ConnectivityOption] = Field(
118
116
  default_factory=lambda: [ConnectivityOption.DIRECT]
119
117
  )
120
- inbound_results_uses_json: bool = True
121
- outbound_results_uses_json: bool = True
122
118
 
123
119
 
124
120
  class SnowflakeFunctionParameter(BaseModel):
@@ -2154,7 +2150,7 @@ def __managed_inbound_processing_worker(
2154
2150
  try:
2155
2151
  with tracer.start_as_current_span("managed_inbound_processing") as managed_inbound_processing_span:
2156
2152
  logger.debug(f"worker {worker_index} processing stream {stream.stream_name}, invoking plugin class method {method.__name__}")
2157
- managed_inbound_processing_span.set_attribute("stream_name", stream.stream_name)
2153
+ managed_inbound_processing_span.set_attribute("omnata.sync.stream_name", stream.stream_name)
2158
2154
  result = method(plugin_class_obj, *(stream, *method_args), **method_kwargs)
2159
2155
  logger.debug(f"worker {worker_index} completed processing stream {stream.stream_name}")
2160
2156
  if result is not None and result is False:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: omnata-plugin-runtime
3
- Version: 0.8.1a200
3
+ Version: 0.8.2
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
@@ -35,7 +35,7 @@ Requires-Dist: pyyaml (<=6.0.1)
35
35
  Requires-Dist: requests (>=2,<=2.32.3)
36
36
  Requires-Dist: setuptools (<=72.1.0)
37
37
  Requires-Dist: snowflake-connector-python (>=3,<=3.12.0)
38
- Requires-Dist: snowflake-snowpark-python (==1.23.0)
38
+ Requires-Dist: snowflake-snowpark-python (>=1.20.0,<=1.24.0)
39
39
  Requires-Dist: snowflake-telemetry-python (<=0.5.0)
40
40
  Requires-Dist: tenacity (>=8,<=8.2.3)
41
41
  Requires-Dist: tomlkit (<=0.11.1)
@@ -51,3 +51,4 @@ It contains data classes, interfaces and application logic used to perform plugi
51
51
 
52
52
  For instructions on creating plugins, visit our [docs site](https://docs.omnata.com/omnata-product-documentation/omnata-sync-for-snowflake/plugins/creating-plugins).
53
53
 
54
+
@@ -3,10 +3,10 @@ omnata_plugin_runtime/api.py,sha256=tVi4KLL0v5N3yz3Ie0kSyFemryu572gCbtSRfWN6wBU,
3
3
  omnata_plugin_runtime/configuration.py,sha256=6JmgE4SL3F5cGlDYqt17A1vTFu6nB74yWgEpQ5qV9ho,38380
4
4
  omnata_plugin_runtime/forms.py,sha256=ueodN2GIMS5N9fqebpY4uNGJnjEb9HcuaVQVfWH-cGg,19838
5
5
  omnata_plugin_runtime/logging.py,sha256=WBuZt8lF9E5oFWM4KYQbE8dDJ_HctJ1pN3BHwU6rcd0,4461
6
- omnata_plugin_runtime/omnata_plugin.py,sha256=IPJsff10ntbM-tI5fo-Pfr5i3IwDh0TSd7WOaN8Syqc,131701
6
+ omnata_plugin_runtime/omnata_plugin.py,sha256=-JWudJopR-swV2b04krprpBsgnNyzbuGOIlwugG_o_c,131203
7
7
  omnata_plugin_runtime/plugin_entrypoints.py,sha256=sB_h6OBEMk7lTLIjdNrNo9Sthk8UE9PnK2AUcQJPe9I,32728
8
8
  omnata_plugin_runtime/rate_limiting.py,sha256=eOWVRYWiqPlVeYzmB1exVXfXbrcpmYb7vtTi9B-4zkQ,25868
9
- omnata_plugin_runtime-0.8.1a200.dist-info/LICENSE,sha256=rGaMQG3R3F5-JGDp_-rlMKpDIkg5n0SI4kctTk8eZSI,56
10
- omnata_plugin_runtime-0.8.1a200.dist-info/METADATA,sha256=74Q2Awe5k93Sfrro7QjqNXNSpfbQ1w6tW2QMjA1PLzo,2148
11
- omnata_plugin_runtime-0.8.1a200.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
12
- omnata_plugin_runtime-0.8.1a200.dist-info/RECORD,,
9
+ omnata_plugin_runtime-0.8.2.dist-info/LICENSE,sha256=rGaMQG3R3F5-JGDp_-rlMKpDIkg5n0SI4kctTk8eZSI,56
10
+ omnata_plugin_runtime-0.8.2.dist-info/METADATA,sha256=MhZlmrbOfCXjGHyQ2eQLa0DsPimezsw964VFpB4hj_E,2154
11
+ omnata_plugin_runtime-0.8.2.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
12
+ omnata_plugin_runtime-0.8.2.dist-info/RECORD,,