Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
adrianpop47 opened this issue Mar 23, 2023 · 0 comments
Open

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

adrianpop47 opened this issue Mar 23, 2023 · 0 comments
Labels
Bug Help Wanted We will be glad if somebody proposes a solution via PR

Comments

@adrianpop47
Copy link

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.

@allburov allburov added Bug Help Wanted We will be glad if somebody proposes a solution via PR labels Apr 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Help Wanted We will be glad if somebody proposes a solution via PR
Development

No branches or pull requests

2 participants