Workspace#

class Workspace[source]#

Bases: BaseModel

A Flow360 workspace. Every account has a PRIVATE workspace; accounts that belong to a company tenant also have a SHARED company workspace visible to all tenant members.

Select one with get_shared() or get_private(), then pass it to the folder_or_workspace argument of the Project API or Folder.create() to create resources in it.

Note

Workspace selection is independent from account switching (AccountsUtils). Accounts.choose_shared_account() changes which user you act as; the workspace selects where resources are created for the currently effective user. When both are combined, select the workspace after switching accounts.

Attributes

id: str#
name: str#
type: Literal['SHARED', 'PRIVATE']#
status: str, optional#
Default:

None

root_folder_id: str#

Additional Constructors

classmethod get_shared()[source]#

Get the shared company workspace of the current account.

Return type:

Workspace

classmethod get_private()[source]#

Get the private workspace of the current account.

Return type:

Workspace