File tree Expand file tree Collapse file tree
mpcontribs-client/mpcontribs/client Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -890,18 +890,17 @@ def __init__(
890890 session (requests.Session): override session for client to use
891891 """
892892
893- # ruff: disable[E501]
894893 logger .warning (
895- """The `mpcontribs-client` package has been deprecated in favor of the main Materials Project (MP) API client `mp-api`.
896- To use the MP Contribs client swith up-to-date features, please `pip install 'mp-api[contribs]'`:
897- ```py
898- from mp_api.client import MPRester
899-
900- with MPRester() as mpr:
901- mpr.contribs.query_contributions(...)
902- ```"""
894+ "The `mpcontribs-client` package has been deprecated "
895+ "in favor of the main Materials Project (MP) API client `mp-api`. "
896+ "To use the MP Contribs client swith up-to-date features, "
897+ "please `pip install 'mp-api[contribs]'`:\n "
898+ "```py\n "
899+ "from mp_api.client import MPRester\n "
900+ "with MPRester() as mpr:\n "
901+ " mpr.contribs.query_contributions(...)\n "
902+ "```"
903903 )
904- # ruff: enable[E501]
905904
906905 # NOTE bravado future doesn't work with concurrent.futures
907906 # - Kong forwards consumer headers when api-key used for auth
You can’t perform that action at this time.
0 commit comments