def test_details(self):
     reader = DataSourceReader(
         lambda: access_token,
         'https://data-access.staging-bip-app.ssb.no/',
         'https://dapla-catalog.staging-bip-app.ssb.no')
     paths = reader.details('/felles/bjornandre/python/test1')
     print(paths)
def details(path):
    reader = DataSourceReader(AuthClient.get_access_token,
                              os.environ['DATA_ACCESS_URL'],
                              os.environ['CATALOG_URL'])
    try:
        return reader.details(path)
    except AuthError as err:
        err.print_warning()