Commit 18781f7b authored by Morten Ofstad's avatar Morten Ofstad
Browse files

Merge branch feature/morten.ofstad/FixGetAccessManagerPythonAPI with...

Merge branch feature/morten.ofstad/FixGetAccessManagerPythonAPI with refs/heads/master into refs/merge-requests/26/train
parents 0f30e136 1e5b8d78
Pipeline #601 passed with stages
in 7 minutes and 28 seconds
......@@ -29,9 +29,19 @@ def open(options: OpenOptions = None, ioManager: IOManager = None, err: Error =
def close(handle: int):
"""Close a VDS and free up all associated resources
Parameter `handle`:
The handle of the VDS
"""
openvds.core.close(handle)
\ No newline at end of file
def getAccessManager(handle: int):
"""Get the VolumeDataAccessManager for a VDS
Parameter `handle`:
The handle of the VDS
Returns:
The VolumeDataAccessManager of the VDS
"""
return VolumeDataAccessManager(handle)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment