Skip to content

PullRequestSettings

Properties

Name Type Description Notes
delete_source_branch_on_merge bool When enabled, merging a pull request deletes its source branch. The source is left in place when it is the default branch, has uncommitted changes, or has moved while merging.

Example

from lakefs_enterprise_sdk.models.pull_request_settings import PullRequestSettings

# TODO update the JSON string below
json = "{}"
# create an instance of PullRequestSettings from a JSON string
pull_request_settings_instance = PullRequestSettings.from_json(json)
# print the JSON string representation of the object
print PullRequestSettings.to_json()

# convert the object into a dict
pull_request_settings_dict = pull_request_settings_instance.to_dict()
# create an instance of PullRequestSettings from a dict
pull_request_settings_form_dict = pull_request_settings.from_dict(pull_request_settings_dict)