Skip to content

Commit ebaf4a7

Browse files
danieljanesrysteboe
authored andcommitted
Align further docstrings with actual default values
Affected docstrings: * `competition_leaderboard_download` * `dataset_download_file` * `dataset_download_files` * `download_file` * `kernels_pull`
1 parent ba2fb99 commit ebaf4a7

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

kaggle/api/kaggle_api_extended.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -721,7 +721,7 @@ def competition_leaderboard_download(self, competition, path, quiet=True):
721721
=========
722722
competition: the name of the competition
723723
path: a path to download the file to
724-
quiet: suppress verbose output (default is False)
724+
quiet: suppress verbose output (default is True)
725725
"""
726726
response = self.process_response(
727727
self.competition_download_leaderboard_with_http_info(
@@ -1062,7 +1062,7 @@ def dataset_download_file(self,
10621062
file_name: the dataset configuration file
10631063
path: if defined, download to this location
10641064
force: force the download if the file already exists (default False)
1065-
quiet: suppress verbose output (default is False)
1065+
quiet: suppress verbose output (default is True)
10661066
"""
10671067
if '/' in dataset:
10681068
self.validate_dataset_string(dataset)
@@ -1107,7 +1107,7 @@ def dataset_download_files(self,
11071107
should be in format [owner]/[dataset-name]
11081108
path: the path to download the dataset to
11091109
force: force the download if the file already exists (default False)
1110-
quiet: suppress verbose output (default is False)
1110+
quiet: suppress verbose output (default is True)
11111111
unzip: if True, unzip files upon download (default is False)
11121112
"""
11131113
if dataset is None:
@@ -1470,7 +1470,7 @@ def download_file(self, response, outfile, quiet=True, chunk_size=1048576):
14701470
==========
14711471
response: the response to download
14721472
outfile: the output file to download to
1473-
quiet: suppress verbose output (default is False)
1473+
quiet: suppress verbose output (default is True)
14741474
chunk_size: the size of the chunk to stream
14751475
"""
14761476

@@ -1834,7 +1834,7 @@ def kernels_pull(self, kernel, path, metadata=False, quiet=True):
18341834
kernel: the kernel to pull
18351835
path: the path to pull files to on the filesystem
18361836
metadata: if True, also pull metadata
1837-
quiet: suppress verbosity (default is False)
1837+
quiet: suppress verbosity (default is True)
18381838
"""
18391839
existing_metadata = None
18401840
if kernel is None:

0 commit comments

Comments
 (0)