mpcontribs-client 5.10.2__py3-none-any.whl → 5.10.3__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.
@@ -1584,12 +1584,11 @@ class Client(SwaggerClient):
1584
1584
  if self.project:
1585
1585
  query["project"] = self.project
1586
1586
 
1587
- cids = list(self.get_all_ids(query).get(query["project"], {}).get("ids", set()))
1587
+ name = query["project"]
1588
+ cids = list(self.get_all_ids(query).get(name, {}).get("ids", set()))
1588
1589
 
1589
1590
  if not cids:
1590
- logger.info(
1591
- f"There aren't any contributions to delete for {query['project']}"
1592
- )
1591
+ logger.info(f"There aren't any contributions to delete for {name}")
1593
1592
  return
1594
1593
 
1595
1594
  total = len(cids)
@@ -1600,7 +1599,7 @@ class Client(SwaggerClient):
1600
1599
  _run_futures(futures, total=total, timeout=timeout)
1601
1600
  left, _ = self.get_totals(query=query)
1602
1601
  deleted = total - left
1603
- self.init_columns(name=query["project"])
1602
+ self.init_columns(name=name)
1604
1603
  self._reinit()
1605
1604
  toc = time.perf_counter()
1606
1605
  dt = (toc - tic) / 60
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: mpcontribs-client
3
- Version: 5.10.2
3
+ Version: 5.10.3
4
4
  Summary: client library for MPContribs API
5
5
  Home-page: https://github.com/materialsproject/MPContribs/tree/master/mpcontribs-client
6
6
  Author: Patrick Huck
@@ -41,6 +41,7 @@ Dynamic: description
41
41
  Dynamic: description-content-type
42
42
  Dynamic: home-page
43
43
  Dynamic: license
44
+ Dynamic: license-file
44
45
  Dynamic: provides-extra
45
46
  Dynamic: requires-dist
46
47
  Dynamic: requires-python
@@ -0,0 +1,6 @@
1
+ mpcontribs/client/__init__.py,sha256=Y8Lu1KbeYx1BzA92RrqXuG40NzUoORWU9yRSaZoZgNQ,97555
2
+ mpcontribs_client-5.10.3.dist-info/licenses/LICENSE,sha256=5tG0Niaqw2hnuyZZYkRXLSnfVrZA47COwduU_6caPLM,1074
3
+ mpcontribs_client-5.10.3.dist-info/METADATA,sha256=qyDKTBhxJ9vLcYX4c560XN5FA635B_YRaePItiq9Tyk,2798
4
+ mpcontribs_client-5.10.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
5
+ mpcontribs_client-5.10.3.dist-info/top_level.txt,sha256=t8R5L_Dg9oDQMh2gyRFdZGnrzZsr7OjCBTrhTcmimC8,11
6
+ mpcontribs_client-5.10.3.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.8.2)
2
+ Generator: setuptools (80.9.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -1,6 +0,0 @@
1
- mpcontribs/client/__init__.py,sha256=i3_utKfv1fC0V02L0U-ZYDgz98p6we3t-rMqllRzsbc,97589
2
- mpcontribs_client-5.10.2.dist-info/LICENSE,sha256=5tG0Niaqw2hnuyZZYkRXLSnfVrZA47COwduU_6caPLM,1074
3
- mpcontribs_client-5.10.2.dist-info/METADATA,sha256=3nW4oolxr1LwtRLFJ-PTF7FoVgxz9hQkOlrT5e9QWVk,2776
4
- mpcontribs_client-5.10.2.dist-info/WHEEL,sha256=jB7zZ3N9hIM9adW7qlTAyycLYW9npaWKLRzaoVcLKcM,91
5
- mpcontribs_client-5.10.2.dist-info/top_level.txt,sha256=t8R5L_Dg9oDQMh2gyRFdZGnrzZsr7OjCBTrhTcmimC8,11
6
- mpcontribs_client-5.10.2.dist-info/RECORD,,