-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #639 from UW-GAC/main
Deploy to stage
- Loading branch information
Showing
14 changed files
with
671 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,24 @@ | ||
from anvil_consortium_manager.adapters.workspace import BaseWorkspaceAdapter | ||
from anvil_consortium_manager.forms import WorkspaceForm | ||
|
||
from primed.primed_anvil.adapters import WorkspaceAdminSharingAdapterMixin, WorkspaceAuthDomainAdapterMixin | ||
from primed.primed_anvil.forms import WorkspaceAuthDomainDisabledForm | ||
|
||
from . import forms, models, tables | ||
|
||
|
||
class CollaborativeAnalysisWorkspaceAdapter(BaseWorkspaceAdapter): | ||
class CollaborativeAnalysisWorkspaceAdapter( | ||
WorkspaceAuthDomainAdapterMixin, | ||
WorkspaceAdminSharingAdapterMixin, | ||
BaseWorkspaceAdapter, | ||
): | ||
"""Adapter for CollaborativeAnalysisWorkspace.""" | ||
|
||
type = "collab_analysis" | ||
name = "Collaborative Analysis workspace" | ||
description = "Workspaces used for collaborative analyses" | ||
list_table_class_staff_view = tables.CollaborativeAnalysisWorkspaceStaffTable | ||
list_table_class_view = tables.CollaborativeAnalysisWorkspaceUserTable | ||
workspace_form_class = WorkspaceForm | ||
workspace_form_class = WorkspaceAuthDomainDisabledForm | ||
workspace_data_model = models.CollaborativeAnalysisWorkspace | ||
workspace_data_form_class = forms.CollaborativeAnalysisWorkspaceForm | ||
workspace_detail_template_name = "collaborative_analysis/collaborativeanalysisworkspace_detail.html" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.