From 8ef422017b206b4dcff06cf56677f7793dad3caa Mon Sep 17 00:00:00 2001 From: Eduardo Apolinario <653394+eapolinario@users.noreply.github.com> Date: Wed, 23 Oct 2024 12:58:14 -0400 Subject: [PATCH] Allow csv files (#1763) * Allow csv files Signed-off-by: Eduardo Apolinario <eapolinario@users.noreply.github.com> * Fix lint warning Signed-off-by: Eduardo Apolinario <eapolinario@users.noreply.github.com> --------- Signed-off-by: Eduardo Apolinario <eapolinario@users.noreply.github.com> Co-authored-by: Eduardo Apolinario <eapolinario@users.noreply.github.com> --- .gitignore | 1 - .../data_types_and_io/data_types_and_io/file_streaming.py | 7 ++++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index dcb73da03..cd4020676 100644 --- a/.gitignore +++ b/.gitignore @@ -3,7 +3,6 @@ __pycache__/ .idea .jpg .ipynb_checkpoints/ -*.csv *.dat .DS_Store gen_modules diff --git a/examples/data_types_and_io/data_types_and_io/file_streaming.py b/examples/data_types_and_io/data_types_and_io/file_streaming.py index 0e9a84952..73e1add2a 100644 --- a/examples/data_types_and_io/data_types_and_io/file_streaming.py +++ b/examples/data_types_and_io/data_types_and_io/file_streaming.py @@ -1,8 +1,9 @@ +import os + +import pandas as pd from flytekit import task, workflow -from flytekit.types.file import FlyteFile from flytekit.types.directory import FlyteDirectory -import pandas as pd -import os +from flytekit.types.file import FlyteFile @task()