runway.sources.git module¶
‘Git type Path Source.
- class runway.sources.git.Git[source]¶
Bases:
Source
Git Path Source.
The Git path source can be tasked with cloning a remote repository and pointing to a specific module folder (or the root).
- __init__(*, arguments: dict[str, str] | None = None, location: str = '', uri: str = '', **kwargs: Any) None [source]¶
Git Path Source.
- Parameters:
arguments – A reference can be passed along via the arguments so that a specific version of the repository is cloned. commit, tag, branch are all valid keys with respective output
location – The relative location to the root of the repository where the module resides. Leaving this as an empty string,
/
, or./
will have runway look in the root folder.uri – The uniform resource identifier that targets the remote git repository
**kwargs – Arbitrary keyword arguments.