From 5d6509599e424619eefb0062949d618a09e6a783 Mon Sep 17 00:00:00 2001 From: Daniel Huppmann Date: Mon, 4 Mar 2024 19:47:19 +0100 Subject: [PATCH] Fix changed function name --- RELEASE_NOTES.md | 2 +- pyam/iiasa.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index 9b2207f69..fe80a0d64 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -1,6 +1,6 @@ # Next release -- [#829](https://github.com/IAMconsortium/pyam/pull/829) Add a `pyam.iiasa.list_platforms()` function +- [#829](https://github.com/IAMconsortium/pyam/pull/829) Add a `pyam.iiasa.platforms()` function for a list of available platforms - [#826](https://github.com/IAMconsortium/pyam/pull/826) Add `read_ixmp4()` function and extend integration test - [#825](https://github.com/IAMconsortium/pyam/pull/825) Add support for Python 3.12 - [#824](https://github.com/IAMconsortium/pyam/pull/824) Update ixmp4 requirement to >=0.7.1 diff --git a/pyam/iiasa.py b/pyam/iiasa.py index 9a41c94c8..39de83851 100644 --- a/pyam/iiasa.py +++ b/pyam/iiasa.py @@ -46,7 +46,7 @@ def platforms() -> None: - """Print all available ixmp4 platforms hosted by IIASA + """Print a list of available ixmp4 platforms hosted by IIASA See Also -------- @@ -224,7 +224,7 @@ def valid_connections(self): """Return available resources (database API connections)""" logger.warning( "IIASA is migrating to a database infrastructure using the ixmp4 package." - "Use `pyam.iiasa.list_platforms()` to list available ixmp4 databases." + "Use `pyam.iiasa.platforms()` to list available ixmp4 databases." ) return list(self._connection_map.keys())