Skip to content

Commit 89d6a79

Browse files
committed
feat(api): removed exception from mixin
1 parent f14a2cc commit 89d6a79

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

gitlab/mixins.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -961,10 +961,6 @@ def _get_upload_path(self) -> str:
961961
Returns:
962962
The upload path
963963
"""
964-
if not self._upload_path:
965-
raise exc.GitlabUploadError(
966-
f"No upload path set for {self.__class__.__name__}"
967-
)
968964
if TYPE_CHECKING:
969965
assert isinstance(self._upload_path, str)
970966
data = self.attributes

0 commit comments

Comments
 (0)