added "type" key for aql example for aql results to work correctly with from_aql method for ArtifactoryPath
if "type" isnt included in aql response dict(s) it will raise ArtifactoryException and thus example isnt working
def from_aql(self, result):
"""
Convert raw AQL result to pathlib object
:param result: ONE raw result
:return:
"""
result_type = result.get("type")
if result_type not in ("file", "folder"):
raise ArtifactoryException(
f"Path object with type '{result_type}' doesn't support. File or folder only"
)
added "type" key for aql example for aql results to work correctly with
from_aql
method for ArtifactoryPathif "type" isnt included in aql response dict(s) it will raise ArtifactoryException and thus example isnt working