Skip to content

Commit

Permalink
refactor to rst
Browse files Browse the repository at this point in the history
  • Loading branch information
danielhuppmann committed Jun 3, 2020
1 parent 2cd495e commit f0505e8
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions pyam/iiasa.py
Original file line number Diff line number Diff line change
Expand Up @@ -356,10 +356,14 @@ def query(self, **kwargs):
Examples
--------
```
Connection.query(model='MESSAGE', scenario='SSP2*',
variable=['Emissions|CO2', 'Primary Energy'])
```
You can read from a :class:`pyam.iiasa.Connection` instance using
keyword arguments similar to filtering an :class:`IamDataFrame`:
.. code-block:: python
Connection.query(model='MESSAGE', scenario='SSP2*',
variable=['Emissions|CO2', 'Primary Energy'])
"""
headers = {
'Authorization': 'Bearer {}'.format(self._token),
Expand Down

0 comments on commit f0505e8

Please sign in to comment.