devopshq / artifactory

dohq-artifactory: a Python client for Artifactory
https://devopshq.github.io/artifactory/
MIT License
269 stars 137 forks source link

is_file() returning False when it should return True #411

Open adrianpop47 opened 1 year ago

adrianpop47 commented 1 year ago
if __name__ == "__main__":
    server = "https://artifactory.com/path/to/file/file.csv"
    art = ArtifactoryPath(server,
                          auth=("USER", "PASSWORD"))
    print(art.is_file())

I am facing the following issue. I am successfully authenticating to the Artifactory server and checking if a path is file using the is_file() function. The response should be True, but I am getting False instead. I tried running this code on Python 3.9, 3.10, 3.11, and I am facing the same problem.