aiq.tool.github_tools.create_github_pr#
Classes#
Tool that creates a pull request in a GitHub repository asynchronously with assignees and reviewers. |
Functions#
|
Creates a pull request in a GitHub repository asynchronously with assignees and reviewers. |
Module Contents#
- class GithubCreatePullModel(/, **data: Any)#
Bases:
pydantic.BaseModel
- class GithubCreatePullList(/, **data: Any)#
Bases:
pydantic.BaseModel
- pull_details: GithubCreatePullModel = None#
- class GithubCreatePullConfig(/, **data: Any)#
Bases:
aiq.data_models.function.FunctionBaseConfig
Tool that creates a pull request in a GitHub repository asynchronously with assignees and reviewers.
Create a new model by parsing and validating input data from keyword arguments.
Raises [
ValidationError
][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.self
is explicitly positional-only to allowself
as a field name.
- async create_pull_request_async(
- config: GithubCreatePullConfig,
- builder: aiq.builder.builder.Builder,
Creates a pull request in a GitHub repository asynchronously with assignees and reviewers.