GitHubKit 0.11.9__py3-none-any.whl → 0.11.10__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of GitHubKit might be problematic. Click here for more details.
- githubkit/versions/ghec_v2022_11_28/models/group_0040.py +12 -0
- githubkit/versions/ghec_v2022_11_28/models/group_0090.py +6 -0
- githubkit/versions/ghec_v2022_11_28/models/group_0121.py +3 -2
- githubkit/versions/ghec_v2022_11_28/models/group_0138.py +0 -6
- githubkit/versions/ghec_v2022_11_28/models/group_0141.py +0 -3
- githubkit/versions/ghec_v2022_11_28/models/group_0165.py +0 -3
- githubkit/versions/ghec_v2022_11_28/models/group_0166.py +1 -2
- githubkit/versions/ghec_v2022_11_28/models/group_0226.py +1 -1
- githubkit/versions/ghec_v2022_11_28/models/group_0390.py +10 -4
- githubkit/versions/ghec_v2022_11_28/models/group_0825.py +3 -3
- githubkit/versions/ghec_v2022_11_28/models/group_0828.py +2 -2
- githubkit/versions/ghec_v2022_11_28/models/group_0829.py +3 -3
- githubkit/versions/ghec_v2022_11_28/models/group_0863.py +3 -3
- githubkit/versions/ghec_v2022_11_28/models/group_0864.py +2 -2
- githubkit/versions/ghec_v2022_11_28/models/group_0865.py +3 -3
- githubkit/versions/ghec_v2022_11_28/models/group_0876.py +6 -0
- githubkit/versions/ghec_v2022_11_28/models/group_0878.py +6 -0
- githubkit/versions/ghec_v2022_11_28/models/group_0883.py +2 -2
- githubkit/versions/ghec_v2022_11_28/models/group_0884.py +2 -2
- githubkit/versions/ghec_v2022_11_28/models/group_0885.py +2 -2
- githubkit/versions/ghec_v2022_11_28/models/group_0891.py +2 -2
- githubkit/versions/ghec_v2022_11_28/models/group_0893.py +2 -2
- githubkit/versions/ghec_v2022_11_28/models/group_0895.py +2 -2
- githubkit/versions/ghec_v2022_11_28/models/group_0897.py +2 -2
- githubkit/versions/ghec_v2022_11_28/models/group_0916.py +3 -3
- githubkit/versions/ghec_v2022_11_28/models/group_0918.py +3 -3
- githubkit/versions/ghec_v2022_11_28/models/group_0921.py +3 -3
- githubkit/versions/ghec_v2022_11_28/models/group_0922.py +3 -2
- githubkit/versions/ghec_v2022_11_28/models/group_0923.py +3 -3
- githubkit/versions/ghec_v2022_11_28/models/group_0925.py +1 -2
- githubkit/versions/ghec_v2022_11_28/models/group_0926.py +1 -2
- githubkit/versions/ghec_v2022_11_28/models/group_0968.py +3 -3
- githubkit/versions/ghec_v2022_11_28/models/group_0969.py +2 -2
- githubkit/versions/ghec_v2022_11_28/models/group_0970.py +3 -3
- githubkit/versions/ghec_v2022_11_28/models/group_1006.py +2 -2
- githubkit/versions/ghec_v2022_11_28/models/group_1007.py +2 -2
- githubkit/versions/ghec_v2022_11_28/models/group_1008.py +2 -2
- githubkit/versions/ghec_v2022_11_28/models/group_1009.py +2 -2
- githubkit/versions/ghec_v2022_11_28/models/group_1010.py +2 -2
- githubkit/versions/ghec_v2022_11_28/models/group_1011.py +2 -2
- githubkit/versions/ghec_v2022_11_28/models/group_1016.py +3 -3
- githubkit/versions/ghec_v2022_11_28/models/group_1017.py +3 -3
- githubkit/versions/ghec_v2022_11_28/models/group_1018.py +3 -3
- githubkit/versions/ghec_v2022_11_28/models/group_1074.py +2 -2
- githubkit/versions/ghec_v2022_11_28/models/group_1075.py +2 -2
- githubkit/versions/ghec_v2022_11_28/models/group_1077.py +2 -2
- githubkit/versions/ghec_v2022_11_28/models/group_1078.py +2 -2
- githubkit/versions/ghec_v2022_11_28/models/group_1128.py +1 -2
- githubkit/versions/ghec_v2022_11_28/models/group_1129.py +1 -2
- githubkit/versions/ghec_v2022_11_28/models/group_1138.py +2 -2
- githubkit/versions/ghec_v2022_11_28/models/group_1139.py +2 -2
- githubkit/versions/ghec_v2022_11_28/models/group_1140.py +2 -2
- githubkit/versions/ghec_v2022_11_28/models/group_1165.py +2 -2
- githubkit/versions/ghec_v2022_11_28/models/group_1166.py +2 -2
- githubkit/versions/ghec_v2022_11_28/rest/code_security.py +12 -0
- githubkit/versions/ghec_v2022_11_28/rest/issues.py +16 -8
- githubkit/versions/ghec_v2022_11_28/rest/users.py +16 -4
- githubkit/versions/ghec_v2022_11_28/types/group_0040.py +3 -0
- githubkit/versions/ghec_v2022_11_28/types/group_0090.py +3 -0
- githubkit/versions/ghec_v2022_11_28/types/group_0138.py +0 -6
- githubkit/versions/ghec_v2022_11_28/types/group_0141.py +0 -3
- githubkit/versions/ghec_v2022_11_28/types/group_0165.py +0 -3
- githubkit/versions/ghec_v2022_11_28/types/group_0876.py +3 -0
- githubkit/versions/ghec_v2022_11_28/types/group_0878.py +3 -0
- githubkit/versions/v2022_11_28/models/group_0070.py +12 -0
- githubkit/versions/v2022_11_28/models/group_0074.py +6 -0
- githubkit/versions/v2022_11_28/models/group_0096.py +3 -2
- githubkit/versions/v2022_11_28/models/group_0113.py +0 -6
- githubkit/versions/v2022_11_28/models/group_0116.py +0 -3
- githubkit/versions/v2022_11_28/models/group_0140.py +0 -3
- githubkit/versions/v2022_11_28/models/group_0141.py +1 -2
- githubkit/versions/v2022_11_28/models/group_0203.py +1 -1
- githubkit/versions/v2022_11_28/models/group_0789.py +3 -3
- githubkit/versions/v2022_11_28/models/group_0792.py +2 -2
- githubkit/versions/v2022_11_28/models/group_0793.py +3 -3
- githubkit/versions/v2022_11_28/models/group_0805.py +6 -0
- githubkit/versions/v2022_11_28/models/group_0807.py +6 -0
- githubkit/versions/v2022_11_28/models/group_0812.py +2 -2
- githubkit/versions/v2022_11_28/models/group_0813.py +2 -2
- githubkit/versions/v2022_11_28/models/group_0814.py +2 -2
- githubkit/versions/v2022_11_28/models/group_0820.py +2 -2
- githubkit/versions/v2022_11_28/models/group_0822.py +2 -2
- githubkit/versions/v2022_11_28/models/group_0824.py +2 -2
- githubkit/versions/v2022_11_28/models/group_0826.py +2 -2
- githubkit/versions/v2022_11_28/models/group_0844.py +3 -3
- githubkit/versions/v2022_11_28/models/group_0846.py +3 -3
- githubkit/versions/v2022_11_28/models/group_0849.py +3 -3
- githubkit/versions/v2022_11_28/models/group_0850.py +3 -2
- githubkit/versions/v2022_11_28/models/group_0851.py +3 -3
- githubkit/versions/v2022_11_28/models/group_0853.py +1 -2
- githubkit/versions/v2022_11_28/models/group_0854.py +1 -2
- githubkit/versions/v2022_11_28/models/group_0894.py +3 -3
- githubkit/versions/v2022_11_28/models/group_0895.py +2 -2
- githubkit/versions/v2022_11_28/models/group_0896.py +3 -3
- githubkit/versions/v2022_11_28/models/group_0932.py +2 -2
- githubkit/versions/v2022_11_28/models/group_0933.py +2 -2
- githubkit/versions/v2022_11_28/models/group_0934.py +2 -2
- githubkit/versions/v2022_11_28/models/group_0935.py +2 -2
- githubkit/versions/v2022_11_28/models/group_0936.py +2 -2
- githubkit/versions/v2022_11_28/models/group_0937.py +2 -2
- githubkit/versions/v2022_11_28/models/group_0942.py +3 -3
- githubkit/versions/v2022_11_28/models/group_0943.py +3 -3
- githubkit/versions/v2022_11_28/models/group_0944.py +3 -3
- githubkit/versions/v2022_11_28/models/group_1000.py +2 -2
- githubkit/versions/v2022_11_28/models/group_1001.py +2 -2
- githubkit/versions/v2022_11_28/models/group_1003.py +2 -2
- githubkit/versions/v2022_11_28/models/group_1004.py +2 -2
- githubkit/versions/v2022_11_28/models/group_1054.py +1 -2
- githubkit/versions/v2022_11_28/models/group_1055.py +1 -2
- githubkit/versions/v2022_11_28/models/group_1087.py +2 -2
- githubkit/versions/v2022_11_28/models/group_1088.py +2 -2
- githubkit/versions/v2022_11_28/rest/code_security.py +12 -0
- githubkit/versions/v2022_11_28/rest/issues.py +16 -8
- githubkit/versions/v2022_11_28/rest/users.py +16 -4
- githubkit/versions/v2022_11_28/types/group_0070.py +3 -0
- githubkit/versions/v2022_11_28/types/group_0074.py +3 -0
- githubkit/versions/v2022_11_28/types/group_0113.py +0 -6
- githubkit/versions/v2022_11_28/types/group_0116.py +0 -3
- githubkit/versions/v2022_11_28/types/group_0140.py +0 -3
- githubkit/versions/v2022_11_28/types/group_0805.py +3 -0
- githubkit/versions/v2022_11_28/types/group_0807.py +3 -0
- {githubkit-0.11.9.dist-info → githubkit-0.11.10.dist-info}/METADATA +1 -1
- {githubkit-0.11.9.dist-info → githubkit-0.11.10.dist-info}/RECORD +125 -125
- {githubkit-0.11.9.dist-info → githubkit-0.11.10.dist-info}/LICENSE +0 -0
- {githubkit-0.11.9.dist-info → githubkit-0.11.10.dist-info}/WHEEL +0 -0
|
@@ -38,9 +38,21 @@ class CodeScanningAlertRuleSummary(GitHubModel):
|
|
|
38
38
|
default=UNSET,
|
|
39
39
|
description="A short description of the rule used to detect the alert.",
|
|
40
40
|
)
|
|
41
|
+
full_description: Missing[str] = Field(
|
|
42
|
+
default=UNSET, description="A description of the rule used to detect the alert."
|
|
43
|
+
)
|
|
41
44
|
tags: Missing[Union[List[str], None]] = Field(
|
|
42
45
|
default=UNSET, description="A set of tags applicable for the rule."
|
|
43
46
|
)
|
|
47
|
+
help_: Missing[Union[str, None]] = Field(
|
|
48
|
+
default=UNSET,
|
|
49
|
+
alias="help",
|
|
50
|
+
description="Detailed documentation for the rule as GitHub Flavored Markdown.",
|
|
51
|
+
)
|
|
52
|
+
help_uri: Missing[Union[str, None]] = Field(
|
|
53
|
+
default=UNSET,
|
|
54
|
+
description="A link to the documentation for the rule used to detect the alert.",
|
|
55
|
+
)
|
|
44
56
|
|
|
45
57
|
|
|
46
58
|
model_rebuild(CodeScanningAlertRuleSummary)
|
|
@@ -85,6 +85,12 @@ class CodeSecurityConfiguration(GitHubModel):
|
|
|
85
85
|
default=UNSET,
|
|
86
86
|
description="The enablement status of secret scanning validity checks",
|
|
87
87
|
)
|
|
88
|
+
secret_scanning_non_provider_patterns: Missing[
|
|
89
|
+
Literal["enabled", "disabled", "not_set"]
|
|
90
|
+
] = Field(
|
|
91
|
+
default=UNSET,
|
|
92
|
+
description="The enablement status of secret scanning non-provider patterns",
|
|
93
|
+
)
|
|
88
94
|
private_vulnerability_reporting: Missing[
|
|
89
95
|
Literal["enabled", "disabled", "not_set"]
|
|
90
96
|
] = Field(
|
|
@@ -16,7 +16,7 @@ from pydantic import Field
|
|
|
16
16
|
|
|
17
17
|
from githubkit.utils import UNSET
|
|
18
18
|
from githubkit.typing import Missing
|
|
19
|
-
from githubkit.compat import GitHubModel, model_rebuild
|
|
19
|
+
from githubkit.compat import PYDANTIC_V2, GitHubModel, model_rebuild
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
class CustomProperty(GitHubModel):
|
|
@@ -45,7 +45,8 @@ class CustomProperty(GitHubModel):
|
|
|
45
45
|
allowed_values: Missing[
|
|
46
46
|
Union[
|
|
47
47
|
Annotated[
|
|
48
|
-
List[Annotated[str, Field(max_length=75)]],
|
|
48
|
+
List[Annotated[str, Field(max_length=75)]],
|
|
49
|
+
Field(max_length=200 if PYDANTIC_V2 else None),
|
|
49
50
|
],
|
|
50
51
|
None,
|
|
51
52
|
]
|
|
@@ -57,9 +57,6 @@ class RepositoryRuleNonFastForward(GitHubModel):
|
|
|
57
57
|
class RepositoryRuleOneof15(GitHubModel):
|
|
58
58
|
"""file_path_restriction
|
|
59
59
|
|
|
60
|
-
> [!NOTE]
|
|
61
|
-
> `file_path_restriction` is in beta and subject to change.
|
|
62
|
-
|
|
63
60
|
Prevent commits that include changes in specified file paths from being pushed
|
|
64
61
|
to the commit graph.
|
|
65
62
|
"""
|
|
@@ -79,9 +76,6 @@ class RepositoryRuleOneof15PropParameters(GitHubModel):
|
|
|
79
76
|
class RepositoryRuleOneof17(GitHubModel):
|
|
80
77
|
"""file_extension_restriction
|
|
81
78
|
|
|
82
|
-
> [!NOTE]
|
|
83
|
-
> `file_extension_restriction` is in beta and subject to change.
|
|
84
|
-
|
|
85
79
|
Prevent commits that include files with specified file extensions from being
|
|
86
80
|
pushed to the commit graph.
|
|
87
81
|
"""
|
|
@@ -30,9 +30,6 @@ class RepositoryRuleRequiredLinearHistory(GitHubModel):
|
|
|
30
30
|
class RepositoryRuleOneof16(GitHubModel):
|
|
31
31
|
"""max_file_path_length
|
|
32
32
|
|
|
33
|
-
> [!NOTE]
|
|
34
|
-
> `max_file_path_length` is in beta and subject to change.
|
|
35
|
-
|
|
36
33
|
Prevent commits that include file paths that exceed a specified character limit
|
|
37
34
|
from being pushed to the commit graph.
|
|
38
35
|
"""
|
|
@@ -21,9 +21,6 @@ from githubkit.compat import GitHubModel, model_rebuild
|
|
|
21
21
|
class RepositoryRuleOneof18(GitHubModel):
|
|
22
22
|
"""max_file_size
|
|
23
23
|
|
|
24
|
-
> [!NOTE]
|
|
25
|
-
> `max_file_size` is in beta and subject to change.
|
|
26
|
-
|
|
27
24
|
Prevent commits that exceed a specified file size limit from being pushed to the
|
|
28
25
|
commit.
|
|
29
26
|
"""
|
|
@@ -56,8 +56,7 @@ class RepositoryRuleset(GitHubModel):
|
|
|
56
56
|
id: int = Field(description="The ID of the ruleset")
|
|
57
57
|
name: str = Field(description="The name of the ruleset")
|
|
58
58
|
target: Missing[Literal["branch", "tag", "push"]] = Field(
|
|
59
|
-
default=UNSET,
|
|
60
|
-
description="The target of the ruleset\n\n> [!NOTE]\n> The `push` target is in beta and is subject to change.",
|
|
59
|
+
default=UNSET, description="The target of the ruleset"
|
|
61
60
|
)
|
|
62
61
|
source_type: Missing[Literal["Repository", "Organization"]] = Field(
|
|
63
62
|
default=UNSET, description="The type of the source of the ruleset"
|
|
@@ -88,7 +88,7 @@ class CodeScanningAlertRule(GitHubModel):
|
|
|
88
88
|
description="A short description of the rule used to detect the alert.",
|
|
89
89
|
)
|
|
90
90
|
full_description: Missing[str] = Field(
|
|
91
|
-
default=UNSET, description="description of the rule used to detect the alert."
|
|
91
|
+
default=UNSET, description="A description of the rule used to detect the alert."
|
|
92
92
|
)
|
|
93
93
|
tags: Missing[Union[List[str], None]] = Field(
|
|
94
94
|
default=UNSET, description="A set of tags applicable for the rule."
|
|
@@ -15,7 +15,7 @@ from pydantic import Field
|
|
|
15
15
|
|
|
16
16
|
from githubkit.utils import UNSET
|
|
17
17
|
from githubkit.typing import Missing
|
|
18
|
-
from githubkit.compat import GitHubModel, model_rebuild
|
|
18
|
+
from githubkit.compat import PYDANTIC_V2, GitHubModel, model_rebuild
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
class OrgsOrgActionsRunnersGenerateJitconfigPostBody(GitHubModel):
|
|
@@ -26,8 +26,8 @@ class OrgsOrgActionsRunnersGenerateJitconfigPostBody(GitHubModel):
|
|
|
26
26
|
description="The ID of the runner group to register the runner to."
|
|
27
27
|
)
|
|
28
28
|
labels: List[str] = Field(
|
|
29
|
-
max_length=100,
|
|
30
|
-
min_length=1,
|
|
29
|
+
max_length=100 if PYDANTIC_V2 else None,
|
|
30
|
+
min_length=1 if PYDANTIC_V2 else None,
|
|
31
31
|
description="The names of the custom labels to add to the runner. **Minimum items**: 1. **Maximum items**: 100.",
|
|
32
32
|
)
|
|
33
33
|
work_folder: Missing[str] = Field(
|
|
@@ -13,14 +13,14 @@ from typing import List
|
|
|
13
13
|
|
|
14
14
|
from pydantic import Field
|
|
15
15
|
|
|
16
|
-
from githubkit.compat import GitHubModel, model_rebuild
|
|
16
|
+
from githubkit.compat import PYDANTIC_V2, GitHubModel, model_rebuild
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
class OrgsOrgActionsRunnersRunnerIdLabelsPutBody(GitHubModel):
|
|
20
20
|
"""OrgsOrgActionsRunnersRunnerIdLabelsPutBody"""
|
|
21
21
|
|
|
22
22
|
labels: List[str] = Field(
|
|
23
|
-
max_length=100,
|
|
23
|
+
max_length=100 if PYDANTIC_V2 else None,
|
|
24
24
|
description="The names of the custom labels to set for the runner. You can pass an empty array to remove all custom labels.",
|
|
25
25
|
)
|
|
26
26
|
|
|
@@ -13,15 +13,15 @@ from typing import List
|
|
|
13
13
|
|
|
14
14
|
from pydantic import Field
|
|
15
15
|
|
|
16
|
-
from githubkit.compat import GitHubModel, model_rebuild
|
|
16
|
+
from githubkit.compat import PYDANTIC_V2, GitHubModel, model_rebuild
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
class OrgsOrgActionsRunnersRunnerIdLabelsPostBody(GitHubModel):
|
|
20
20
|
"""OrgsOrgActionsRunnersRunnerIdLabelsPostBody"""
|
|
21
21
|
|
|
22
22
|
labels: List[str] = Field(
|
|
23
|
-
max_length=100,
|
|
24
|
-
min_length=1,
|
|
23
|
+
max_length=100 if PYDANTIC_V2 else None,
|
|
24
|
+
min_length=1 if PYDANTIC_V2 else None,
|
|
25
25
|
description="The names of the custom labels to add to the runner.",
|
|
26
26
|
)
|
|
27
27
|
|
|
@@ -74,6 +74,12 @@ class OrgsOrgCodeSecurityConfigurationsPostBody(GitHubModel):
|
|
|
74
74
|
default=UNSET,
|
|
75
75
|
description="The enablement status of secret scanning validity checks",
|
|
76
76
|
)
|
|
77
|
+
secret_scanning_non_provider_patterns: Missing[
|
|
78
|
+
Literal["enabled", "disabled", "not_set"]
|
|
79
|
+
] = Field(
|
|
80
|
+
default=UNSET,
|
|
81
|
+
description="The enablement status of secret scanning non provider patterns",
|
|
82
|
+
)
|
|
77
83
|
private_vulnerability_reporting: Missing[
|
|
78
84
|
Literal["enabled", "disabled", "not_set"]
|
|
79
85
|
] = Field(
|
|
@@ -77,6 +77,12 @@ class OrgsOrgCodeSecurityConfigurationsConfigurationIdPatchBody(GitHubModel):
|
|
|
77
77
|
default=UNSET,
|
|
78
78
|
description="The enablement status of secret scanning validity checks",
|
|
79
79
|
)
|
|
80
|
+
secret_scanning_non_provider_patterns: Missing[
|
|
81
|
+
Literal["enabled", "disabled", "not_set"]
|
|
82
|
+
] = Field(
|
|
83
|
+
default=UNSET,
|
|
84
|
+
description="The enablement status of secret scanning non-provider patterns",
|
|
85
|
+
)
|
|
80
86
|
private_vulnerability_reporting: Missing[
|
|
81
87
|
Literal["enabled", "disabled", "not_set"]
|
|
82
88
|
] = Field(
|
|
@@ -15,7 +15,7 @@ from pydantic import Field
|
|
|
15
15
|
|
|
16
16
|
from githubkit.utils import UNSET
|
|
17
17
|
from githubkit.typing import Missing
|
|
18
|
-
from githubkit.compat import GitHubModel, model_rebuild
|
|
18
|
+
from githubkit.compat import PYDANTIC_V2, GitHubModel, model_rebuild
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
class OrgsOrgCodespacesAccessPutBody(GitHubModel):
|
|
@@ -30,7 +30,7 @@ class OrgsOrgCodespacesAccessPutBody(GitHubModel):
|
|
|
30
30
|
description="Which users can access codespaces in the organization. `disabled` means that no users can access codespaces in the organization."
|
|
31
31
|
)
|
|
32
32
|
selected_usernames: Missing[List[str]] = Field(
|
|
33
|
-
max_length=100,
|
|
33
|
+
max_length=100 if PYDANTIC_V2 else None,
|
|
34
34
|
default=UNSET,
|
|
35
35
|
description="The usernames of the organization members who should have access to codespaces in the organization. Required when `visibility` is `selected_members`. The provided list of usernames will replace any existing value.",
|
|
36
36
|
)
|
|
@@ -13,14 +13,14 @@ from typing import List
|
|
|
13
13
|
|
|
14
14
|
from pydantic import Field
|
|
15
15
|
|
|
16
|
-
from githubkit.compat import GitHubModel, model_rebuild
|
|
16
|
+
from githubkit.compat import PYDANTIC_V2, GitHubModel, model_rebuild
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
class OrgsOrgCodespacesAccessSelectedUsersPostBody(GitHubModel):
|
|
20
20
|
"""OrgsOrgCodespacesAccessSelectedUsersPostBody"""
|
|
21
21
|
|
|
22
22
|
selected_usernames: List[str] = Field(
|
|
23
|
-
max_length=100,
|
|
23
|
+
max_length=100 if PYDANTIC_V2 else None,
|
|
24
24
|
description="The usernames of the organization members whose codespaces be billed to the organization.",
|
|
25
25
|
)
|
|
26
26
|
|
|
@@ -13,14 +13,14 @@ from typing import List
|
|
|
13
13
|
|
|
14
14
|
from pydantic import Field
|
|
15
15
|
|
|
16
|
-
from githubkit.compat import GitHubModel, model_rebuild
|
|
16
|
+
from githubkit.compat import PYDANTIC_V2, GitHubModel, model_rebuild
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
class OrgsOrgCodespacesAccessSelectedUsersDeleteBody(GitHubModel):
|
|
20
20
|
"""OrgsOrgCodespacesAccessSelectedUsersDeleteBody"""
|
|
21
21
|
|
|
22
22
|
selected_usernames: List[str] = Field(
|
|
23
|
-
max_length=100,
|
|
23
|
+
max_length=100 if PYDANTIC_V2 else None,
|
|
24
24
|
description="The usernames of the organization members whose codespaces should not be billed to the organization.",
|
|
25
25
|
)
|
|
26
26
|
|
|
@@ -13,14 +13,14 @@ from typing import List
|
|
|
13
13
|
|
|
14
14
|
from pydantic import Field
|
|
15
15
|
|
|
16
|
-
from githubkit.compat import GitHubModel, model_rebuild
|
|
16
|
+
from githubkit.compat import PYDANTIC_V2, GitHubModel, model_rebuild
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
class OrgsOrgCopilotBillingSelectedTeamsPostBody(GitHubModel):
|
|
20
20
|
"""OrgsOrgCopilotBillingSelectedTeamsPostBody"""
|
|
21
21
|
|
|
22
22
|
selected_teams: List[str] = Field(
|
|
23
|
-
min_length=1,
|
|
23
|
+
min_length=1 if PYDANTIC_V2 else None,
|
|
24
24
|
description="List of team names within the organization to which to grant access to GitHub Copilot.",
|
|
25
25
|
)
|
|
26
26
|
|
|
@@ -13,14 +13,14 @@ from typing import List
|
|
|
13
13
|
|
|
14
14
|
from pydantic import Field
|
|
15
15
|
|
|
16
|
-
from githubkit.compat import GitHubModel, model_rebuild
|
|
16
|
+
from githubkit.compat import PYDANTIC_V2, GitHubModel, model_rebuild
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
class OrgsOrgCopilotBillingSelectedTeamsDeleteBody(GitHubModel):
|
|
20
20
|
"""OrgsOrgCopilotBillingSelectedTeamsDeleteBody"""
|
|
21
21
|
|
|
22
22
|
selected_teams: List[str] = Field(
|
|
23
|
-
min_length=1,
|
|
23
|
+
min_length=1 if PYDANTIC_V2 else None,
|
|
24
24
|
description="The names of teams from which to revoke access to GitHub Copilot.",
|
|
25
25
|
)
|
|
26
26
|
|
|
@@ -13,14 +13,14 @@ from typing import List
|
|
|
13
13
|
|
|
14
14
|
from pydantic import Field
|
|
15
15
|
|
|
16
|
-
from githubkit.compat import GitHubModel, model_rebuild
|
|
16
|
+
from githubkit.compat import PYDANTIC_V2, GitHubModel, model_rebuild
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
class OrgsOrgCopilotBillingSelectedUsersPostBody(GitHubModel):
|
|
20
20
|
"""OrgsOrgCopilotBillingSelectedUsersPostBody"""
|
|
21
21
|
|
|
22
22
|
selected_usernames: List[str] = Field(
|
|
23
|
-
min_length=1,
|
|
23
|
+
min_length=1 if PYDANTIC_V2 else None,
|
|
24
24
|
description="The usernames of the organization members to be granted access to GitHub Copilot.",
|
|
25
25
|
)
|
|
26
26
|
|
|
@@ -13,14 +13,14 @@ from typing import List
|
|
|
13
13
|
|
|
14
14
|
from pydantic import Field
|
|
15
15
|
|
|
16
|
-
from githubkit.compat import GitHubModel, model_rebuild
|
|
16
|
+
from githubkit.compat import PYDANTIC_V2, GitHubModel, model_rebuild
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
class OrgsOrgCopilotBillingSelectedUsersDeleteBody(GitHubModel):
|
|
20
20
|
"""OrgsOrgCopilotBillingSelectedUsersDeleteBody"""
|
|
21
21
|
|
|
22
22
|
selected_usernames: List[str] = Field(
|
|
23
|
-
min_length=1,
|
|
23
|
+
min_length=1 if PYDANTIC_V2 else None,
|
|
24
24
|
description="The usernames of the organization members for which to revoke access to GitHub Copilot.",
|
|
25
25
|
)
|
|
26
26
|
|
|
@@ -16,15 +16,15 @@ from pydantic import Field
|
|
|
16
16
|
|
|
17
17
|
from githubkit.utils import UNSET
|
|
18
18
|
from githubkit.typing import Missing
|
|
19
|
-
from githubkit.compat import GitHubModel, model_rebuild
|
|
19
|
+
from githubkit.compat import PYDANTIC_V2, GitHubModel, model_rebuild
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
class OrgsOrgPersonalAccessTokenRequestsPostBody(GitHubModel):
|
|
23
23
|
"""OrgsOrgPersonalAccessTokenRequestsPostBody"""
|
|
24
24
|
|
|
25
25
|
pat_request_ids: Missing[List[int]] = Field(
|
|
26
|
-
max_length=100,
|
|
27
|
-
min_length=1,
|
|
26
|
+
max_length=100 if PYDANTIC_V2 else None,
|
|
27
|
+
min_length=1 if PYDANTIC_V2 else None,
|
|
28
28
|
default=UNSET,
|
|
29
29
|
description="Unique identifiers of the requests for access via fine-grained personal access token. Must be formed of between 1 and 100 `pat_request_id` values.",
|
|
30
30
|
)
|
|
@@ -13,7 +13,7 @@ from typing import List, Literal
|
|
|
13
13
|
|
|
14
14
|
from pydantic import Field
|
|
15
15
|
|
|
16
|
-
from githubkit.compat import GitHubModel, model_rebuild
|
|
16
|
+
from githubkit.compat import PYDANTIC_V2, GitHubModel, model_rebuild
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
class OrgsOrgPersonalAccessTokensPostBody(GitHubModel):
|
|
@@ -23,8 +23,8 @@ class OrgsOrgPersonalAccessTokensPostBody(GitHubModel):
|
|
|
23
23
|
description="Action to apply to the fine-grained personal access token."
|
|
24
24
|
)
|
|
25
25
|
pat_ids: List[int] = Field(
|
|
26
|
-
max_length=100,
|
|
27
|
-
min_length=1,
|
|
26
|
+
max_length=100 if PYDANTIC_V2 else None,
|
|
27
|
+
min_length=1 if PYDANTIC_V2 else None,
|
|
28
28
|
description="The IDs of the fine-grained personal access tokens.",
|
|
29
29
|
)
|
|
30
30
|
|
|
@@ -13,7 +13,7 @@ from typing import List
|
|
|
13
13
|
|
|
14
14
|
from pydantic import Field
|
|
15
15
|
|
|
16
|
-
from githubkit.compat import GitHubModel, model_rebuild
|
|
16
|
+
from githubkit.compat import PYDANTIC_V2, GitHubModel, model_rebuild
|
|
17
17
|
|
|
18
18
|
from .group_0096 import CustomProperty
|
|
19
19
|
|
|
@@ -22,8 +22,8 @@ class OrgsOrgPropertiesSchemaPatchBody(GitHubModel):
|
|
|
22
22
|
"""OrgsOrgPropertiesSchemaPatchBody"""
|
|
23
23
|
|
|
24
24
|
properties: List[CustomProperty] = Field(
|
|
25
|
-
max_length=100,
|
|
26
|
-
min_length=1,
|
|
25
|
+
max_length=100 if PYDANTIC_V2 else None,
|
|
26
|
+
min_length=1 if PYDANTIC_V2 else None,
|
|
27
27
|
description="The array of custom properties to create or update.",
|
|
28
28
|
)
|
|
29
29
|
|
|
@@ -16,7 +16,7 @@ from pydantic import Field
|
|
|
16
16
|
|
|
17
17
|
from githubkit.utils import UNSET
|
|
18
18
|
from githubkit.typing import Missing
|
|
19
|
-
from githubkit.compat import GitHubModel, model_rebuild
|
|
19
|
+
from githubkit.compat import PYDANTIC_V2, GitHubModel, model_rebuild
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
class OrgsOrgPropertiesSchemaCustomPropertyNamePutBody(GitHubModel):
|
|
@@ -37,7 +37,8 @@ class OrgsOrgPropertiesSchemaCustomPropertyNamePutBody(GitHubModel):
|
|
|
37
37
|
allowed_values: Missing[
|
|
38
38
|
Union[
|
|
39
39
|
Annotated[
|
|
40
|
-
List[Annotated[str, Field(max_length=75)]],
|
|
40
|
+
List[Annotated[str, Field(max_length=75)]],
|
|
41
|
+
Field(max_length=200 if PYDANTIC_V2 else None),
|
|
41
42
|
],
|
|
42
43
|
None,
|
|
43
44
|
]
|
|
@@ -13,7 +13,7 @@ from typing import List
|
|
|
13
13
|
|
|
14
14
|
from pydantic import Field
|
|
15
15
|
|
|
16
|
-
from githubkit.compat import GitHubModel, model_rebuild
|
|
16
|
+
from githubkit.compat import PYDANTIC_V2, GitHubModel, model_rebuild
|
|
17
17
|
|
|
18
18
|
from .group_0097 import CustomPropertyValue
|
|
19
19
|
|
|
@@ -22,8 +22,8 @@ class OrgsOrgPropertiesValuesPatchBody(GitHubModel):
|
|
|
22
22
|
"""OrgsOrgPropertiesValuesPatchBody"""
|
|
23
23
|
|
|
24
24
|
repository_names: List[str] = Field(
|
|
25
|
-
max_length=30,
|
|
26
|
-
min_length=1,
|
|
25
|
+
max_length=30 if PYDANTIC_V2 else None,
|
|
26
|
+
min_length=1 if PYDANTIC_V2 else None,
|
|
27
27
|
description="The names of repositories that the custom property values will be applied to.",
|
|
28
28
|
)
|
|
29
29
|
properties: List[CustomPropertyValue] = Field(
|
|
@@ -50,8 +50,7 @@ class OrgsOrgRulesetsPostBody(GitHubModel):
|
|
|
50
50
|
|
|
51
51
|
name: str = Field(description="The name of the ruleset.")
|
|
52
52
|
target: Missing[Literal["branch", "tag", "push"]] = Field(
|
|
53
|
-
default=UNSET,
|
|
54
|
-
description="The target of the ruleset\n\n> [!NOTE]\n> The `push` target is in beta and is subject to change.",
|
|
53
|
+
default=UNSET, description="The target of the ruleset"
|
|
55
54
|
)
|
|
56
55
|
enforcement: Literal["disabled", "active", "evaluate"] = Field(
|
|
57
56
|
description="The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins can view insights on the Rule Insights page (`evaluate` is only available with GitHub Enterprise)."
|
|
@@ -50,8 +50,7 @@ class OrgsOrgRulesetsRulesetIdPutBody(GitHubModel):
|
|
|
50
50
|
|
|
51
51
|
name: Missing[str] = Field(default=UNSET, description="The name of the ruleset.")
|
|
52
52
|
target: Missing[Literal["branch", "tag", "push"]] = Field(
|
|
53
|
-
default=UNSET,
|
|
54
|
-
description="The target of the ruleset\n\n> [!NOTE]\n> The `push` target is in beta and is subject to change.",
|
|
53
|
+
default=UNSET, description="The target of the ruleset"
|
|
55
54
|
)
|
|
56
55
|
enforcement: Missing[Literal["disabled", "active", "evaluate"]] = Field(
|
|
57
56
|
default=UNSET,
|
|
@@ -15,7 +15,7 @@ from pydantic import Field
|
|
|
15
15
|
|
|
16
16
|
from githubkit.utils import UNSET
|
|
17
17
|
from githubkit.typing import Missing
|
|
18
|
-
from githubkit.compat import GitHubModel, model_rebuild
|
|
18
|
+
from githubkit.compat import PYDANTIC_V2, GitHubModel, model_rebuild
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
class ReposOwnerRepoActionsRunnersGenerateJitconfigPostBody(GitHubModel):
|
|
@@ -26,8 +26,8 @@ class ReposOwnerRepoActionsRunnersGenerateJitconfigPostBody(GitHubModel):
|
|
|
26
26
|
description="The ID of the runner group to register the runner to."
|
|
27
27
|
)
|
|
28
28
|
labels: List[str] = Field(
|
|
29
|
-
max_length=100,
|
|
30
|
-
min_length=1,
|
|
29
|
+
max_length=100 if PYDANTIC_V2 else None,
|
|
30
|
+
min_length=1 if PYDANTIC_V2 else None,
|
|
31
31
|
description="The names of the custom labels to add to the runner. **Minimum items**: 1. **Maximum items**: 100.",
|
|
32
32
|
)
|
|
33
33
|
work_folder: Missing[str] = Field(
|
|
@@ -13,14 +13,14 @@ from typing import List
|
|
|
13
13
|
|
|
14
14
|
from pydantic import Field
|
|
15
15
|
|
|
16
|
-
from githubkit.compat import GitHubModel, model_rebuild
|
|
16
|
+
from githubkit.compat import PYDANTIC_V2, GitHubModel, model_rebuild
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
class ReposOwnerRepoActionsRunnersRunnerIdLabelsPutBody(GitHubModel):
|
|
20
20
|
"""ReposOwnerRepoActionsRunnersRunnerIdLabelsPutBody"""
|
|
21
21
|
|
|
22
22
|
labels: List[str] = Field(
|
|
23
|
-
max_length=100,
|
|
23
|
+
max_length=100 if PYDANTIC_V2 else None,
|
|
24
24
|
description="The names of the custom labels to set for the runner. You can pass an empty array to remove all custom labels.",
|
|
25
25
|
)
|
|
26
26
|
|
|
@@ -13,15 +13,15 @@ from typing import List
|
|
|
13
13
|
|
|
14
14
|
from pydantic import Field
|
|
15
15
|
|
|
16
|
-
from githubkit.compat import GitHubModel, model_rebuild
|
|
16
|
+
from githubkit.compat import PYDANTIC_V2, GitHubModel, model_rebuild
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
class ReposOwnerRepoActionsRunnersRunnerIdLabelsPostBody(GitHubModel):
|
|
20
20
|
"""ReposOwnerRepoActionsRunnersRunnerIdLabelsPostBody"""
|
|
21
21
|
|
|
22
22
|
labels: List[str] = Field(
|
|
23
|
-
max_length=100,
|
|
24
|
-
min_length=1,
|
|
23
|
+
max_length=100 if PYDANTIC_V2 else None,
|
|
24
|
+
min_length=1 if PYDANTIC_V2 else None,
|
|
25
25
|
description="The names of the custom labels to add to the runner.",
|
|
26
26
|
)
|
|
27
27
|
|
|
@@ -15,7 +15,7 @@ from pydantic import Field
|
|
|
15
15
|
|
|
16
16
|
from githubkit.utils import UNSET
|
|
17
17
|
from githubkit.typing import Missing
|
|
18
|
-
from githubkit.compat import GitHubModel, model_rebuild
|
|
18
|
+
from githubkit.compat import PYDANTIC_V2, GitHubModel, model_rebuild
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
class ReposOwnerRepoCheckRunsPostBodyPropOutput(GitHubModel):
|
|
@@ -39,7 +39,7 @@ class ReposOwnerRepoCheckRunsPostBodyPropOutput(GitHubModel):
|
|
|
39
39
|
annotations: Missing[
|
|
40
40
|
List[ReposOwnerRepoCheckRunsPostBodyPropOutputPropAnnotationsItems]
|
|
41
41
|
] = Field(
|
|
42
|
-
max_length=50,
|
|
42
|
+
max_length=50 if PYDANTIC_V2 else None,
|
|
43
43
|
default=UNSET,
|
|
44
44
|
description='Adds information from your analysis to specific lines of code. Annotations are visible on GitHub in the **Checks** and **Files changed** tab of the pull request. The Checks API limits the number of annotations to a maximum of 50 per API request. To create more than 50 annotations, you have to make multiple requests to the [Update a check run](https://docs.github.com/rest/checks/runs#update-a-check-run) endpoint. Each time you update the check run, annotations are appended to the list of annotations that already exist for the check run. GitHub Actions are limited to 10 warning annotations and 10 error annotations per step. For details about how you can view annotations on GitHub, see "[About status checks](https://docs.github.com/articles/about-status-checks#checks)".',
|
|
45
45
|
)
|
|
@@ -16,7 +16,7 @@ from pydantic import Field
|
|
|
16
16
|
|
|
17
17
|
from githubkit.utils import UNSET
|
|
18
18
|
from githubkit.typing import Missing
|
|
19
|
-
from githubkit.compat import ExtraGitHubModel, model_rebuild
|
|
19
|
+
from githubkit.compat import PYDANTIC_V2, ExtraGitHubModel, model_rebuild
|
|
20
20
|
|
|
21
21
|
from .group_0932 import (
|
|
22
22
|
ReposOwnerRepoCheckRunsPostBodyPropOutput,
|
|
@@ -64,7 +64,7 @@ class ReposOwnerRepoCheckRunsPostBodyOneof0(ExtraGitHubModel):
|
|
|
64
64
|
description="Check runs can accept a variety of data in the `output` object, including a `title` and `summary` and can optionally provide descriptive details about the run.",
|
|
65
65
|
)
|
|
66
66
|
actions: Missing[List[ReposOwnerRepoCheckRunsPostBodyPropActionsItems]] = Field(
|
|
67
|
-
max_length=3,
|
|
67
|
+
max_length=3 if PYDANTIC_V2 else None,
|
|
68
68
|
default=UNSET,
|
|
69
69
|
description='Displays a button on GitHub that can be clicked to alert your app to do additional tasks. For example, a code linting app can display a button that automatically fixes detected errors. The button created in this object is displayed after the check run completes. When a user clicks the button, GitHub sends the [`check_run.requested_action` webhook](https://docs.github.com/webhooks/event-payloads/#check_run) to your app. Each action includes a `label`, `identifier` and `description`. A maximum of three actions are accepted. To learn more about check runs and requested actions, see "[Check runs and requested actions](https://docs.github.com/rest/guides/using-the-rest-api-to-interact-with-checks#check-runs-and-requested-actions)."',
|
|
70
70
|
)
|
|
@@ -16,7 +16,7 @@ from pydantic import Field
|
|
|
16
16
|
|
|
17
17
|
from githubkit.utils import UNSET
|
|
18
18
|
from githubkit.typing import Missing
|
|
19
|
-
from githubkit.compat import ExtraGitHubModel, model_rebuild
|
|
19
|
+
from githubkit.compat import PYDANTIC_V2, ExtraGitHubModel, model_rebuild
|
|
20
20
|
|
|
21
21
|
from .group_0932 import (
|
|
22
22
|
ReposOwnerRepoCheckRunsPostBodyPropOutput,
|
|
@@ -67,7 +67,7 @@ class ReposOwnerRepoCheckRunsPostBodyOneof1(ExtraGitHubModel):
|
|
|
67
67
|
description="Check runs can accept a variety of data in the `output` object, including a `title` and `summary` and can optionally provide descriptive details about the run.",
|
|
68
68
|
)
|
|
69
69
|
actions: Missing[List[ReposOwnerRepoCheckRunsPostBodyPropActionsItems]] = Field(
|
|
70
|
-
max_length=3,
|
|
70
|
+
max_length=3 if PYDANTIC_V2 else None,
|
|
71
71
|
default=UNSET,
|
|
72
72
|
description='Displays a button on GitHub that can be clicked to alert your app to do additional tasks. For example, a code linting app can display a button that automatically fixes detected errors. The button created in this object is displayed after the check run completes. When a user clicks the button, GitHub sends the [`check_run.requested_action` webhook](https://docs.github.com/webhooks/event-payloads/#check_run) to your app. Each action includes a `label`, `identifier` and `description`. A maximum of three actions are accepted. To learn more about check runs and requested actions, see "[Check runs and requested actions](https://docs.github.com/rest/guides/using-the-rest-api-to-interact-with-checks#check-runs-and-requested-actions)."',
|
|
73
73
|
)
|
|
@@ -15,7 +15,7 @@ from pydantic import Field
|
|
|
15
15
|
|
|
16
16
|
from githubkit.utils import UNSET
|
|
17
17
|
from githubkit.typing import Missing
|
|
18
|
-
from githubkit.compat import GitHubModel, model_rebuild
|
|
18
|
+
from githubkit.compat import PYDANTIC_V2, GitHubModel, model_rebuild
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
class ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropOutput(GitHubModel):
|
|
@@ -34,7 +34,7 @@ class ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropOutput(GitHubModel):
|
|
|
34
34
|
annotations: Missing[
|
|
35
35
|
List[ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropOutputPropAnnotationsItems]
|
|
36
36
|
] = Field(
|
|
37
|
-
max_length=50,
|
|
37
|
+
max_length=50 if PYDANTIC_V2 else None,
|
|
38
38
|
default=UNSET,
|
|
39
39
|
description="Adds information from your analysis to specific lines of code. Annotations are visible in GitHub's pull request UI. Annotations are visible in GitHub's pull request UI. The Checks API limits the number of annotations to a maximum of 50 per API request. To create more than 50 annotations, you have to make multiple requests to the [Update a check run](https://docs.github.com/rest/checks/runs#update-a-check-run) endpoint. Each time you update the check run, annotations are appended to the list of annotations that already exist for the check run. GitHub Actions are limited to 10 warning annotations and 10 error annotations per step. For details about annotations in the UI, see \"[About status checks](https://docs.github.com/articles/about-status-checks#checks)\".",
|
|
40
40
|
)
|
|
@@ -16,7 +16,7 @@ from pydantic import Field
|
|
|
16
16
|
|
|
17
17
|
from githubkit.utils import UNSET
|
|
18
18
|
from githubkit.typing import Missing
|
|
19
|
-
from githubkit.compat import ExtraGitHubModel, model_rebuild
|
|
19
|
+
from githubkit.compat import PYDANTIC_V2, ExtraGitHubModel, model_rebuild
|
|
20
20
|
|
|
21
21
|
from .group_0935 import (
|
|
22
22
|
ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropOutput,
|
|
@@ -66,7 +66,7 @@ class ReposOwnerRepoCheckRunsCheckRunIdPatchBodyAnyof0(ExtraGitHubModel):
|
|
|
66
66
|
actions: Missing[
|
|
67
67
|
List[ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropActionsItems]
|
|
68
68
|
] = Field(
|
|
69
|
-
max_length=3,
|
|
69
|
+
max_length=3 if PYDANTIC_V2 else None,
|
|
70
70
|
default=UNSET,
|
|
71
71
|
description='Possible further actions the integrator can perform, which a user may trigger. Each action includes a `label`, `identifier` and `description`. A maximum of three actions are accepted. To learn more about check runs and requested actions, see "[Check runs and requested actions](https://docs.github.com/rest/guides/using-the-rest-api-to-interact-with-checks#check-runs-and-requested-actions)."',
|
|
72
72
|
)
|
|
@@ -16,7 +16,7 @@ from pydantic import Field
|
|
|
16
16
|
|
|
17
17
|
from githubkit.utils import UNSET
|
|
18
18
|
from githubkit.typing import Missing
|
|
19
|
-
from githubkit.compat import ExtraGitHubModel, model_rebuild
|
|
19
|
+
from githubkit.compat import PYDANTIC_V2, ExtraGitHubModel, model_rebuild
|
|
20
20
|
|
|
21
21
|
from .group_0935 import (
|
|
22
22
|
ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropOutput,
|
|
@@ -69,7 +69,7 @@ class ReposOwnerRepoCheckRunsCheckRunIdPatchBodyAnyof1(ExtraGitHubModel):
|
|
|
69
69
|
actions: Missing[
|
|
70
70
|
List[ReposOwnerRepoCheckRunsCheckRunIdPatchBodyPropActionsItems]
|
|
71
71
|
] = Field(
|
|
72
|
-
max_length=3,
|
|
72
|
+
max_length=3 if PYDANTIC_V2 else None,
|
|
73
73
|
default=UNSET,
|
|
74
74
|
description='Possible further actions the integrator can perform, which a user may trigger. Each action includes a `label`, `identifier` and `description`. A maximum of three actions are accepted. To learn more about check runs and requested actions, see "[Check runs and requested actions](https://docs.github.com/rest/guides/using-the-rest-api-to-interact-with-checks#check-runs-and-requested-actions)."',
|
|
75
75
|
)
|