rclone-api 1.0.86__py2.py3-none-any.whl → 1.0.88__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
rclone_api/rclone.py CHANGED
@@ -331,6 +331,7 @@ class Rclone:
331
331
  src: File | str,
332
332
  dst: File | str,
333
333
  check: bool | None = None,
334
+ verbose: bool | None = None,
334
335
  other_args: list[str] | None = None,
335
336
  ) -> None:
336
337
  """Copy multiple files from source to destination.
@@ -341,6 +342,7 @@ class Rclone:
341
342
  payload: Dictionary of source and destination file paths
342
343
  """
343
344
  check = get_check(check)
345
+ verbose = get_verbose(verbose)
344
346
  src = src if isinstance(src, str) else str(src.path)
345
347
  dst = dst if isinstance(dst, str) else str(dst.path)
346
348
  cmd_list: list[str] = ["copyto", src, dst]
@@ -871,7 +873,7 @@ class Rclone:
871
873
  self,
872
874
  src: str,
873
875
  files: list[str],
874
- fast_list: bool = True,
876
+ fast_list: bool = False, # Recommend that this is False
875
877
  other_args: list[str] | None = None,
876
878
  check: bool | None = False,
877
879
  verbose: bool | None = None,
@@ -879,6 +881,10 @@ class Rclone:
879
881
  """Get the size of a list of files. Example of files items: "remote:bucket/to/file"."""
880
882
  verbose = get_verbose(verbose)
881
883
  check = get_check(check)
884
+ if fast_list or (other_args and "--fast-list" in other_args):
885
+ warnings.warn(
886
+ "It's not recommended to use --fast-list with size_files as the entire repository has to be listed"
887
+ )
882
888
  files = list(files)
883
889
  all_files: list[File] = []
884
890
  # prefix, files = group_under_one_prefix(src, files)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: rclone_api
3
- Version: 1.0.86
3
+ Version: 1.0.88
4
4
  Summary: rclone api in python
5
5
  Home-page: https://github.com/zackees/rclone-api
6
6
  Maintainer: Zachary Vorhies
@@ -12,7 +12,7 @@ rclone_api/file.py,sha256=EP5yT2dZ0H2p7CY5n0y5k5pHhIliV25pm8KOwBklUTk,1863
12
12
  rclone_api/filelist.py,sha256=xbiusvNgaB_b_kQOZoHMJJxn6TWGtPrWd2J042BI28o,767
13
13
  rclone_api/group_files.py,sha256=O8Awod4_ILGB4RfatBmiG4vXy9eO0rBhbEaZPr6X_sY,7969
14
14
  rclone_api/process.py,sha256=RrMfTe0bndmJ6gBK67ioqNvCstJ8aTC8RlGX1XBLlcw,4191
15
- rclone_api/rclone.py,sha256=IvqnHiSW7PMpoNp61vhsnl4oFyrWDFwIpb0bgt6WGa0,33723
15
+ rclone_api/rclone.py,sha256=lfdOwUiFyXkiLNISkfb4_FIWwlmTo5Vgqfy9sS9by0s,34059
16
16
  rclone_api/remote.py,sha256=O9WDUFQy9f6oT1HdUbTixK2eg0xtBBm8k4Xl6aa6K00,431
17
17
  rclone_api/rpath.py,sha256=8ZA_1wxWtskwcy0I8V2VbjKDmzPkiWd8Q2JQSvh-sYE,2586
18
18
  rclone_api/scan_missing_folders.py,sha256=Kulca2Q6WZodt00ATFHkmqqInuoPvBkhTcS9703y6po,4740
@@ -21,9 +21,9 @@ rclone_api/util.py,sha256=XMrA2m_di4h8JTM-qyx2iyrFZn-l-or_SJOa5tEsDsI,4200
21
21
  rclone_api/walk.py,sha256=-54NVE8EJcCstwDoaC_UtHm73R2HrZwVwQmsnv55xNU,3369
22
22
  rclone_api/assets/example.txt,sha256=lTBovRjiz0_TgtAtbA1C5hNi2ffbqnNPqkKg6UiKCT8,54
23
23
  rclone_api/cmd/list_files.py,sha256=x8FHODEilwKqwdiU1jdkeJbLwOqUkUQuDWPo2u_zpf0,741
24
- rclone_api-1.0.86.dist-info/LICENSE,sha256=b6pOoifSXiUaz_lDS84vWlG3fr4yUKwB8fzkrH9R8bQ,1064
25
- rclone_api-1.0.86.dist-info/METADATA,sha256=X1CVv4bwOcMPlSv9DuGUbY9Xajm_EpTzDaMGKSsqikw,4489
26
- rclone_api-1.0.86.dist-info/WHEEL,sha256=9Hm2OB-j1QcCUq9Jguht7ayGIIZBRTdOXD1qg9cCgPM,109
27
- rclone_api-1.0.86.dist-info/entry_points.txt,sha256=XUoTX3m7CWxdj2VAKhEuO0NMOfX2qf-OcEDFwdyk9ZE,72
28
- rclone_api-1.0.86.dist-info/top_level.txt,sha256=EvZ7uuruUpe9RiUyEp25d1Keq7PWYNT0O_-mr8FCG5g,11
29
- rclone_api-1.0.86.dist-info/RECORD,,
24
+ rclone_api-1.0.88.dist-info/LICENSE,sha256=b6pOoifSXiUaz_lDS84vWlG3fr4yUKwB8fzkrH9R8bQ,1064
25
+ rclone_api-1.0.88.dist-info/METADATA,sha256=1kuxxPVsUsTpNgzSy6clP88Cmt7s8Uxi8yEUn45uu24,4489
26
+ rclone_api-1.0.88.dist-info/WHEEL,sha256=9Hm2OB-j1QcCUq9Jguht7ayGIIZBRTdOXD1qg9cCgPM,109
27
+ rclone_api-1.0.88.dist-info/entry_points.txt,sha256=XUoTX3m7CWxdj2VAKhEuO0NMOfX2qf-OcEDFwdyk9ZE,72
28
+ rclone_api-1.0.88.dist-info/top_level.txt,sha256=EvZ7uuruUpe9RiUyEp25d1Keq7PWYNT0O_-mr8FCG5g,11
29
+ rclone_api-1.0.88.dist-info/RECORD,,