GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Regenerated models with the latest script version · nitheesh-me/python@758920e

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • danger_python
    • models.py
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎danger_python/models.py‎

Copy file name to clipboardExpand all lines: danger_python/models.py
+62-61Lines changed: 62 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ class Config:
297297
class BitBucketCloudPRCommentInline(BaseModel):
298298
from_: Optional[int]
299299
path: Optional[str]
300-
to: Optional[Optional[int]]
300+
to: Optional[int]
301301

302302
class Config:
303303
fields = {
@@ -850,29 +850,29 @@ class Config:
850850

851851
class DangerDSLJSONTypeSettingsGithub(BaseModel):
852852
access_token: Optional[str]
853-
additional_headers: Optional[Any]
854-
base_u_r_l: Optional[str]
853+
additional_headers: Any
854+
base_url: Optional[str]
855855

856856
class Config:
857857
fields = {
858858
"access_token": "accessToken",
859859
"additional_headers": "additionalHeaders",
860-
"base_u_r_l": "baseURL",
860+
"base_url": "baseURL",
861861
}
862862

863863

864864
class Endpoint(BaseModel):
865-
d_e_f_a_u_l_t_s: Optional["EndpointOptions"]
865+
defaults: Optional["EndpointOptions"]
866866

867867
class Config:
868868
fields = {
869-
"d_e_f_a_u_l_t_s": "DEFAULTS",
869+
"defaults": "DEFAULTS",
870870
}
871871

872872

873873
class EndpointOptions(BaseModel):
874874
base_url: Optional[str]
875-
data: Optional[Any]
875+
data: Any
876876
headers: Optional["EndpointOptionsHeaders"]
877877
method: Optional["EndpointOptionsMethod"]
878878
request: Optional["EndpointOptionsRequest"]
@@ -912,7 +912,7 @@ class GitCommit(BaseModel):
912912
message: Optional[str]
913913
parents: Optional[List[str]]
914914
sha: Optional[str]
915-
tree: Optional[Any]
915+
tree: Any
916916
url: Optional[str]
917917

918918
class Config:
@@ -979,7 +979,7 @@ class GitHubDSL(BaseModel):
979979
pr: Optional["GitHubPRDSL"]
980980
requested_reviewers: Optional["GitHubReviewers"]
981981
reviews: Optional[List["GitHubReview"]]
982-
this_p_r: Optional["GitHubAPIPR"]
982+
this_pr: Optional["GitHubAPIPR"]
983983
utils: Optional["GitHubUtilsDSL"]
984984

985985
class Config:
@@ -990,7 +990,7 @@ class Config:
990990
"pr": "pr",
991991
"requested_reviewers": "requested_reviewers",
992992
"reviews": "reviews",
993-
"this_p_r": "thisPR",
993+
"this_pr": "thisPR",
994994
"utils": "utils",
995995
}
996996

@@ -1044,7 +1044,7 @@ class GitHubPRDSL(BaseModel):
10441044
base: Optional["GitHubMergeRef"]
10451045
body: Optional[str]
10461046
changed_files: Optional[int]
1047-
closed_at: Optional[Optional[str]]
1047+
closed_at: Optional[str]
10481048
comments: Optional[int]
10491049
commits: Optional[int]
10501050
created_at: Optional[str]
@@ -1053,7 +1053,7 @@ class GitHubPRDSL(BaseModel):
10531053
html_url: Optional[str]
10541054
locked: Optional[bool]
10551055
merged: Optional[bool]
1056-
merged_at: Optional[Optional[str]]
1056+
merged_at: Optional[str]
10571057
number: Optional[int]
10581058
review_comments: Optional[int]
10591059
state: Optional["GitHubPRDSLState"]
@@ -1193,14 +1193,14 @@ class GitHubUserType(Enum):
11931193

11941194
class GitHubUtilsDSL(BaseModel):
11951195
create_or_add_label: Optional["GitHubUtilsDSLCreateOrAddLabel"]
1196-
create_or_update_p_r: Optional["GitHubUtilsDSLCreateOrUpdatePR"]
1197-
create_updated_issue_with_i_d: Optional["GitHubUtilsDSLCreateUpdatedIssueWithID"]
1196+
create_or_update_pr: Optional["GitHubUtilsDSLCreateOrUpdatePR"]
1197+
create_updated_issue_with_id: Optional["GitHubUtilsDSLCreateUpdatedIssueWithID"]
11981198

11991199
class Config:
12001200
fields = {
12011201
"create_or_add_label": "createOrAddLabel",
1202-
"create_or_update_p_r": "createOrUpdatePR",
1203-
"create_updated_issue_with_i_d": "createUpdatedIssueWithID",
1202+
"create_or_update_pr": "createOrUpdatePR",
1203+
"create_updated_issue_with_id": "createUpdatedIssueWithID",
12041204
}
12051205

12061206

