You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The docstring says that the ArtifactoryArtifactdelete() method returns a bool, but it doesn't actually return a bool. self._delete returns an HTTP Response, so maybe that should be used to determine whether or not to return True or False. Otherwise, if delete shouldn't return anything, then remove the line from the docstring.
The text was updated successfully, but these errors were encountered:
kkaja123
changed the title
object.artifactdelete function docstring return type is incorrectobjects.artifactdelete function docstring return type is incorrect
Jan 27, 2025
The docstring says that the
ArtifactoryArtifact
delete()
method returns abool
, but it doesn't actually return a bool.self._delete
returns an HTTPResponse
, so maybe that should be used to determine whether or not to returnTrue
orFalse
. Otherwise, ifdelete
shouldn't return anything, then remove the line from the docstring.python-artifactory/pyartifactory/objects/artifact.py
Lines 363 to 367 in 1f05a4c
The text was updated successfully, but these errors were encountered: