Skip to content

Commit

Permalink
Added messsage to response as well.
Browse files Browse the repository at this point in the history
  • Loading branch information
Knucklessg1 committed May 30, 2024
1 parent 105d1d0 commit c3e7281
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gitlab_api/gitlab_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -5832,6 +5832,7 @@ class Response(BaseModel):
default=None, description="Response JSON data"
)
raw_output: Optional[bytes] = Field(default=None, description="Response Raw bytes")
message: Optional[str] = Field(default=None, description="Any error messages")

@field_validator("data")
def determine_model_type(cls, value):
Expand Down

0 comments on commit c3e7281

Please sign in to comment.