@@ -1253,27 +1253,27 @@ class GitLabDSLUtils(BaseModel):
12531253
class GitLabMR(BaseModel):
12541254
allow_collaboration: Optional[bool]
12551255
allow_maintainer_to_push: Optional[bool]
1256-
approvals_before_merge: Optional[Any]
1256+
approvals_before_merge: Any
12571257
assignee: Optional["GitLabUser"]
12581258
author: Optional["GitLabUser"]
12591259
changes_count: Optional[str]
1260-
closed_at: Optional[Optional[str]]
1261-
closed_by: Optional[Any]
1260+
closed_at: Optional[str]
1261+
closed_by: Optional["GitLabUser"]
12621262
created_at: Optional[str]
12631263
description: Optional[str]
12641264
diff_refs: Optional["GitLabMRDiffRefs"]
1265-
discussion_locked: Optional[Any]
1265+
discussion_locked: Any
12661266
diverged_commits_count: Optional[int]
12671267
downvotes: Optional[int]
1268-
first_deployed_to_production_at: Optional[Optional[str]]
1268+
first_deployed_to_production_at: Optional[str]
12691269
force_remove_source_branch: Optional[bool]
12701270
id: Optional[int]
12711271
iid: Optional[int]
12721272
labels: Optional[List[str]]
12731273
latest_build_finished_at: Optional[str]
12741274
latest_build_started_at: Optional[str]
1275-
merge_commit_sha: Optional[Optional[str]]
1276-
merge_error: Optional[Any]
1275+
merge_commit_sha: Optional[str]
1276+
merge_error: Any
12771277
merge_status: Optional["GitLabMRMergeStatus"]
12781278
merge_when_pipeline_succeeds: Optional[bool]
12791279
merged_at: Optional[str]
@@ -1353,6 +1353,37 @@ class Config:
13531353
}
13541354

13551355

1356+
class GitLabMRCommit(BaseModel):
1357+
author_email: Optional[str]
1358+
author_name: Optional[str]
1359+
authored_date: Optional[str]
1360+
committed_date: Optional[str]
1361+
committer_email: Optional[str]
1362+
committer_name: Optional[str]
1363+
created_at: Optional[str]
1364+
id: Optional[str]
1365+
message: Optional[str]
1366+
parent_ids: Optional[List[str]]
1367+
short_id: Optional[str]
1368+
title: Optional[str]
1369+
1370+
class Config:
1371+
fields = {
1372+
"author_email": "author_email",
1373+
"author_name": "author_name",
1374+
"authored_date": "authored_date",
1375+
"committed_date": "committed_date",
1376+
"committer_email": "committer_email",
1377+
"committer_name": "committer_name",
1378+
"created_at": "created_at",
1379+
"id": "id",
1380+
"message": "message",
1381+
"parent_ids": "parent_ids",
1382+
"short_id": "short_id",
1383+
"title": "title",
1384+
}
1385+
1386+
13561387
class GitLabMRDiffRefs(BaseModel):
13571388
base_sha: Optional[str]
13581389
head_sha: Optional[str]
@@ -1438,8 +1469,8 @@ class GitLabMRState(Enum):
14381469

14391470

14401471
class GitLabMRTimeStats(BaseModel):
1441-
human_time_estimate: Optional[Optional[int]]
1442-
human_total_time_spent: Optional[Optional[int]]
1472+
human_time_estimate: Optional[int]
1473+
human_total_time_spent: Optional[int]
14431474
time_estimate: Optional[int]
14441475
total_time_spent: Optional[int]
14451476

@@ -1461,39 +1492,8 @@ class Config:
14611492
}
14621493

14631494

1464-
class GitLabMRCommit(BaseModel):
1465-
author_email: Optional[str]
1466-
author_name: Optional[str]
1467-
authored_date: Optional[str]
1468-
committed_date: Optional[str]
1469-
committer_email: Optional[str]
1470-
committer_name: Optional[str]
1471-
created_at: Optional[str]
1472-
id: Optional[str]
1473-
message: Optional[str]
1474-
parent_ids: Optional[List[str]]
1475-
short_id: Optional[str]
1476-
title: Optional[str]
1477-
1478-
class Config:
1479-
fields = {
1480-
"author_email": "author_email",
1481-
"author_name": "author_name",
1482-
"authored_date": "authored_date",
1483-
"committed_date": "committed_date",
1484-
"committer_email": "committer_email",
1485-
"committer_name": "committer_name",
1486-
"created_at": "created_at",
1487-
"id": "id",
1488-
"message": "message",
1489-
"parent_ids": "parent_ids",
1490-
"short_id": "short_id",
1491-
"title": "title",
1492-
}
1493-
1494-
14951495
class GitLabUser(BaseModel):
1496-
avatar_url: Optional[Optional[str]]
1496+
avatar_url: Optional[str]
14971497
id: Optional[int]
14981498
name: Optional[str]
14991499
state: Optional["GitLabUserState"]
@@ -7314,12 +7314,12 @@ class PaginateIterator(BaseModel):
73147314

73157315

73167316
class RepoMetaData(BaseModel):
7317-
pull_request_i_d: Optional[str]
7317+
pull_request_id: Optional[str]
73187318
repo_slug: Optional[str]
73197319

73207320
class Config:
73217321
fields = {
7322-
"pull_request_i_d": "pullRequestID",
7322+
"pull_request_id": "pullRequestID",
73237323
"repo_slug": "repoSlug",
73247324
}
73257325

@@ -7503,6 +7503,8 @@ class Config:
75037503

75047504
GitLabMR.update_forward_refs()
75057505

7506+
GitLabMRCommit.update_forward_refs()
7507+
75067508
GitLabMRDiffRefs.update_forward_refs()
75077509

75087510

@@ -7516,8 +7518,6 @@ class Config:
75167518

75177519
GitLabMRUser.update_forward_refs()
75187520

7519-
GitLabMRCommit.update_forward_refs()
7520-
75217521
GitLabUser.update_forward_refs()
75227522

75237523

@@ -8570,3 +8570,4 @@ class Config:
85708570
RepoMetaData.update_forward_refs()
85718571

85728572
Request.update_forward_refs()
8573+

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.