summaryrefslogtreecommitdiff
path: root/gitlab/v4/objects/projects.py
diff options
context:
space:
mode:
authorJohn L. Villalovos <john@sodarock.com>2021-11-24 17:43:46 -0800
committerJohn L. Villalovos <john@sodarock.com>2021-11-24 20:41:36 -0800
commit308210b3dee15c844cd5db4ddd8c7404bb188990 (patch)
tree4df88a7a967e209afcf2efea9efc5fd8be358128 /gitlab/v4/objects/projects.py
parentab82fd84ba3cecf766915112dcb46fdfab383e73 (diff)
downloadgitlab-jlvillal/mypy_strict.tar.gz
WIP: work on enable mypy 'strict' modejlvillal/mypy_strict
Diffstat (limited to 'gitlab/v4/objects/projects.py')
-rw-r--r--gitlab/v4/objects/projects.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/gitlab/v4/objects/projects.py b/gitlab/v4/objects/projects.py
index c5ce717..6fd60f4 100644
--- a/gitlab/v4/objects/projects.py
+++ b/gitlab/v4/objects/projects.py
@@ -436,7 +436,7 @@ class Project(RefreshMixin, SaveMixin, ObjectDeleteMixin, RepositoryMixin, RESTO
self,
wiki: bool = False,
streamed: bool = False,
- action: Optional[Callable] = None,
+ action: Optional[Callable[[bytes], None]] = None,
chunk_size: int = 1024,
**kwargs: Any,
) -> Optional[bytes]:
@@ -531,7 +531,7 @@ class Project(RefreshMixin, SaveMixin, ObjectDeleteMixin, RepositoryMixin, RESTO
ref_name: str,
job: str,
streamed: bool = False,
- action: Optional[Callable] = None,
+ action: Optional[Callable[[bytes], None]] = None,
chunk_size: int = 1024,
**kwargs: Any,
) -> Optional[bytes]:
@@ -574,7 +574,7 @@ class Project(RefreshMixin, SaveMixin, ObjectDeleteMixin, RepositoryMixin, RESTO
artifact_path: str,
job: str,
streamed: bool = False,
- action: Optional[Callable] = None,
+ action: Optional[Callable[[bytes], None]] = None,
chunk_size: int = 1024,
**kwargs: Any,
) -> Optional[bytes]: