def get_database(self, dbid: str) -> Optional[dict]:
    '\n        Returns metadata (id, organization, label, comment) about the requested database\n        Parameters\n        ----------\n        dbid : str\n            The id of the database\n\n        Raises\n        ------\n        InterfaceError\n            if the client does not connect to a server\n\n        Returns\n        -------\n        dict or None if not found\n        '
    self._check_connection(check_db=False)
    for this_db in self.get_databases():
        if (this_db['name'] == dbid):
            return this_db
    return None
Returns metadata (id, organization, label, comment) about the requested database
Parameters
----------
dbid : str
    The id of the database

Raises
------
InterfaceError
    if the client does not connect to a server

Returns
-------
dict or None if not found
def get_database(self, dbid: str) -> Optional[dict]:
    '\n        Returns metadata (id, organization, label, comment) about the requested database\n        Parameters\n        ----------\n        dbid : str\n            The id of the database\n\n        Raises\n        ------\n        InterfaceError\n            if the client does not connect to a server\n\n        Returns\n        -------\n        dict or None if not found\n        '
    self._check_connection(check_db=False)
    for this_db in self.get_databases():
        if (this_db['name'] == dbid):
            return this_db
    return None