aiq.tool.github_tools.get_github_pr#
Classes#
Tool that lists GitHub Pull Requests based on various filter parameters |
|
Tool that fetches a particular pull request in a GitHub repository asynchronously. |
|
Configuration for the GitHub Get Pull Commits Tool. |
|
Configuration for the GitHub Get Pull Files Tool. |
Functions#
|
Lists GitHub Pull Requests based on various filter parameters |
|
Fetches a particular pull request in a GitHub repository asynchronously. |
|
Fetches the commits associated with a particular pull request in a GitHub repository asynchronously. |
|
Fetches the files associated with a particular pull request in a GitHub repository asynchronously. |
Module Contents#
- class GithubListPullsModel(/, **data: Any)#
Bases:
pydantic.BaseModel
- class GithubListPullsModelList(/, **data: Any)#
Bases:
pydantic.BaseModel
- filter_params: GithubListPullsModel = None#
- class GithubListPullsToolConfig(/, **data: Any)#
Bases:
aiq.data_models.function.FunctionBaseConfig
Tool that lists GitHub Pull Requests based on various filter parameters
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 list_github_pulls_async(
- config: GithubListPullsToolConfig,
- builder: aiq.builder.builder.Builder,
Lists GitHub Pull Requests based on various filter parameters
- class GithubGetPullToolConfig(/, **data: Any)#
Bases:
aiq.data_models.function.FunctionBaseConfig
Tool that fetches a particular pull request in a GitHub repository asynchronously.
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 get_github_pull_async(
- config: GithubGetPullToolConfig,
- builder: aiq.builder.builder.Builder,
Fetches a particular pull request in a GitHub repository asynchronously.
- class GithubGetPullCommitsToolConfig(/, **data: Any)#
Bases:
aiq.data_models.function.FunctionBaseConfig
Configuration for the GitHub Get Pull Commits Tool.
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 get_github_pull_commits_async(
- config: GithubGetPullCommitsToolConfig,
- builder: aiq.builder.builder.Builder,
Fetches the commits associated with a particular pull request in a GitHub repository asynchronously.
- class GithubGetPullFilesToolConfig(/, **data: Any)#
Bases:
aiq.data_models.function.FunctionBaseConfig
Configuration for the GitHub Get Pull Files Tool.
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 get_github_pull_files_async(
- config: GithubGetPullFilesToolConfig,
- builder: aiq.builder.builder.Builder,
Fetches the files associated with a particular pull request in a GitHub repository asynchronously.