omnata-plugin-runtime 0.8.0a198__py3-none-any.whl → 0.8.1a200__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
@@ -103,6 +103,8 @@ 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).
106
108
  """
107
109
 
108
110
  plugin_id: str
@@ -115,6 +117,8 @@ class PluginManifest(SubscriptableBaseModel):
115
117
  supported_connectivity_options: List[ConnectivityOption] = Field(
116
118
  default_factory=lambda: [ConnectivityOption.DIRECT]
117
119
  )
120
+ inbound_results_uses_json: bool = True
121
+ outbound_results_uses_json: bool = True
118
122
 
119
123
 
120
124
  class SnowflakeFunctionParameter(BaseModel):
@@ -88,7 +88,7 @@ class PluginEntrypoint:
88
88
  logger.add_extra('omnata.sync.id', request.sync_id)
89
89
  logger.add_extra('omnata.sync.direction', request.sync_direction)
90
90
  logger.add_extra('omnata.connection.id', request.connection_id)
91
- logger.add_extra('omnata.sync.run_id', request.run_id)
91
+ logger.add_extra('omnata.sync_run.id', request.run_id)
92
92
  logger.add_extra('omnata.sync_branch.id', request.sync_branch_id)
93
93
  logger.add_extra('omnata.sync_branch.name', request.sync_branch_name)
94
94
  logger.info("Entered sync method")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: omnata-plugin-runtime
3
- Version: 0.8.0a198
3
+ Version: 0.8.1a200
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=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=GAvFRnx02_beTuw1LhPgOBxS_cTJmjDXc4EwVk69ZY8,131191
7
- omnata_plugin_runtime/plugin_entrypoints.py,sha256=3nqIWOlUdNVkBu7YBqC73Gb5G_xvMUzmlZf838N0JSg,32728
6
+ omnata_plugin_runtime/omnata_plugin.py,sha256=IPJsff10ntbM-tI5fo-Pfr5i3IwDh0TSd7WOaN8Syqc,131701
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.0a198.dist-info/LICENSE,sha256=rGaMQG3R3F5-JGDp_-rlMKpDIkg5n0SI4kctTk8eZSI,56
10
- omnata_plugin_runtime-0.8.0a198.dist-info/METADATA,sha256=tnVsgQAi4ZfgczB0MjUQD-Sbezcm3jxi4TfYO124OG8,2148
11
- omnata_plugin_runtime-0.8.0a198.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
12
- omnata_plugin_runtime-0.8.0a198.dist-info/RECORD,,
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,,