githubkit 0.14.5__py3-none-any.whl → 0.14.6__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.
@@ -46,7 +46,7 @@ class WebhookCodeScanningAlertFixedPropAlert(GitHubModel):
46
46
  dismissed_reason: Union[
47
47
  None, Literal["false positive", "won't fix", "used in tests"]
48
48
  ] = Field(description="The reason for dismissing or closing the alert.")
49
- fixed_at: Missing[None] = Field(
49
+ fixed_at: Missing[Union[_dt.datetime, None]] = Field(
50
50
  default=UNSET,
51
51
  description="The time that the alert was fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.",
52
52
  )
@@ -57,7 +57,7 @@ class WebhookCodeScanningAlertFixedPropAlert(GitHubModel):
57
57
  ] = Field(default=UNSET, title="Alert Instance")
58
58
  number: int = Field(description="The code scanning alert number.")
59
59
  rule: WebhookCodeScanningAlertFixedPropAlertPropRule = Field()
60
- state: Union[None, Literal["fixed"]] = Field(
60
+ state: Union[None, Literal["fixed", "dismissed"]] = Field(
61
61
  description="State of a code scanning alert. Events for alerts found outside the default branch will return a `null` value until they are dismissed or fixed."
62
62
  )
63
63
  tool: WebhookCodeScanningAlertFixedPropAlertPropTool = Field()
@@ -30,7 +30,7 @@ class WebhookCodeScanningAlertFixedPropAlertType(TypedDict):
30
30
  dismissed_reason: Union[
31
31
  None, Literal["false positive", "won't fix", "used in tests"]
32
32
  ]
33
- fixed_at: NotRequired[None]
33
+ fixed_at: NotRequired[Union[_dt.datetime, None]]
34
34
  html_url: str
35
35
  instances_url: NotRequired[str]
36
36
  most_recent_instance: NotRequired[
@@ -38,7 +38,7 @@ class WebhookCodeScanningAlertFixedPropAlertType(TypedDict):
38
38
  ]
39
39
  number: int
40
40
  rule: WebhookCodeScanningAlertFixedPropAlertPropRuleType
41
- state: Union[None, Literal["fixed"]]
41
+ state: Union[None, Literal["fixed", "dismissed"]]
42
42
  tool: WebhookCodeScanningAlertFixedPropAlertPropToolType
43
43
  url: str
44
44
 
@@ -59,7 +59,7 @@ class WebhookCodeScanningAlertFixedPropAlertTypeForResponse(TypedDict):
59
59
  dismissed_reason: Union[
60
60
  None, Literal["false positive", "won't fix", "used in tests"]
61
61
  ]
62
- fixed_at: NotRequired[None]
62
+ fixed_at: NotRequired[Union[str, None]]
63
63
  html_url: str
64
64
  instances_url: NotRequired[str]
65
65
  most_recent_instance: NotRequired[
@@ -70,7 +70,7 @@ class WebhookCodeScanningAlertFixedPropAlertTypeForResponse(TypedDict):
70
70
  ]
71
71
  number: int
72
72
  rule: WebhookCodeScanningAlertFixedPropAlertPropRuleTypeForResponse
73
- state: Union[None, Literal["fixed"]]
73
+ state: Union[None, Literal["fixed", "dismissed"]]
74
74
  tool: WebhookCodeScanningAlertFixedPropAlertPropToolTypeForResponse
75
75
  url: str
76
76
 
@@ -46,7 +46,7 @@ class WebhookCodeScanningAlertFixedPropAlert(GitHubModel):
46
46
  dismissed_reason: Union[
47
47
  None, Literal["false positive", "won't fix", "used in tests"]
48
48
  ] = Field(description="The reason for dismissing or closing the alert.")
49
- fixed_at: Missing[None] = Field(
49
+ fixed_at: Missing[Union[_dt.datetime, None]] = Field(
50
50
  default=UNSET,
51
51
  description="The time that the alert was fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.",
52
52
  )
@@ -57,7 +57,7 @@ class WebhookCodeScanningAlertFixedPropAlert(GitHubModel):
57
57
  ] = Field(default=UNSET, title="Alert Instance")
58
58
  number: int = Field(description="The code scanning alert number.")
59
59
  rule: WebhookCodeScanningAlertFixedPropAlertPropRule = Field()
60
- state: Union[None, Literal["fixed"]] = Field(
60
+ state: Union[None, Literal["fixed", "dismissed"]] = Field(
61
61
  description="State of a code scanning alert. Events for alerts found outside the default branch will return a `null` value until they are dismissed or fixed."
62
62
  )
63
63
  tool: WebhookCodeScanningAlertFixedPropAlertPropTool = Field()
@@ -30,7 +30,7 @@ class WebhookCodeScanningAlertFixedPropAlertType(TypedDict):
30
30
  dismissed_reason: Union[
31
31
  None, Literal["false positive", "won't fix", "used in tests"]
32
32
  ]
33
- fixed_at: NotRequired[None]
33
+ fixed_at: NotRequired[Union[_dt.datetime, None]]
34
34
  html_url: str
35
35
  instances_url: NotRequired[str]
36
36
  most_recent_instance: NotRequired[
@@ -38,7 +38,7 @@ class WebhookCodeScanningAlertFixedPropAlertType(TypedDict):
38
38
  ]
39
39
  number: int
40
40
  rule: WebhookCodeScanningAlertFixedPropAlertPropRuleType
41
- state: Union[None, Literal["fixed"]]
41
+ state: Union[None, Literal["fixed", "dismissed"]]
42
42
  tool: WebhookCodeScanningAlertFixedPropAlertPropToolType
43
43
  url: str
44
44
 
@@ -59,7 +59,7 @@ class WebhookCodeScanningAlertFixedPropAlertTypeForResponse(TypedDict):
59
59
  dismissed_reason: Union[
60
60
  None, Literal["false positive", "won't fix", "used in tests"]
61
61
  ]
62
- fixed_at: NotRequired[None]
62
+ fixed_at: NotRequired[Union[str, None]]
63
63
  html_url: str
64
64
  instances_url: NotRequired[str]
65
65
  most_recent_instance: NotRequired[
@@ -70,7 +70,7 @@ class WebhookCodeScanningAlertFixedPropAlertTypeForResponse(TypedDict):
70
70
  ]
71
71
  number: int
72
72
  rule: WebhookCodeScanningAlertFixedPropAlertPropRuleTypeForResponse
73
- state: Union[None, Literal["fixed"]]
73
+ state: Union[None, Literal["fixed", "dismissed"]]
74
74
  tool: WebhookCodeScanningAlertFixedPropAlertPropToolTypeForResponse
75
75
  url: str
76
76
 
@@ -6,14 +6,14 @@ version = "2022-11-28"
6
6
  identifier = "2022-11-28"
7
7
  module = "v2022_11_28"
8
8
  is_latest = true
9
- source = "https://raw.githubusercontent.com/github/rest-api-description/884c183f5163e1155700894ac68dd891e8668fd5/descriptions-next/api.github.com/api.github.com.2022-11-28.json"
9
+ source = "https://raw.githubusercontent.com/github/rest-api-description/513a9d0d01e0de994a24b44c78d056d83d36f643/descriptions-next/api.github.com/api.github.com.2022-11-28.json"
10
10
 
11
11
  [[descriptions]]
12
12
  version = "2022-11-28"
13
13
  identifier = "ghec-2022-11-28"
14
14
  module = "ghec_v2022_11_28"
15
15
  is_latest = false
16
- source = "https://raw.githubusercontent.com/github/rest-api-description/884c183f5163e1155700894ac68dd891e8668fd5/descriptions-next/ghec/ghec.2022-11-28.json"
16
+ source = "https://raw.githubusercontent.com/github/rest-api-description/513a9d0d01e0de994a24b44c78d056d83d36f643/descriptions-next/ghec/ghec.2022-11-28.json"
17
17
 
18
18
  [[overrides]]
19
19
  [overrides.field_overrides]
@@ -142,6 +142,8 @@ source = "https://raw.githubusercontent.com/github/rest-api-description/884c183f
142
142
  "/components/schemas/webhook-workflow-run-in-progress/properties/workflow_run/properties/pull_requests/items/properties/number" = {type = "integer"}
143
143
  "/components/schemas/webhook-workflow-run-requested/properties/workflow_run/properties/pull_requests/items/properties/id" = {type = "integer"}
144
144
  "/components/schemas/webhook-workflow-run-requested/properties/workflow_run/properties/pull_requests/items/properties/number" = {type = "integer"}
145
+ "/components/schemas/webhook-code-scanning-alert-fixed/properties/alert/properties/fixed_at" = {type = ["string", "null"], format = "date-time"}
146
+ "/components/schemas/webhook-code-scanning-alert-fixed/properties/alert/properties/state/enum" = {"<add>" = ["dismissed"]}
145
147
  "/webhooks/repository-dispatch-sample.collected/post" = {operationId = "repository-dispatch"}
146
148
  "/components/schemas/webhooks_answer/properties/parent_id" = {type = ["integer", "null"]}
147
149
  "/components/schemas/dependabot-alert-with-repository/properties/dependency/properties/relationship/enum" = {"<add>" = ["inconclusive"]}
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: GitHubKit
3
- Version: 0.14.5
3
+ Version: 0.14.6
4
4
  Summary: GitHub SDK for Python
5
5
  Keywords: github,octokit
6
6
  Author: yanyongyu
@@ -670,7 +670,7 @@ githubkit/versions/ghec_v2022_11_28/models/group_0633.py,sha256=wFroopNvtJtVZEUu
670
670
  githubkit/versions/ghec_v2022_11_28/models/group_0634.py,sha256=Sv2JAXyDUL0iGyqI4EHNBObOyBO5qdBN88xbBY0ADME,3198
671
671
  githubkit/versions/ghec_v2022_11_28/models/group_0635.py,sha256=lpDzj2hS9J8ujrhvRDYs-6WikVmQO3jJ95r2o71qWxM,6767
672
672
  githubkit/versions/ghec_v2022_11_28/models/group_0636.py,sha256=XINhxpBLY0RbmfVFKH0SjzPriLQWUjoQKCgycfvlN0s,3184
673
- githubkit/versions/ghec_v2022_11_28/models/group_0637.py,sha256=RYBCYyHLKoPkh5e6eSiiVLA8VMPv3lwnZIcxwC9uMZw,8006
673
+ githubkit/versions/ghec_v2022_11_28/models/group_0637.py,sha256=agmjt3Ozroh517GAmHB6UtEGYH-KirqtFiCDJVple3s,8040
674
674
  githubkit/versions/ghec_v2022_11_28/models/group_0638.py,sha256=wq8hECALURx4ejvAArhky7wNHkXLdqDXFeErVOIpCuE,3238
675
675
  githubkit/versions/ghec_v2022_11_28/models/group_0639.py,sha256=U1OdMgXXL9o8Yz7HSuShiMgKQM0a0me3AUz66jEvnbk,7169
676
676
  githubkit/versions/ghec_v2022_11_28/models/group_0640.py,sha256=86MyEHvkArtLmOGtBdMOXBX9aHuIQwPKc1LGVXMA1yU,3251
@@ -2207,7 +2207,7 @@ githubkit/versions/ghec_v2022_11_28/types/group_0633.py,sha256=mrk4ezY7KxMkbCz_4
2207
2207
  githubkit/versions/ghec_v2022_11_28/types/group_0634.py,sha256=K8t5Wv0BFjxZNKyjubzrs7gvKuC_UUlz6Y3zESDDoyE,1993
2208
2208
  githubkit/versions/ghec_v2022_11_28/types/group_0635.py,sha256=gHg5n0-fM1_ZupeA8lT1dT4JVIbRKJw2W-tygSZieAY,6913
2209
2209
  githubkit/versions/ghec_v2022_11_28/types/group_0636.py,sha256=EY9lJ2aOgRaO-6CMntfekeA_0Fu_Pf_aXoI5osAUq68,1969
2210
- githubkit/versions/ghec_v2022_11_28/types/group_0637.py,sha256=ih05YPgns-yiXd_hgod79XW2tmFhXz-K6L501Mnalyw,8729
2210
+ githubkit/versions/ghec_v2022_11_28/types/group_0637.py,sha256=Y4tg8dxO9pQqN-49KFTsMLAM1LttwYyaNMKu9uwwgrs,8788
2211
2211
  githubkit/versions/ghec_v2022_11_28/types/group_0638.py,sha256=k0DsrGv_bvrwyHFSeQ6L2jUdPDDRiCXvXCY6L5BbQCo,2064
2212
2212
  githubkit/versions/ghec_v2022_11_28/types/group_0639.py,sha256=FXjKewEwxUNsrCA_jz2oGNqHgrbWGyZ6BB3mOEvUbKc,7608
2213
2213
  githubkit/versions/ghec_v2022_11_28/types/group_0640.py,sha256=_wRjuft4BAcLDPkMCYeUU0zAaN0z-mz6W0dCe3yP0vg,2085
@@ -3697,7 +3697,7 @@ githubkit/versions/v2022_11_28/models/group_0542.py,sha256=wFroopNvtJtVZEUuCwO0f
3697
3697
  githubkit/versions/v2022_11_28/models/group_0543.py,sha256=qFj0-IycU46BlIVjEUyHYl-6Lnes4IVPMvhve5PKVVk,3148
3698
3698
  githubkit/versions/v2022_11_28/models/group_0544.py,sha256=lpDzj2hS9J8ujrhvRDYs-6WikVmQO3jJ95r2o71qWxM,6767
3699
3699
  githubkit/versions/v2022_11_28/models/group_0545.py,sha256=brCY4D6AtNDsr7s2NWk-Oiou6dxl7T-U9ITVBH3hNPY,3134
3700
- githubkit/versions/v2022_11_28/models/group_0546.py,sha256=RYBCYyHLKoPkh5e6eSiiVLA8VMPv3lwnZIcxwC9uMZw,8006
3700
+ githubkit/versions/v2022_11_28/models/group_0546.py,sha256=agmjt3Ozroh517GAmHB6UtEGYH-KirqtFiCDJVple3s,8040
3701
3701
  githubkit/versions/v2022_11_28/models/group_0547.py,sha256=0U5WA_DW5JZD_Mi4AppnaE5YcN0wJwxYQvREMQP0H3I,3188
3702
3702
  githubkit/versions/v2022_11_28/models/group_0548.py,sha256=U1OdMgXXL9o8Yz7HSuShiMgKQM0a0me3AUz66jEvnbk,7169
3703
3703
  githubkit/versions/v2022_11_28/models/group_0549.py,sha256=3RaZprasN_Y2eI_lXKiDTrlfEDo7tp4aQYT-XAX7HOc,3201
@@ -5049,7 +5049,7 @@ githubkit/versions/v2022_11_28/types/group_0542.py,sha256=mrk4ezY7KxMkbCz_4qOrFo
5049
5049
  githubkit/versions/v2022_11_28/types/group_0543.py,sha256=Wj5jkbxJPWB95kK4ZF6_1uurtL1MD1ytkEzpwVIVUdQ,1993
5050
5050
  githubkit/versions/v2022_11_28/types/group_0544.py,sha256=gHg5n0-fM1_ZupeA8lT1dT4JVIbRKJw2W-tygSZieAY,6913
5051
5051
  githubkit/versions/v2022_11_28/types/group_0545.py,sha256=XUUyK8nFYXPJ6N7V6tq4D8oD4ZMrdWav3nqAapdVSDQ,1969
5052
- githubkit/versions/v2022_11_28/types/group_0546.py,sha256=ih05YPgns-yiXd_hgod79XW2tmFhXz-K6L501Mnalyw,8729
5052
+ githubkit/versions/v2022_11_28/types/group_0546.py,sha256=Y4tg8dxO9pQqN-49KFTsMLAM1LttwYyaNMKu9uwwgrs,8788
5053
5053
  githubkit/versions/v2022_11_28/types/group_0547.py,sha256=hF0L6yCCNMfbHDp1elu7e_NAi-yselMHgOcd0NrLX3Q,2064
5054
5054
  githubkit/versions/v2022_11_28/types/group_0548.py,sha256=FXjKewEwxUNsrCA_jz2oGNqHgrbWGyZ6BB3mOEvUbKc,7608
5055
5055
  githubkit/versions/v2022_11_28/types/group_0549.py,sha256=CElAgGn3LgHxs5ev-ttEcpnHn2t1KFDeyrZOHdXEO9o,2085
@@ -5888,9 +5888,9 @@ githubkit/versions/v2022_11_28/webhooks/watch.py,sha256=dqcRNpPpmpgkyv6mo3x-rMvg
5888
5888
  githubkit/versions/v2022_11_28/webhooks/workflow_dispatch.py,sha256=yiTvUJR9PqmsjKNfV0LEWcLSAnj_BdHERSjnuViWEDk,588
5889
5889
  githubkit/versions/v2022_11_28/webhooks/workflow_job.py,sha256=00M4znFO8tNLbiYsQojwgSOB-GvLdY05iRoXmkclbKM,1177
5890
5890
  githubkit/versions/v2022_11_28/webhooks/workflow_run.py,sha256=ZN1Pk-sF8VfYOeurypqYXG-cuoAa2I6vVx58uZSHzWU,1081
5891
- githubkit/versions/versions.lock,sha256=ocpmKScHEBmQJwx5Pddf5-iAqD4FhRkh1MQc4YUjpgA,15182
5891
+ githubkit/versions/versions.lock,sha256=urEkqJsHxlOlGQwTki8eL6kFj8PePO0CJED1hAlNqWM,15450
5892
5892
  githubkit/versions/webhooks.py,sha256=WWdXh8JPdNX3Ohz7M_pxoMBb3Hh101BrmvTyawniuj0,1820
5893
5893
  githubkit/webhooks/__init__.py,sha256=nysPfT_VIiTS1VBw3-1NJ-1-MZiDUllNL1slNuYo5dc,386
5894
- githubkit-0.14.5.dist-info/WHEEL,sha256=iHtWm8nRfs0VRdCYVXocAWFW8ppjHL-uTJkAdZJKOBM,80
5895
- githubkit-0.14.5.dist-info/METADATA,sha256=hyZuRjJdbEE9ERY9axGGjSB2iFEw5JOuXNeST2e5drU,5313
5896
- githubkit-0.14.5.dist-info/RECORD,,
5894
+ githubkit-0.14.6.dist-info/WHEEL,sha256=iHtWm8nRfs0VRdCYVXocAWFW8ppjHL-uTJkAdZJKOBM,80
5895
+ githubkit-0.14.6.dist-info/METADATA,sha256=bJOCY4VZGkTllG5ANqi3WBGHYT5SOsf0Hk3kNUnkDeQ,5313
5896
+ githubkit-0.14.6.dist-info/RECORD,,