omnata-plugin-runtime 0.10.26a283__py3-none-any.whl → 0.10.27a285__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/omnata_plugin.py +11 -1
- {omnata_plugin_runtime-0.10.26a283.dist-info → omnata_plugin_runtime-0.10.27a285.dist-info}/METADATA +1 -1
- {omnata_plugin_runtime-0.10.26a283.dist-info → omnata_plugin_runtime-0.10.27a285.dist-info}/RECORD +5 -5
- {omnata_plugin_runtime-0.10.26a283.dist-info → omnata_plugin_runtime-0.10.27a285.dist-info}/LICENSE +0 -0
- {omnata_plugin_runtime-0.10.26a283.dist-info → omnata_plugin_runtime-0.10.27a285.dist-info}/WHEEL +0 -0
@@ -1634,6 +1634,8 @@ class DailyBillingEventRequest(BaseModel):
|
|
1634
1634
|
billing_schedule: Literal["DAILY"] = "DAILY"
|
1635
1635
|
billable_connections_inbound: int = 0
|
1636
1636
|
billable_connections_outbound: int = 0
|
1637
|
+
ngrok_connections_inbound: int = 0
|
1638
|
+
ngrok_connections_outbound: int = 0
|
1637
1639
|
# below is deprecated
|
1638
1640
|
has_active_inbound: bool = False
|
1639
1641
|
has_active_outbound: bool = False
|
@@ -1887,7 +1889,15 @@ class OmnataPlugin(ABC):
|
|
1887
1889
|
base_charge=additional_charge,
|
1888
1890
|
)
|
1889
1891
|
)
|
1890
|
-
|
1892
|
+
if request.ngrok_connections_inbound + request.ngrok_connections_outbound > 0:
|
1893
|
+
events.append(
|
1894
|
+
SnowflakeBillingEvent(
|
1895
|
+
billing_class="DAILY_ACTIVE_NGROK",
|
1896
|
+
billing_subclass="",
|
1897
|
+
timestamp=datetime.datetime.now(tz=datetime.timezone.utc),
|
1898
|
+
base_charge=Decimal("3.00"),
|
1899
|
+
)
|
1900
|
+
)
|
1891
1901
|
return events
|
1892
1902
|
|
1893
1903
|
def additional_loggers(self) -> List[str]:
|
{omnata_plugin_runtime-0.10.26a283.dist-info → omnata_plugin_runtime-0.10.27a285.dist-info}/RECORD
RENAMED
@@ -4,10 +4,10 @@ omnata_plugin_runtime/configuration.py,sha256=ud3O9R03BbUjGUJDVpGbnADqKw5oLVy65E
|
|
4
4
|
omnata_plugin_runtime/forms.py,sha256=Lrbr3otsFDrvHWJw7v-slsW4PvEHJ6BG1Yl8oaJfiDo,20529
|
5
5
|
omnata_plugin_runtime/json_schema.py,sha256=Mq1R_TAYklG92iDUmeZFdjuUr-PEoejIXNs6hICyOgc,47196
|
6
6
|
omnata_plugin_runtime/logging.py,sha256=WBuZt8lF9E5oFWM4KYQbE8dDJ_HctJ1pN3BHwU6rcd0,4461
|
7
|
-
omnata_plugin_runtime/omnata_plugin.py,sha256=
|
7
|
+
omnata_plugin_runtime/omnata_plugin.py,sha256=RnUEO_iPFqJEaixLDFfrzCC-HmEAtEIT_lgfgNyjBUs,134532
|
8
8
|
omnata_plugin_runtime/plugin_entrypoints.py,sha256=SlpI3VF3EdTGFCr9wDD0kV4v6B6bHfNDFdC3slU2y8Y,32241
|
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.27a285.dist-info/LICENSE,sha256=rGaMQG3R3F5-JGDp_-rlMKpDIkg5n0SI4kctTk8eZSI,56
|
11
|
+
omnata_plugin_runtime-0.10.27a285.dist-info/METADATA,sha256=-Ny_9A3x-2bk5W7SjQ8xBxgPcZf6eoxmYWRwGO1HF7I,2212
|
12
|
+
omnata_plugin_runtime-0.10.27a285.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
13
|
+
omnata_plugin_runtime-0.10.27a285.dist-info/RECORD,,
|
{omnata_plugin_runtime-0.10.26a283.dist-info → omnata_plugin_runtime-0.10.27a285.dist-info}/LICENSE
RENAMED
File without changes
|
{omnata_plugin_runtime-0.10.26a283.dist-info → omnata_plugin_runtime-0.10.27a285.dist-info}/WHEEL
RENAMED
File without changes
|