omnata-plugin-runtime 0.10.0a225__py3-none-any.whl → 0.10.1a226__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.
@@ -105,6 +105,12 @@ class PluginManifest(SubscriptableBaseModel):
105
105
  :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.
106
106
  :param List[OutboundSyncStrategy] supported_outbound_strategies: A list of sync strategies that the plugin can support, e.g. create,upsert.
107
107
  :param List[ConnectivityOption] supported_connectivity_options: A list of connectivity options that the plugin can support, e.g. direct,ngrok,privatelink
108
+ :param str timestamp_tz_format: The format to use when converting TIMESTAMP_TZ values to strings in the transformed record.
109
+ :param str timestamp_ntz_format: The format to use when converting TIMESTAMP_NTZ values to strings in the transformed record.
110
+ :param str timestamp_ltz_format: The format to use when converting TIMESTAMP_LTZ values to strings in the transformed record.
111
+ For each of the above three formats, you can include "{{precision}}" to substitute the precision of the timestamp, if that matters.
112
+ For example, "YYYY-MM-DDTHH24:MI:SS.FF{{precision}}TZHTZM" would be a valid format string.
113
+ :param str date_format: The format to use when converting DATE values to strings in the transformed record.
108
114
  """
109
115
 
110
116
  plugin_id: str
@@ -123,6 +129,22 @@ class PluginManifest(SubscriptableBaseModel):
123
129
  default=None,
124
130
  title="An optional list of target types that the plugin can support."
125
131
  )
132
+ timestamp_tz_format: Optional[str] = Field(
133
+ default="YYYY-MM-DD HH24:MI:SS.FF3 TZHTZM",
134
+ title="The format to use when converting TIMESTAMP_TZ values to strings in the transformed record."
135
+ )
136
+ timestamp_ntz_format: Optional[str] = Field(
137
+ default="YYYY-MM-DD HH24:MI:SS.FF3",
138
+ title="The format to use when converting TIMESTAMP_NTZ values to strings in the transformed record."
139
+ )
140
+ timestamp_ltz_format: Optional[str] = Field(
141
+ default="YYYY-MM-DD HH24:MI:SS.FF3 TZHTZM",
142
+ title="The format to use when converting TIMESTAMP_LTZ values to strings in the transformed record."
143
+ )
144
+ date_format: Optional[str] = Field(
145
+ default="YYYY-MM-DD",
146
+ title="YYYY-MM-DD"
147
+ )
126
148
 
127
149
  class SnowflakeFunctionParameter(BaseModel):
128
150
  """
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: omnata-plugin-runtime
3
- Version: 0.10.0a225
3
+ Version: 0.10.1a226
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
@@ -4,10 +4,10 @@ omnata_plugin_runtime/configuration.py,sha256=H1snDDtS4DF2AILynob878ZKcronnZl5Qi
4
4
  omnata_plugin_runtime/forms.py,sha256=9YHJ_T17lT-rwyDaUg_0yj_YMPda4DRCw_wrvf8hE0E,19964
5
5
  omnata_plugin_runtime/json_schema.py,sha256=7nsluzRHn5gmlV4V2G1ostOBstUuIbacBbQr3WsqGcU,26795
6
6
  omnata_plugin_runtime/logging.py,sha256=WBuZt8lF9E5oFWM4KYQbE8dDJ_HctJ1pN3BHwU6rcd0,4461
7
- omnata_plugin_runtime/omnata_plugin.py,sha256=tiadN2PG6hyiVQR3OXf26PyV4OnpxgWejo6gcruLBCA,131820
7
+ omnata_plugin_runtime/omnata_plugin.py,sha256=QiLMXj2pCNAH2BeqEolEpRCqhfzkfbO7pNMVJUPv48I,133317
8
8
  omnata_plugin_runtime/plugin_entrypoints.py,sha256=iqGl8_nEEnPGKg3Aem4YLSQ6d5xS3ju5gq8MJbx6sCA,31968
9
9
  omnata_plugin_runtime/rate_limiting.py,sha256=qpr5esU4Ks8hMzuMpSR3gLFdor2ZUXYWCjmsQH_K6lQ,25882
10
- omnata_plugin_runtime-0.10.0a225.dist-info/LICENSE,sha256=rGaMQG3R3F5-JGDp_-rlMKpDIkg5n0SI4kctTk8eZSI,56
11
- omnata_plugin_runtime-0.10.0a225.dist-info/METADATA,sha256=ev52mLnbJemAtBpXkcdCWBhAvs8f5FQwvrOrt2uUljM,2211
12
- omnata_plugin_runtime-0.10.0a225.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
13
- omnata_plugin_runtime-0.10.0a225.dist-info/RECORD,,
10
+ omnata_plugin_runtime-0.10.1a226.dist-info/LICENSE,sha256=rGaMQG3R3F5-JGDp_-rlMKpDIkg5n0SI4kctTk8eZSI,56
11
+ omnata_plugin_runtime-0.10.1a226.dist-info/METADATA,sha256=hhqMUYKwRN9JLCS89kO4NKpmXI0Uy0HNknvVBu7Z-eQ,2211
12
+ omnata_plugin_runtime-0.10.1a226.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
13
+ omnata_plugin_runtime-0.10.1a226.dist-info/RECORD,,