|
25 | 25 | # execute at runtime (they live behind `TYPE_CHECKING`), so they do not |
26 | 26 | # break the lazy-loading guarantee. The `X as X` aliases mark these as |
27 | 27 | # explicit re-exports for linters. |
| 28 | + from .check_run import CheckRun as CheckRun |
28 | 29 | from .comment import IssueComment as IssueComment |
29 | 30 | from .comment import PullRequestReviewComment as PullRequestReviewComment |
30 | 31 | from .label import Label as Label |
|
33 | 34 | from .user import GitHubUser as GitHubUser |
34 | 35 | from .workflow import Artifact as Artifact |
35 | 36 | from .workflow import ArtifactsList as ArtifactsList |
| 37 | + from .workflow import WorkflowDispatchResult as WorkflowDispatchResult |
36 | 38 | from .workflow import WorkflowRun as WorkflowRun |
37 | 39 |
|
38 | 40 | # Map of exported attribute name -> submodule (relative to this package) that |
39 | 41 | # defines it. Submodules are imported on demand by `__getattr__`. |
40 | 42 | MODULE_BY_NAME: dict[str, str] = { |
41 | 43 | 'Artifact': 'workflow', |
42 | 44 | 'ArtifactsList': 'workflow', |
| 45 | + 'CheckRun': 'check_run', |
43 | 46 | 'GitHubUser': 'user', |
44 | 47 | 'IssueComment': 'comment', |
45 | 48 | 'Label': 'label', |
46 | 49 | 'PullRequest': 'pull_request', |
47 | 50 | 'PullRequestRef': 'pull_request', |
48 | 51 | 'PullRequestReviewComment': 'comment', |
| 52 | + 'WorkflowDispatchResult': 'workflow', |
49 | 53 | 'WorkflowRun': 'workflow', |
50 | 54 | } |
51 | 55 |
|
|
0 commit comments