Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
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
15 changes: 15 additions & 0 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
# agreement to the Shotgun Pipeline Toolkit Source Code License. All rights
# not expressly granted therein are reserved by Autodesk, Inc.

from types import ModuleType

import sgtk


Expand All @@ -21,6 +23,7 @@ def init_app(self):
"""Called as the application is being initialized."""

tk_multi_breakdown2 = self.import_module("tk_multi_breakdown2")
self._flowam = tk_multi_breakdown2.flowam

# Store a reference to manager class to expose its functionality at the application level.
self._manager_class = tk_multi_breakdown2.BreakdownManager
Expand Down Expand Up @@ -141,3 +144,15 @@ def _on_dialog_close(self, dialog):
elif dialog == self._current_panel:
self.log_debug("Current panel has been closed, clearing reference.")
self._current_panel = None

@property
def flowam(self) -> ModuleType:
"""
Access to the FlowAM integration module for this app. This module provides
drop-in replacements for the standard Shotgun-based Scene Breakdown models and actions,
backed by Flow Asset Management (FlowAM).

:returns: The FlowAM integration module for this app
:rtype: :mod:`tk_multi_breakdown2.flowam`
"""
return self._flowam
1 change: 1 addition & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,4 @@ jobs:
additional_repositories:
- name: tk-framework-qtwidgets
- name: tk-framework-shotgunutils
tk_core_ref: ticket/sg-43461/migrate-host-base
3 changes: 3 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
ignore:
# flowam and other files not covered by unit tests
- "**python/tk_multi_breakdown2/flowam/*"
Loading