GitPlan
GitPlan(plan_id, branch, force)
Base GitPlan abstraction
Initialize GitPlan object
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
plan_id
|
str
|
id of the Plan |
required |
branch
|
str
|
current branch |
required |
force
|
bool
|
force git context reset |
required |
Source code in TM1py/Objects/GitPlan.py
branch
property
force
property
plan_id
property
GitPullPlan(plan_id, branch, force, commit, operations)
Bases: GitPlan
GitPushPlan abstraction based on GitPlan
Initialize GitPushPlan object
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
plan_id
|
str
|
id of the PullPlan |
required |
branch
|
str
|
current branch to base the pullplan on |
required |
force
|
bool
|
force git context reset |
required |
commit
|
GitCommit
|
GitCommit of the commit to pull |
required |
operations
|
List[str]
|
list of changes made upon pulling |
required |
Source code in TM1py/Objects/GitPlan.py
commit
property
operations
property
GitPushPlan(plan_id, branch, force, new_branch, new_commit, parent_commit, source_files)
Bases: GitPlan
GitPushPlan abstraction based on GitPlan
Initialize GitPushPlan object
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
plan_id
|
str
|
id of the PushPlan |
required |
branch
|
str
|
current branch to base the pushplan on |
required |
force
|
bool
|
force git context reset |
required |
new_branch
|
str
|
the new branch that will be pushed to |
required |
new_commit
|
GitCommit
|
GitCommit of the new commit |
required |
parent_commit
|
GitCommit
|
The current commit in the branch |
required |
source_files
|
List[str]
|
list of included files in the push |
required |