Skip to content

Commit 1a17e77

Browse files
committed
add fields: path and download_uri for ArtifactoryFileStat
1 parent e0d30c3 commit 1a17e77

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

artifactory.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -643,6 +643,8 @@ def _get_base_url(self, url):
643643
"is_dir",
644644
"children",
645645
"repo",
646+
"path",
647+
"download_uri",
646648
"created",
647649
"last_modified",
648650
"last_updated",
@@ -946,6 +948,8 @@ def stat(self, pathobj):
946948
is_dir=is_dir,
947949
children=children,
948950
repo=jsn.get("repo", None),
951+
path=jsn.get("path", None),
952+
download_uri=jsn.get("downloadUri", None),
949953
created=ctime,
950954
last_modified=mtime,
951955
last_updated=dateutil.parser.parse(jsn["lastUpdated"]),

0 commit comments

Comments
 (0)