utils.rcclient.services.app_template_service

Module Contents

Classes

AppTemplateService

Attributes

logger

utils.rcclient.services.app_template_service.logger
class utils.rcclient.services.app_template_service.AppTemplateService
APP_TEMPLATES_ENDPOINT = '/app-templates'
APP_TEMPLATE_ENDPOINT
APP_TEMPLATE_BUILD_ENDPOINT
APP_TEMPLATE_LOGS_ENDPOINT
UPDATE_BUILD_STATUS_ENDPOINT = '/internal/app-template/build-status'
UNCOMPATIBLE_STREAMLIT_VERSION = '1.15'
PROTOBUF_COMPATIBLE_WITH_STREAMLIT = '3.20'
signed_url_client
file_client
app_template_client
__handle_streamlit_upgrade_nuances(requirements: str)
download(app_template, download_path)
__remove_entry_file(app_template)
update_build_status(tenant_id, user_id, dataapp_id, build_status)
publish(app_template: utils.rcclient.entities.app_template.AppTemplate, force: bool, create_dist: bool)
__build_template(app_template)
__track_build_progress(app_template, live_logs=True)
get_logs(_id: str, mode='offline') None
__get_new_logs(dataapp_id, logs_received_till_last_run)
get_all() List[utils.rcclient.entities.app_template.AppTemplate]
get(id: str) utils.rcclient.entities.app_template.AppTemplate
disable(app_template: utils.rcclient.entities.app_template.AppTemplate)
enable(app_template: utils.rcclient.entities.app_template.AppTemplate)
save(app_template: utils.rcclient.entities.app_template.AppTemplate) utils.rcclient.entities.app_template.AppTemplate
__validate_app_content(app_template: utils.rcclient.entities.app_template.AppTemplate)
__publish(file_path: str, app_template: utils.rcclient.entities.app_template.AppTemplate)