Exemple #1
0
def get_workspace_handler(api_key):
    logger_ = clilogger.CliLogger()
    workspace_handler = workspace.S3WorkspaceHandlerWithProgressbar(
        api_key=api_key,
        logger_=logger_,
        uploader_cls=DeploymentWorkspaceDirectoryUploader,
        client_name=CLI_PS_CLIENT_NAME)
    return workspace_handler
Exemple #2
0
def get_workspace_handler(api_key):
    logger_ = clilogger.CliLogger()
    workspace_handler = workspace.S3WorkspaceHandlerWithProgressbar(api_key=api_key, logger_=logger_,
                                                                    client_name=CLI_PS_CLIENT_NAME)
    return workspace_handler