Skip to content

Commit

Permalink
[DOP-9653] Fix FileDownloader.Options(if_exists=...) documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
dolfinus committed Oct 10, 2023
1 parent 43c0ad6 commit 0bf3ea4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions onetl/file/file_downloader/options.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ class FileDownloaderOptions(GenericOptions):
Possible values:
* ``error`` (default) - do nothing, mark file as failed
* ``ignore`` - do nothing, mark file as ignored
* ``overwrite`` - replace existing file with a new one
* ``delete_all`` - delete local directory content before downloading files
* ``replace_file`` - replace existing file with a new one
* ``replace_entire_directory`` - delete local directory content before downloading files
"""

delete_source: bool = False
Expand Down
4 changes: 2 additions & 2 deletions onetl/file/file_mover/options.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ class FileMoverOptions(GenericOptions):
Possible values:
* ``error`` (default) - do nothing, mark file as failed
* ``ignore`` - do nothing, mark file as ignored
* ``overwrite`` - replace existing file with a new one
* ``delete_all`` - delete directory content before moving files
* ``replace_file`` - replace existing file with a new one
* ``replace_entire_directory`` - delete directory content before moving files
"""

workers: int = Field(default=1, ge=1)
Expand Down
4 changes: 2 additions & 2 deletions onetl/file/file_uploader/options.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ class FileUploaderOptions(GenericOptions):
Possible values:
* ``error`` (default) - do nothing, mark file as failed
* ``ignore`` - do nothing, mark file as ignored
* ``overwrite`` - replace existing file with a new one
* ``delete_all`` - delete local directory content before downloading files
* ``replace_file`` - replace existing file with a new one
* ``replace_entire_directory`` - delete local directory content before downloading files
"""

delete_local: bool = False
Expand Down

0 comments on commit 0bf3ea4

Please sign in to comment.