tyba-client 0.4.11__tar.gz → 0.4.12__tar.gz

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.

Potentially problematic release.


This version of tyba-client might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tyba-client
3
- Version: 0.4.11
3
+ Version: 0.4.12
4
4
  Summary: A Python API client for the Tyba Public API
5
5
  License: MIT
6
6
  Author: Tyler Nisonoff
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "tyba-client"
3
- version = "0.4.11"
3
+ version = "0.4.12"
4
4
  description = "A Python API client for the Tyba Public API"
5
5
  authors = ["Tyler Nisonoff <tyler@tybaenergy.com>"]
6
6
  license = "MIT"
@@ -181,7 +181,8 @@ class Forecast(object):
181
181
  )
182
182
 
183
183
  def actuals(
184
- self, object_name: str, product: str, start_time: datetime, end_time: datetime
184
+ self, object_name: str, product: str, start_time: datetime, end_time: datetime,
185
+ predictions_per_hour: int | None = None
185
186
  ):
186
187
  return self.get(
187
188
  "actuals",
@@ -190,5 +191,6 @@ class Forecast(object):
190
191
  "product": product,
191
192
  "start_time": start_time,
192
193
  "end_time": end_time,
194
+ "predictions_per_hour": predictions_per_hour,
193
195
  },
194
196
  )
File without changes