summaryrefslogtreecommitdiff
path: root/gitlab/v4/objects/artifacts.py
diff options
context:
space:
mode:
Diffstat (limited to 'gitlab/v4/objects/artifacts.py')
-rw-r--r--gitlab/v4/objects/artifacts.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gitlab/v4/objects/artifacts.py b/gitlab/v4/objects/artifacts.py
index b4a4c0e..f091867 100644
--- a/gitlab/v4/objects/artifacts.py
+++ b/gitlab/v4/objects/artifacts.py
@@ -75,7 +75,7 @@ class ProjectArtifactManager(RESTManager):
ref_name: str,
job: str,
streamed: bool = False,
- action: Optional[Callable] = None,
+ action: Optional[Callable[[bytes], None]] = None,
chunk_size: int = 1024,
*,
iterator: bool = False,
@@ -125,7 +125,7 @@ class ProjectArtifactManager(RESTManager):
artifact_path: str,
job: str,
streamed: bool = False,
- action: Optional[Callable] = None,
+ action: Optional[Callable[[bytes], None]] = None,
chunk_size: int = 1024,
*,
iterator: bool = False,