devopshq / devopshq/artifactory

is_file() returning False when it should return True

Open
#411 0 comments 0 reactions 0 assignees View on GitHub
Bug Help Wanted
Dominant language
Python
Stars
306
Forks
161
PR merge metrics
No merged PRs in 30d

Description

```
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.

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the provided Python example against the stated Artifactory file path, then inspect the ArtifactoryPath.is_file() entry point and the response it uses. Done means the check returns True for an accessible file while preserving correct behavior for non-files.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.