omnata-plugin-runtime 0.10.18__py3-none-any.whl → 0.10.19a273__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.
- omnata_plugin_runtime/forms.py +18 -1
- {omnata_plugin_runtime-0.10.18.dist-info → omnata_plugin_runtime-0.10.19a273.dist-info}/METADATA +1 -1
- {omnata_plugin_runtime-0.10.18.dist-info → omnata_plugin_runtime-0.10.19a273.dist-info}/RECORD +5 -5
- {omnata_plugin_runtime-0.10.18.dist-info → omnata_plugin_runtime-0.10.19a273.dist-info}/LICENSE +0 -0
- {omnata_plugin_runtime-0.10.18.dist-info → omnata_plugin_runtime-0.10.19a273.dist-info}/WHEEL +0 -0
omnata_plugin_runtime/forms.py
CHANGED
@@ -222,6 +222,22 @@ class FormSliderField(SubscriptableBaseModel):
|
|
222
222
|
step_size: int = Field(default=1)
|
223
223
|
|
224
224
|
|
225
|
+
class FormSnowflakeStageField(SubscriptableBaseModel):
|
226
|
+
"""
|
227
|
+
A field which represents a stage which can be selected from a list shared to the plugin.
|
228
|
+
"""
|
229
|
+
|
230
|
+
name: str
|
231
|
+
label: str
|
232
|
+
default_value: Union[str, bool] = Field(default="")
|
233
|
+
required: bool = Field(default=False)
|
234
|
+
depends_on: Optional[str] = Field(default=None)
|
235
|
+
help_text: str = Field(default="")
|
236
|
+
reload_on_change: bool = Field(default=False)
|
237
|
+
secret: bool = Field(default=False)
|
238
|
+
type: Literal["snowflake_stage"] = "snowflake_stage"
|
239
|
+
|
240
|
+
|
225
241
|
class FormJinjaTemplate(SubscriptableBaseModel):
|
226
242
|
"""
|
227
243
|
Uses text area to allow the user to create a template, which can include column values from the source
|
@@ -340,7 +356,8 @@ FormFieldBase = Annotated[
|
|
340
356
|
FormSliderField,
|
341
357
|
FormDropdownField,
|
342
358
|
InformationField,
|
343
|
-
InformationBoxField
|
359
|
+
InformationBoxField,
|
360
|
+
FormSnowflakeStageField
|
344
361
|
],
|
345
362
|
Field(discriminator="type"),
|
346
363
|
]
|
{omnata_plugin_runtime-0.10.18.dist-info → omnata_plugin_runtime-0.10.19a273.dist-info}/RECORD
RENAMED
@@ -1,13 +1,13 @@
|
|
1
1
|
omnata_plugin_runtime/__init__.py,sha256=MS9d1whnfT_B3-ThqZ7l63QeC_8OEKTuaYV5wTwRpBA,1576
|
2
2
|
omnata_plugin_runtime/api.py,sha256=baGraSMiD4Yvi3ZWrEv_TKh8Ktd1U8riBdOpe9j0Puw,8202
|
3
3
|
omnata_plugin_runtime/configuration.py,sha256=0rfIGv8rCu8OwL7m-VOXIBjd05iyaBWRdt2h9o6scwo,46754
|
4
|
-
omnata_plugin_runtime/forms.py,sha256=
|
4
|
+
omnata_plugin_runtime/forms.py,sha256=Lrbr3otsFDrvHWJw7v-slsW4PvEHJ6BG1Yl8oaJfiDo,20529
|
5
5
|
omnata_plugin_runtime/json_schema.py,sha256=rqpJ5wjZiaE6shFB6Rv5CRHIl8xGxntibNjlh4A6Zr0,45902
|
6
6
|
omnata_plugin_runtime/logging.py,sha256=WBuZt8lF9E5oFWM4KYQbE8dDJ_HctJ1pN3BHwU6rcd0,4461
|
7
7
|
omnata_plugin_runtime/omnata_plugin.py,sha256=M0b6f9lKKEoEI0zf-ZwZcIPKPQTmHTIMhvcrBc94Mhg,133278
|
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.
|
11
|
-
omnata_plugin_runtime-0.10.
|
12
|
-
omnata_plugin_runtime-0.10.
|
13
|
-
omnata_plugin_runtime-0.10.
|
10
|
+
omnata_plugin_runtime-0.10.19a273.dist-info/LICENSE,sha256=rGaMQG3R3F5-JGDp_-rlMKpDIkg5n0SI4kctTk8eZSI,56
|
11
|
+
omnata_plugin_runtime-0.10.19a273.dist-info/METADATA,sha256=9sBAGJvDSUOAGb12LsD_uQKN4bVUIbeQqDEoVmgRa0I,2212
|
12
|
+
omnata_plugin_runtime-0.10.19a273.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
|
13
|
+
omnata_plugin_runtime-0.10.19a273.dist-info/RECORD,,
|
{omnata_plugin_runtime-0.10.18.dist-info → omnata_plugin_runtime-0.10.19a273.dist-info}/LICENSE
RENAMED
File without changes
|
{omnata_plugin_runtime-0.10.18.dist-info → omnata_plugin_runtime-0.10.19a273.dist-info}/WHEEL
RENAMED
File without changes
|