Skip to content

Commit

Permalink
add explicit capabilities
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzo angeli committed Aug 5, 2024
1 parent e372f96 commit 898fda3
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions plugin/openassetio_manager_ftrack/FtrackInterface.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,16 @@

class FtrackInterface(ManagerInterface):

def hasCapability(self, capability):
if capability in (
ManagerInterface.Capability.kEntityReferenceIdentification,
ManagerInterface.Capability.kManagementPolicyQueries,
ManagerInterface.Capability.kEntityTraitIntrospection
):
return True

return False

def __init__(self):
super().__init__()
self.__settings = {}
Expand Down

0 comments on commit 898fda3

Please sign in to comment.