diff --git a/requirements.txt b/requirements.txt index e0394879..c4596c32 100644 --- a/requirements.txt +++ b/requirements.txt @@ -7,4 +7,4 @@ PyJWT requests tuspy prometheus-flask-exporter -cs3apis>=0.1.dev47 +cs3apis>=0.1.dev66 diff --git a/src/cs3iface.py b/src/cs3iface.py index 2d2cdcd0..d0d88a2b 100644 --- a/src/cs3iface.py +++ b/src/cs3iface.py @@ -69,7 +69,7 @@ def stat(endpoint, fileid, userid, versioninv=0): ref = cs3spr.Reference(path=fileid) else: # assume we have an opaque fileid - ref = cs3spr.Reference(id=cs3spr.ResourceId(storage_id=endpoint, opaque_id=fileid)) + ref = cs3spr.Reference(resource_id=cs3spr.ResourceId(storage_id=endpoint, opaque_id=fileid)) statInfo = ctx['cs3stub'].Stat(request=cs3sp.StatRequest(ref=ref), metadata=[('x-access-token', userid)]) tend = time.time()