File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -69,7 +69,8 @@ def relog(value: asyncpg.connection.LoggedQuery):
6969 "timeout" : value .timeout ,
7070 "elapsed" : value .elapsed ,
7171 "exception" : str (value .exception ),
72- }
72+ },
73+ default = str ,
7374 )
7475 )
7576
Original file line number Diff line number Diff line change 11#!/usr/bin/env python3
2+ from typing import Any
23from typing import Literal
34
45from pydantic import BaseModel
@@ -35,6 +36,7 @@ class GLMRAttributes(BaseModel, extra="allow"):
3536 state : str
3637 url : str
3738 action : str
39+ updated_at : str | None
3840
3941 # https://docs.gitlab.com/ee/api/merge_requests.html#merge-status
4042 detailed_merge_status : str # mergeable, not_approved
@@ -54,6 +56,7 @@ class MergeRequestPayload(BaseModel, extra="allow"):
5456 user : GLUser
5557 project : GLProject
5658 object_attributes : GLMRAttributes
59+ changes : dict [str , dict [str , Any ]]
5760
5861 assignees : list [GLUser ] = Field (default_factory = list )
5962 reviewers : list [GLUser ] = Field (default_factory = list )
You can’t perform that action at this time.
0 commit comments