pyemoncms 0.0.9__tar.gz → 0.1.1__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyemoncms
3
- Version: 0.0.9
3
+ Version: 0.1.1
4
4
  Summary: A python library to interrogate emoncms API
5
5
  Home-page: https://github.com/Open-Building-Management/pyemoncms
6
6
  Author: Alexandre CUER
@@ -87,10 +87,6 @@ class EmoncmsClient:
87
87
  async def async_get_uuid(self) -> str | None:
88
88
  """Return the unique identifier or None.
89
89
 
90
- drop a warning during migration process from a non uuid emoncms to a uuid one
91
-
92
- this warns the user to do a database update
93
-
94
90
  first uuid version of emoncms is 11.5.7
95
91
  """
96
92
  result = await self.async_request('/user/getuuid.json')
@@ -100,8 +96,9 @@ class EmoncmsClient:
100
96
  return None
101
97
  if json_response[SUCCESS_KEY]:
102
98
  return json_response[MESSAGE_KEY]
103
- message = json_response[MESSAGE_KEY].replace("ADMIN", "EMONCMS ADMIN")
104
- self.logger.warning(message)
99
+ message = json_response[MESSAGE_KEY]
100
+ message = f"{message} : {self.url}"
101
+ self.logger.debug(message)
105
102
  return None
106
103
 
107
104
  async def async_list_feeds(self) -> list[dict[str, Any]] | None:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyemoncms
3
- Version: 0.0.9
3
+ Version: 0.1.1
4
4
  Summary: A python library to interrogate emoncms API
5
5
  Home-page: https://github.com/Open-Building-Management/pyemoncms
6
6
  Author: Alexandre CUER
@@ -6,7 +6,7 @@ with open("README.md", "r", encoding="utf-8") as fh:
6
6
 
7
7
  setuptools.setup(
8
8
  name="pyemoncms",
9
- version="0.0.9",
9
+ version="0.1.1",
10
10
  author="Alexandre CUER",
11
11
  author_email="alexandre.cuer@wanadoo.fr",
12
12
  description="A python library to interrogate emoncms API",
File without changes
File without changes
File without changes
File without changes