From 8376608ad81421fd73ddf8d7d87bdaba5bddff87 Mon Sep 17 00:00:00 2001 From: Kevin Su Date: Mon, 28 Aug 2023 12:00:37 -0700 Subject: [PATCH] lint Signed-off-by: Kevin Su --- examples/basics/basics/folders.py | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/examples/basics/basics/folders.py b/examples/basics/basics/folders.py index c65a518f3..45adabfed 100644 --- a/examples/basics/basics/folders.py +++ b/examples/basics/basics/folders.py @@ -53,17 +53,17 @@ def download_files(csv_urls: List[str]) -> FlyteDirectory: # :::{note} # You can annotate a FlyteDirectory when you want to download/upload the contents of the directory in batches. For example, # -# ```{code-block} python -# @task -# def t1(directory: Annotated[FlyteDirectory, BatchSize(10)]) -> Annotated[FlyteDirectory, BatchSize(100)]: -# ... -# return FlyteDirectory(...) -# ``` +# ```{code-block} +# @task +# def t1(directory: Annotated[FlyteDirectory, BatchSize(10)]) -> Annotated[FlyteDirectory, BatchSize(100)]: +# ... +# return FlyteDirectory(...) +# ``` # -# In the above example flytekit will download all files from the input `directory` in chunks of 10, i.e. first it -# downloads 10 files, loads them to memory, then writes those 10 to local disk, then it loads the next 10, so on -# and so forth. Similarly, for outputs, in this case flytekit is going to upload the resulting directory in chunks of -# 100. +# In the above example flytekit will download all files from the input `directory` in chunks of 10, i.e. first it +# downloads 10 files, loads them to memory, then writes those 10 to local disk, then it loads the next 10, so on +# and so forth. Similarly, for outputs, in this case flytekit is going to upload the resulting directory in chunks of +# 100. # :::