Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoSign in
Socket

e-data

Package Overview
Dependencies
Maintainers
1
Versions
85
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

e-data - pypi Package Compare versions

Comparing version
2.0.0.dev120
to
2.0.0.dev121
+1
-1
e_data.egg-info/PKG-INFO
Metadata-Version: 2.4
Name: e-data
Version: 2.0.0.dev120
Version: 2.0.0.dev121
Summary: Python library for managing spanish energy data from various web providers

@@ -5,0 +5,0 @@ Author-email: VMG <vmayorg@outlook.es>

@@ -169,3 +169,3 @@ """Datadis API connector."""

ignore_cache: bool = False,
) -> list[dict[str, typing.Any]]:
) -> dict[str, typing.Any]:
"""Async get request for Datadis API."""

@@ -179,3 +179,3 @@

is_valid_token = False
response = []
response = {}
if refresh_token:

@@ -206,3 +206,3 @@ is_valid_token = await self._async_get_token()

return _cache # type: ignore
return []
return {}

@@ -278,6 +278,6 @@ try:

_LOGGER.warning("Timeout at %s", url + anonym_params)
return []
return {}
except Exception as e:
_LOGGER.warning("Exception at %s: %s", url + anonym_params, e)
return []
return {}
return response

@@ -284,0 +284,0 @@

Metadata-Version: 2.4
Name: e-data
Version: 2.0.0.dev120
Version: 2.0.0.dev121
Summary: Python library for managing spanish energy data from various web providers

@@ -5,0 +5,0 @@ Author-email: VMG <vmayorg@outlook.es>

@@ -7,3 +7,3 @@ [build-system]

name = "e-data"
version = "2.0.0.dev120"
version = "2.0.0.dev121"
description = "Python library for managing spanish energy data from various web providers"

@@ -10,0 +10,0 @@ readme = "README.md"