From ae092cb59d7a71a2e517eecf929bb1fc7469e126 Mon Sep 17 00:00:00 2001 From: Giuseppe Lo Presti Date: Tue, 22 Oct 2024 14:19:35 +0200 Subject: [PATCH] One more optional parameter --- cs3client/file.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cs3client/file.py b/cs3client/file.py index 239bed6..092f260 100644 --- a/cs3client/file.py +++ b/cs3client/file.py @@ -171,7 +171,7 @@ def touch_file(self, auth_token: tuple, resource: Resource) -> None: def write_file( self, auth_token: tuple, resource: Resource, content: Union[str, bytes], size: int, app_name: Optional[str] = None, lock_id: Optional[str] = None, - disable_versioning: bool = False + disable_versioning: Optional[bool] = False ) -> None: """ Write a file using the given userid as access token. The entire content is written