Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions plugins/flytekit-greatexpectations/tests/test_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ def my_wf(dataset: CSVFile) -> int:
return my_task(dataset=dataset)

result = my_wf(
dataset="https://raw.githubusercontent.com/superconductive/ge_tutorials/main/data/yellow_tripdata_sample_2019-01.csv"
dataset="https://raw.githubusercontent.com/flyteorg/flytekit/master/plugins/flytekit-greatexpectations/tests/data/yellow_tripdata_sample_2019-01.csv"
)
assert result == 10000

Expand All @@ -313,7 +313,7 @@ def my_task(dataset: GreatExpectationsType[CSVFile, ge_config]) -> int:
@workflow
def my_wf() -> int:
return my_task(
dataset="https://raw.githubusercontent.com/superconductive/ge_tutorials/main/data/yellow_tripdata_sample_2019-01.csv"
dataset="https://raw.githubusercontent.com/flyteorg/flytekit/master/plugins/flytekit-greatexpectations/tests/data/yellow_tripdata_sample_2019-01.csv"
)

result = my_wf()
Expand Down
10 changes: 5 additions & 5 deletions plugins/flytekit-greatexpectations/tests/test_task.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ def test_ge_remote_flytefile():
)

task_object(
dataset="https://raw.githubusercontent.com/superconductive/ge_tutorials/main/data/yellow_tripdata_sample_2019-01.csv"
dataset="https://raw.githubusercontent.com/flyteorg/flytekit/master/plugins/flytekit-greatexpectations/tests/data/yellow_tripdata_sample_2019-01.csv"
)


Expand All @@ -229,7 +229,7 @@ def my_wf(dataset: CSVFile) -> int:
return my_task(dataset=dataset)

result = my_wf(
dataset="https://raw.githubusercontent.com/superconductive/ge_tutorials/main/data/yellow_tripdata_sample_2019-01.csv"
dataset="https://raw.githubusercontent.com/flyteorg/flytekit/master/plugins/flytekit-greatexpectations/tests/data/yellow_tripdata_sample_2019-01.csv"
)
assert result == 10000

Expand All @@ -246,7 +246,7 @@ def test_ge_remote_flytefile_workflow():

@workflow
def valid_wf(
dataset: CSVFile = "https://raw.githubusercontent.com/superconductive/ge_tutorials/main/data/yellow_tripdata_sample_2019-01.csv",
dataset: CSVFile = "https://raw.githubusercontent.com/flyteorg/flytekit/master/plugins/flytekit-greatexpectations/tests/data/yellow_tripdata_sample_2019-01.csv",
) -> None:
task_object(dataset=dataset)

Expand Down Expand Up @@ -298,8 +298,8 @@ def get_file_name(dataset_one: FlyteFile, dataset_two: FlyteFile) -> typing.Tupl

@workflow
def wf(
dataset_one: FlyteFile = "https://raw.githubusercontent.com/superconductive/ge_tutorials/main/data/yellow_tripdata_sample_2019-01.csv",
dataset_two: FlyteFile = "https://raw.githubusercontent.com/superconductive/ge_tutorials/main/data/yellow_tripdata_sample_2019-02.csv",
dataset_one: FlyteFile = "https://raw.githubusercontent.com/flyteorg/flytekit/master/plugins/flytekit-greatexpectations/tests/data/yellow_tripdata_sample_2019-01.csv",
dataset_two: FlyteFile = "https://raw.githubusercontent.com/flyteorg/flytekit/master/plugins/flytekit-greatexpectations/tests/data/yellow_tripdata_sample_2019-02.csv",
) -> typing.Tuple[int, int]:
task_object_one(dataset=dataset_one)
task_object_two(dataset=dataset_two)
Expand Down
Loading