Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Core] Update to openassetio v1.0.0-alpha.14 #20

Merged
merged 1 commit into from
Aug 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions otio_openassetio/operations/openassetio_media_linker.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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)
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,16 @@
},
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": [
"black",
"pytest",
"flake8",
"twine",
"openassetio-manager-bal == 1.0.0a7"
"openassetio-manager-bal == 1.0.0a10"
]
},
classifiers=[
Expand Down
Loading