amcat4apiclient/amcat4apiclient.py
def list_indices(self) -> List[dict]:
        """
        List all indices on this server
        :return: a list of index dicts with keys name and (your) role
        """
        url = f"{self.host}/index/"
        r = requests.get(url, auth=(self.username, self.password))
        r.raise_for_status()
        return r.json()

        List all indices on this server
        :return: a list of index dicts with keys name and (your) role
        
List all indices on this server
List all indices on this server
def list_indices(self) -> List[dict]:
        url = f"{self.host}/index/"
        r = requests.get(url, auth=(self.username, self.password))
        r.raise_for_status()
        return r.json()
def list_indices ( self ) -> List [ dict ] : url = f"{self.host}/index/" r = requests . get ( url , auth = ( self . username , self . password ) ) r . raise_for_status ( ) return r . json ( )
List all indices on this server
List all indices on this server
"""
        List all indices on this server
        :return: a list of index dicts with keys name and (your) role
        """
a list of index dicts with keys name and (your) role
a list of index dicts with keys name and ( your ) role
self