diff --git a/otio_openassetio/operations/openassetio_media_linker.py b/otio_openassetio/operations/openassetio_media_linker.py index bf97eb3..e6b291e 100644 --- a/otio_openassetio/operations/openassetio_media_linker.py +++ b/otio_openassetio/operations/openassetio_media_linker.py @@ -8,6 +8,7 @@ from collections import namedtuple from openassetio import log, exceptions +from openassetio.access import ResolveAccess from openassetio.hostApi import HostInterface, ManagerFactory from openassetio.pluginSystem import PythonPluginSystemManagerImplementationFactory @@ -54,7 +55,10 @@ def link_media_reference(in_clip, media_linker_argument_map): # manager fetching any data we are not going to use. try: entity_data = manager.resolve( - entity_reference, {LocatableContentTrait.kId}, session_state.context + entity_reference, + {LocatableContentTrait.kId}, + ResolveAccess.kRead, + session_state.context, ) mr.target_url = LocatableContentTrait(entity_data).getLocation() except Exception as exc: @@ -155,6 +159,5 @@ def _createSessionState(args: dict) -> SessionState: # each clip and see which Timeline it belongs to. This will do for # now though and is better than making a context per clip. context = manager.createContext() - context.access = context.Access.kRead return SessionState(manager=manager, context=context) diff --git a/setup.py b/setup.py index 3c9a7e1..d88e636 100644 --- a/setup.py +++ b/setup.py @@ -28,8 +28,8 @@ }, install_requires=[ "OpenTimelineIO >= 0.12.0", - "openassetio == 1.0.0a10", - "openassetio-mediacreation == 1.0.0a4", + "openassetio == 1.0.0a14", + "openassetio-mediacreation == 1.0.0a7", ], extras_require={ "dev": [ @@ -37,7 +37,7 @@ "pytest", "flake8", "twine", - "openassetio-manager-bal == 1.0.0a7" + "openassetio-manager-bal == 1.0.0a10" ] }, classifiers=[