Shortcut Functions

Fill in a module description here
# import domojupyter as dj
A newer version of domojupyter is available. Update domojupyter with the following command:

    conda install -c https://domo-conda-prod.s3.amazonaws.com/domo domojupyter=1.1.20

Domo Accounts


source

share_domo_account_with_domo_group

 share_domo_account_with_domo_group
                                     (auth:domolibrary.client.DomoAuth.Dom
                                     oAuth, account_name:str,
                                     group_name:str,
                                     is_upsert_group:bool=False,
                                     group_description:str=None,
                                     group_owner_names:List[str]=None, gro
                                     up_type:domolibrary.routes.group.Grou
                                     pType_Enum='closed',
                                     is_search_system_accounts:bool=True)
Type Default Details
auth DomoAuth
account_name str
group_name str
is_upsert_group bool False will not attempt to upsert group
group_description str None
group_owner_names List None will default to [“Role: Admin”]
group_type GroupType_Enum closed
is_search_system_accounts bool True will default to True if no group_owner_name
# domo_accounts = await dmacc.DomoAccounts.get_accounts(auth=auth)
# domo_accounts[0]

# await share_domo_account_with_domo_group(
#     auth = auth,
#     account_name = domo_accounts[0].name,
#     group_name = 'dev_jupyter',
#     is_search_system_accounts = False   
# )
'shared 50 - **ReplicationUtility**:modocorp.domo.com with 1494995278'