Skip to content

Commit 4da5526

Browse files
authored
👽 re generate models
1 parent e0faa5c commit 4da5526

File tree

3 files changed

+19
-2
lines changed

3 files changed

+19
-2
lines changed

githubkit/rest/models.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4156,6 +4156,7 @@ class RepositoryRulesetPropLinks(GitHubRestModel):
41564156
self_: Missing[RepositoryRulesetPropLinksPropSelf] = Field(
41574157
default=UNSET, alias="self"
41584158
)
4159+
html: Missing[RepositoryRulesetPropLinksPropHtml] = Field(default=UNSET)
41594160

41604161

41614162
class RepositoryRulesetPropLinksPropSelf(GitHubRestModel):
@@ -4164,6 +4165,12 @@ class RepositoryRulesetPropLinksPropSelf(GitHubRestModel):
41644165
href: Missing[str] = Field(description="The URL of the ruleset", default=UNSET)
41654166

41664167

4168+
class RepositoryRulesetPropLinksPropHtml(GitHubRestModel):
4169+
"""RepositoryRulesetPropLinksPropHtml"""
4170+
4171+
href: Missing[str] = Field(description="The html URL of the ruleset", default=UNSET)
4172+
4173+
41674174
class ActionsBillingUsage(GitHubRestModel):
41684175
"""ActionsBillingUsage"""
41694176

@@ -18851,6 +18858,7 @@ class UserSshSigningKeysPostBody(GitHubRestModel):
1885118858
RepositoryRuleset.update_forward_refs()
1885218859
RepositoryRulesetPropLinks.update_forward_refs()
1885318860
RepositoryRulesetPropLinksPropSelf.update_forward_refs()
18861+
RepositoryRulesetPropLinksPropHtml.update_forward_refs()
1885418862
ActionsBillingUsage.update_forward_refs()
1885518863
ActionsBillingUsagePropMinutesUsedBreakdown.update_forward_refs()
1885618864
PackagesBillingUsage.update_forward_refs()
@@ -19859,6 +19867,7 @@ class UserSshSigningKeysPostBody(GitHubRestModel):
1985919867
"RepositoryRuleset",
1986019868
"RepositoryRulesetPropLinks",
1986119869
"RepositoryRulesetPropLinksPropSelf",
19870+
"RepositoryRulesetPropLinksPropHtml",
1986219871
"ActionsBillingUsage",
1986319872
"ActionsBillingUsagePropMinutesUsedBreakdown",
1986419873
"PackagesBillingUsage",

githubkit/rest/types.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2895,6 +2895,7 @@ class RepositoryRulesetPropLinksType(TypedDict):
28952895
"""RepositoryRulesetPropLinks"""
28962896

28972897
self_: NotRequired[RepositoryRulesetPropLinksPropSelfType]
2898+
html: NotRequired[RepositoryRulesetPropLinksPropHtmlType]
28982899

28992900

29002901
class RepositoryRulesetPropLinksPropSelfType(TypedDict):
@@ -2903,6 +2904,12 @@ class RepositoryRulesetPropLinksPropSelfType(TypedDict):
29032904
href: NotRequired[str]
29042905

29052906

2907+
class RepositoryRulesetPropLinksPropHtmlType(TypedDict):
2908+
"""RepositoryRulesetPropLinksPropHtml"""
2909+
2910+
href: NotRequired[str]
2911+
2912+
29062913
class ActionsBillingUsageType(TypedDict):
29072914
"""ActionsBillingUsage"""
29082915

@@ -13282,6 +13289,7 @@ class UserSshSigningKeysPostBodyType(TypedDict):
1328213289
"RepositoryRulesetType",
1328313290
"RepositoryRulesetPropLinksType",
1328413291
"RepositoryRulesetPropLinksPropSelfType",
13292+
"RepositoryRulesetPropLinksPropHtmlType",
1328513293
"ActionsBillingUsageType",
1328613294
"ActionsBillingUsagePropMinutesUsedBreakdownType",
1328713295
"PackagesBillingUsageType",

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,8 @@ types_output = "githubkit/webhooks/types.py"
142142
"/definitions/auto-merge/properties/commit_title" = { type = ["string", "null"] }
143143
"/definitions/auto-merge/properties/commit_message" = { type = ["string", "null"] }
144144

145-
# https://github.com/octokit/webhooks/issues/806
146-
"/definitions/secret_scanning_alert$resolved/properties/alert/allOf/1/properties/resolution" = { enum = ["false_positive","wont_fix","revoked","used_in_tests"] }
145+
# [FIXED] https://github.com/octokit/webhooks/issues/806
146+
# "/definitions/secret_scanning_alert$resolved/properties/alert/allOf/1/properties/resolution" = { enum = ["false_positive", "wont_fix", "revoked", "used_in_tests"] }
147147

148148
[tool.codegen.field_overrides]
149149
"+1" = "plus_one"

0 commit comments

Comments
 (0)