Skip to content

Commit ae092cb

Browse files
authored
One more optional parameter
1 parent 3501beb commit ae092cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cs3client/file.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ def touch_file(self, auth_token: tuple, resource: Resource) -> None:
171171
def write_file(
172172
self, auth_token: tuple, resource: Resource, content: Union[str, bytes], size: int,
173173
app_name: Optional[str] = None, lock_id: Optional[str] = None,
174-
disable_versioning: bool = False
174+
disable_versioning: Optional[bool] = False
175175
) -> None:
176176
"""
177177
Write a file using the given userid as access token. The entire content is written

0 commit comments

Comments
 (0)