volue-insight-timeseries 1.3.0__tar.gz → 1.4.0__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 volue-insight-timeseries might be problematic. Click here for more details.

Files changed (19) hide show
  1. {volue_insight_timeseries-1.3.0 → volue_insight_timeseries-1.4.0}/PKG-INFO +1 -1
  2. volue_insight_timeseries-1.4.0/volue_insight_timeseries/VERSION +1 -0
  3. {volue_insight_timeseries-1.3.0 → volue_insight_timeseries-1.4.0}/volue_insight_timeseries/session.py +2 -0
  4. {volue_insight_timeseries-1.3.0 → volue_insight_timeseries-1.4.0}/volue_insight_timeseries.egg-info/PKG-INFO +1 -1
  5. volue_insight_timeseries-1.3.0/volue_insight_timeseries/VERSION +0 -1
  6. {volue_insight_timeseries-1.3.0 → volue_insight_timeseries-1.4.0}/LICENSE +0 -0
  7. {volue_insight_timeseries-1.3.0 → volue_insight_timeseries-1.4.0}/MANIFEST.in +0 -0
  8. {volue_insight_timeseries-1.3.0 → volue_insight_timeseries-1.4.0}/README.md +0 -0
  9. {volue_insight_timeseries-1.3.0 → volue_insight_timeseries-1.4.0}/setup.cfg +0 -0
  10. {volue_insight_timeseries-1.3.0 → volue_insight_timeseries-1.4.0}/setup.py +0 -0
  11. {volue_insight_timeseries-1.3.0 → volue_insight_timeseries-1.4.0}/volue_insight_timeseries/__init__.py +0 -0
  12. {volue_insight_timeseries-1.3.0 → volue_insight_timeseries-1.4.0}/volue_insight_timeseries/auth.py +0 -0
  13. {volue_insight_timeseries-1.3.0 → volue_insight_timeseries-1.4.0}/volue_insight_timeseries/curves.py +0 -0
  14. {volue_insight_timeseries-1.3.0 → volue_insight_timeseries-1.4.0}/volue_insight_timeseries/events.py +0 -0
  15. {volue_insight_timeseries-1.3.0 → volue_insight_timeseries-1.4.0}/volue_insight_timeseries/util.py +0 -0
  16. {volue_insight_timeseries-1.3.0 → volue_insight_timeseries-1.4.0}/volue_insight_timeseries.egg-info/SOURCES.txt +0 -0
  17. {volue_insight_timeseries-1.3.0 → volue_insight_timeseries-1.4.0}/volue_insight_timeseries.egg-info/dependency_links.txt +0 -0
  18. {volue_insight_timeseries-1.3.0 → volue_insight_timeseries-1.4.0}/volue_insight_timeseries.egg-info/requires.txt +0 -0
  19. {volue_insight_timeseries-1.3.0 → volue_insight_timeseries-1.4.0}/volue_insight_timeseries.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: volue_insight_timeseries
3
- Version: 1.3.0
3
+ Version: 1.4.0
4
4
  Summary: Volue Insight API python library
5
5
  Home-page: https://www.volueinsight.com
6
6
  Author: Volue Insight
@@ -426,6 +426,8 @@ class Session(object):
426
426
  if key not in metadata:
427
427
  raise MetadataException('Mandatory key {} not found in metadata'.format(key))
428
428
  curve_id = int(metadata['id'])
429
+ if('curve_state' in metadata and metadata['curve_state'] == 'DEPRECATED'):
430
+ warnings.warn("Deprecation warning for curve: {}".format(metadata['name']), DeprecationWarning, stacklevel=4)
429
431
  if metadata['curve_type'] in self._curve_types:
430
432
  c = self._curve_types[metadata['curve_type']](curve_id, metadata, self)
431
433
  return c
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: volue-insight-timeseries
3
- Version: 1.3.0
3
+ Version: 1.4.0
4
4
  Summary: Volue Insight API python library
5
5
  Home-page: https://www.volueinsight.com
6
6
  Author: Volue Insight