Skip to content

File Limit (legacy)

FileLimit

Limits the number of downloaded files.

Deprecated since 0.8.0

Use MaxFilesCount instead.

Parameters:

  • count_limit

    (int, default: 100 ) –

    Number of downloaded files at a time.

Examples:

Create a FileLimit object and set the amount in it:

from onetl.core import FileLimit

limit = FileLimit(count_limit=1500)
If you create a onetl.file.file_downloader.file_downloader.FileDownloader object without specifying the limit option, it will download with a limit of 100 files.

is_reached

reset()

stops_at(path)