qwikstart.repository package

Submodules

Module contents

class qwikstart.repository.BaseRepoLoader

Bases: abc.ABC

Base class for loader for qwikstart task repos.

abstract property repo_path

Return local path to qwikstart repo.

abstract property task_spec

Return raw task specification loaded from qwikstart repo.

class qwikstart.repository.GitRepoLoader(git_url: str, path: str = '')

Bases: qwikstart.repository.loaders.BaseRepoLoader

Loader for qwikstart task repos stored in git repos.

property repo_path

Return local path to qwikstart repo.

property task_spec

Return raw task specification loaded from qwikstart repo.

class qwikstart.repository.RepoLoader(url_or_path: str = '')

Bases: qwikstart.repository.loaders.BaseRepoLoader

Loader for qwikstart task spec.

The task spec must specify a source url for the location of the qwikstart repo.

property repo_path

Return local path to qwikstart repo.

property task_spec

Return raw task specification loaded from qwikstart repo.

qwikstart.repository.get_repo_loader(task_path: str, repo_url: Optional[str] = None) → qwikstart.repository.loaders.BaseRepoLoader