def METHOD_NAME(self):
    cred = self.credential
    database = cred.get('dbname') if cred.get('dbname') else cred.get('database')
    return f"type={self.type_name}, dbname={database}, schema={cred.get('schema')}"