Add docstrings in Nordigen functions

This commit is contained in:
Mark Veidemanis 2022-03-04 23:22:57 +00:00
parent cb4dbe18f6
commit 80c696ef73
Signed by: m
GPG Key ID: 5ACFCEED46C0904F
1 changed files with 4 additions and 0 deletions

View File

@ -45,6 +45,10 @@ class Nordigen(object):
def get_institutions(self, country, filter_name=None):
"""
Get a list of supported institutions.
:param country: country to query
:param filter_name: return only results with this in the name
:return: list of institutions
:rtype: list
"""
if not len(country) == 2:
return False