omnata-plugin-runtime 0.3.12a48__py3-none-any.whl → 0.3.13__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.
@@ -1464,14 +1464,15 @@ class OmnataPlugin(ABC):
1464
1464
  )
1465
1465
  sent_initial = True
1466
1466
  else:
1467
- events.append(
1468
- SnowflakeBillingEvent(
1469
- billing_class="DAILY_ACTIVE_ADDITIONAL",
1470
- billing_subclass="",
1471
- timestamp=datetime.datetime.now(tz=datetime.timezone.utc),
1472
- base_charge=additional_charge,
1467
+ if additional_charge is not None and additional_charge > 0:
1468
+ events.append(
1469
+ SnowflakeBillingEvent(
1470
+ billing_class="DAILY_ACTIVE_ADDITIONAL",
1471
+ billing_subclass="",
1472
+ timestamp=datetime.datetime.now(tz=datetime.timezone.utc),
1473
+ base_charge=additional_charge,
1474
+ )
1473
1475
  )
1474
- )
1475
1476
  return events
1476
1477
 
1477
1478
  def additional_loggers(self) -> List[str]:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: omnata-plugin-runtime
3
- Version: 0.3.12a48
3
+ Version: 0.3.13
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=_N5ok5LN7GDO4J9n3yduXp3tpjmhpySY__U2baiygrs,
3
3
  omnata_plugin_runtime/configuration.py,sha256=at29ExowF_T4_2U9gY0BF4IVdwC-vDytmNRHL7UCWh8,34742
4
4
  omnata_plugin_runtime/forms.py,sha256=30CJB24TqfLYNnkplZdUbeqA-P9rUIBujVKXw_S-wKY,18371
5
5
  omnata_plugin_runtime/logging.py,sha256=bn7eKoNWvtuyTk7RTwBS9UARMtqkiICtgMtzq3KA2V0,3272
6
- omnata_plugin_runtime/omnata_plugin.py,sha256=pXyaviPk0cd1c_IyClt8-uMevyM-fvUz0CEUqAtdCLI,91213
6
+ omnata_plugin_runtime/omnata_plugin.py,sha256=JSxz2Q5j1s6Fkawfl2rZf0GnkBaJlLMJ_PH13899xxg,91321
7
7
  omnata_plugin_runtime/plugin_entrypoints.py,sha256=_XgmWsrHoSshkl5Z2T27BAGVnBh4yH-8lni5sdGlSz8,27670
8
8
  omnata_plugin_runtime/rate_limiting.py,sha256=se6MftQI5NrVHaLb1hByPCgAESPQhkAgIG7KIU1clDU,16562
9
- omnata_plugin_runtime-0.3.12a48.dist-info/LICENSE,sha256=IMF9i4xIpgCADf0U-V1cuf9HBmqWQd3qtI3FSuyW4zE,26526
10
- omnata_plugin_runtime-0.3.12a48.dist-info/METADATA,sha256=xYGHEpeypcKZDl9azxpJC_zx2OAT79FAp6NoxH3K5sw,1604
11
- omnata_plugin_runtime-0.3.12a48.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
12
- omnata_plugin_runtime-0.3.12a48.dist-info/RECORD,,
9
+ omnata_plugin_runtime-0.3.13.dist-info/LICENSE,sha256=IMF9i4xIpgCADf0U-V1cuf9HBmqWQd3qtI3FSuyW4zE,26526
10
+ omnata_plugin_runtime-0.3.13.dist-info/METADATA,sha256=2K2-3OQQW_Q2Wk77Gv3sbBzKQG_8grwTbiImCxr1Lzo,1601
11
+ omnata_plugin_runtime-0.3.13.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
12
+ omnata_plugin_runtime-0.3.13.dist-info/RECORD,,