Skip to content

Commit 33e6883

Browse files
authored
Added missing field to releases.
1 parent ff0d2d3 commit 33e6883

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

gitlab_api/gitlab_db_models.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,7 @@ def __ne__(self, other):
246246
closed_as_duplicate_of: Mapped[str] = mapped_column(String, nullable=True)
247247
name: Mapped[str] = mapped_column(String, nullable=True)
248248
url: Mapped[str] = mapped_column(String, nullable=True)
249+
direct_asset_url: Mapped[str] = mapped_column(String, nullable=True)
249250
link_type: Mapped[str] = mapped_column(String, nullable=True)
250251
assets_id: Mapped[int] = mapped_column(
251252
Integer, ForeignKey(column="assets.id", name="fk_links_assets"), nullable=True

gitlab_api/gitlab_response_models.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1332,6 +1332,9 @@ class Meta:
13321332
url: Optional[Union[HttpUrl, str]] = Field(
13331333
default=None, description="URL of the link"
13341334
)
1335+
direct_asset_url: Optional[Union[HttpUrl, str]] = Field(
1336+
default=None, description="Direct URL of the asset"
1337+
)
13351338
link_type: Optional[str] = Field(
13361339
default=None, description="Type of the link (e.g., other)"
13371340
)

0 commit comments

Comments
 (0)