client package

Submodules

client.client_callback module

class client.client_callback.ClientCallback(job_data=None, cdn_bucket=None, gogs_url=None, logger=None, s3_handler_class=<class 'aws_tools.s3_handler.S3Handler'>)[source]

Bases: object

process_callback()[source]

client.client_webhook module

class client.client_webhook.ClientWebhook(commit_data=None, api_url=None, pre_convert_bucket=None, cdn_bucket=None, gogs_url=None, gogs_user_token=None, logger=None, s3_handler_class=<class 'aws_tools.s3_handler.S3Handler'>)[source]

Bases: object

download_repo(commit_url, repo_dir)[source]

Downloads and unzips a git repository from Github or git.door43.org :param str|unicode commit_url: The URL of the repository to download :param str|unicode repo_dir: The directory where the downloaded file should be unzipped :return: None

process_webhook()[source]
static str_to_class(class_name_string)[source]

Gets a class from a string. :param str|unicode class_name_string: The string of the class name

Module contents