Skip to content

Commit 531efe8

Browse files
authored
fix: make field type of BuildArtifact optional
2 parents 4fce9a7 + efbe058 commit 531efe8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pyartifactory/models/build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ class BuildRuns(BaseModel):
5454
class BuildArtifact(BaseModel):
5555
"""Models artifactory build artifact."""
5656

57-
type: str
57+
type: Optional[str] = None
5858
sha1: str
5959
sha256: str
6060
md5: str

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "PyArtifactory"
3-
version = "2.11.0"
3+
version = "2.11.1"
44
description = "Typed interactions with the Jfrog Artifactory REST API"
55
authors = [
66
"Ananias CARVALHO <carvalhoananias@hotmail.com>",

0 commit comments

Comments
 (0)