mpcontribs-client 5.6.1__py3-none-any.whl → 5.6.2__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.
@@ -682,7 +682,7 @@ def _load(protocol, host, headers_json, project, version):
682
682
  projects = sorted(d["name"] for d in resp["data"])
683
683
  projects_json = ujson.dumps(projects)
684
684
  # expand regex-based query parameters for `data` columns
685
- spec = _expand_params(protocol, host, version, projects_json, apikey=headers["x-api-key"])
685
+ spec = _expand_params(protocol, host, version, projects_json, apikey=headers.get("x-api-key"))
686
686
  spec.http_client.session.headers.update(headers)
687
687
  return spec
688
688
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: mpcontribs-client
3
- Version: 5.6.1
3
+ Version: 5.6.2
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
@@ -0,0 +1,6 @@
1
+ mpcontribs/client/__init__.py,sha256=MdKExIkvHsduzHVDcZBwhJa4CCqYP519AXaWgVDcFEk,92644
2
+ mpcontribs_client-5.6.2.dist-info/LICENSE,sha256=5tG0Niaqw2hnuyZZYkRXLSnfVrZA47COwduU_6caPLM,1074
3
+ mpcontribs_client-5.6.2.dist-info/METADATA,sha256=T_dTSbw569Xs7H7OUCwa6a2J2U91v7t2JKwpcQlUupA,2548
4
+ mpcontribs_client-5.6.2.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
5
+ mpcontribs_client-5.6.2.dist-info/top_level.txt,sha256=t8R5L_Dg9oDQMh2gyRFdZGnrzZsr7OjCBTrhTcmimC8,11
6
+ mpcontribs_client-5.6.2.dist-info/RECORD,,
@@ -1,6 +0,0 @@
1
- mpcontribs/client/__init__.py,sha256=2aCvt712Rjd-t8Fx92dju9X80ZwI7nOTnAZOcPKKNyU,92640
2
- mpcontribs_client-5.6.1.dist-info/LICENSE,sha256=5tG0Niaqw2hnuyZZYkRXLSnfVrZA47COwduU_6caPLM,1074
3
- mpcontribs_client-5.6.1.dist-info/METADATA,sha256=5IwFIU40eHnsscwAv8twycbfqEZ99pGoAd8NMOHOMuU,2548
4
- mpcontribs_client-5.6.1.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
5
- mpcontribs_client-5.6.1.dist-info/top_level.txt,sha256=t8R5L_Dg9oDQMh2gyRFdZGnrzZsr7OjCBTrhTcmimC8,11
6
- mpcontribs_client-5.6.1.dist-info/RECORD,,