Skip to content

Commit

Permalink
Removes run examples (flyteorg#919)
Browse files Browse the repository at this point in the history
* remove run examples

Signed-off-by: Samhita Alla <[email protected]>

* remove _run in control_flow directory

Signed-off-by: Samhita Alla <[email protected]>

Signed-off-by: Samhita Alla <[email protected]>
  • Loading branch information
samhita-alla authored Nov 8, 2022
1 parent fc42be0 commit 283b456
Show file tree
Hide file tree
Showing 31 changed files with 690 additions and 829 deletions.
49 changes: 0 additions & 49 deletions .github/workflows/run_cmd_tests.yml

This file was deleted.

1 change: 0 additions & 1 deletion cookbook/.dockerignore

This file was deleted.

Empty file.
15 changes: 0 additions & 15 deletions cookbook/core/control_flow/_run/run_chain_entities.py

This file was deleted.

1 change: 0 additions & 1 deletion cookbook/core/control_flow/_run/run_chain_entities.sh

This file was deleted.

3 changes: 0 additions & 3 deletions cookbook/core/control_flow/chain_entities.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,3 @@ def chain_workflows_wf() -> pd.DataFrame:
print(f"Running {__file__} main...")
print(f"Running chain_tasks_wf()... {chain_tasks_wf()}")
print(f"Running chain_workflows_wf()... {chain_workflows_wf()}")

# %%
# .. run-example-cmds::
Empty file.
15 changes: 0 additions & 15 deletions cookbook/core/flyte_basics/_run/run_basic_workflow.py

This file was deleted.

1 change: 0 additions & 1 deletion cookbook/core/flyte_basics/_run/run_basic_workflow.sh

This file was deleted.

15 changes: 0 additions & 15 deletions cookbook/core/flyte_basics/_run/run_hello_world.py

This file was deleted.

1 change: 0 additions & 1 deletion cookbook/core/flyte_basics/_run/run_hello_world.sh

This file was deleted.

15 changes: 0 additions & 15 deletions cookbook/core/flyte_basics/_run/run_imperative_wf_style.py

This file was deleted.

1 change: 0 additions & 1 deletion cookbook/core/flyte_basics/_run/run_imperative_wf_style.sh

This file was deleted.

15 changes: 0 additions & 15 deletions cookbook/core/flyte_basics/_run/run_task.py

This file was deleted.

1 change: 0 additions & 1 deletion cookbook/core/flyte_basics/_run/run_task.sh

This file was deleted.

4 changes: 0 additions & 4 deletions cookbook/core/flyte_basics/basic_workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,3 @@ def my_wf(a: int, b: str) -> Tuple[int, str]:

# %%
# To know more about workflows, take a look at the conceptual :std:ref:`discussion <flyte:divedeep-workflow-nodes>`.


# %%
# .. run-example-cmds::
3 changes: 0 additions & 3 deletions cookbook/core/flyte_basics/hello_world.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,3 @@ def my_wf() -> str:
# %%
# In the next few examples you'll learn more about the core ideas of Flyte, which are tasks, workflows, and launch
# plans.

# %%
# .. run-example-cmds::
3 changes: 0 additions & 3 deletions cookbook/core/flyte_basics/imperative_wf_style.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,3 @@ def t3(a: typing.List[str]) -> str:
if __name__ == "__main__":
print(wf)
print(wf(in1="hello", in2="foo"))

# %%
# .. run-example-cmds::
2 changes: 0 additions & 2 deletions cookbook/core/flyte_basics/task.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,5 +132,3 @@ def wf(n: int) -> int:
# .. prompt:: bash $
#
# flytectl get execution --project flytesnacks --domain development <execname>
#
# .. run-example-cmds::
6 changes: 3 additions & 3 deletions cookbook/dev-requirements.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
-r ./integrations/external_services/hive/requirements.in
-r ./integrations/flytekit_plugins/dolt/requirements.in
-r ./integrations/flytekit_plugins/pandera_examples/requirements.in
-r ./integrations/flytekit_plugins/modin_examples/requirements.in
-r ./integrations/flytekit_plugins/whylogs/requirements.in
-r ./integrations/flytekit_plugins/whylogs_examples/requirements.in
-r ./integrations/kubernetes/pod/requirements.in
-r ./integrations/kubernetes/k8s_spark/requirements.in
-r ./integrations/kubernetes/kfpytorch/requirements.in
Expand All @@ -22,7 +21,8 @@ codespell
isort
mock
pytest
pytest-xdist[psutil]
mypy
google-cloud-bigquery
google-cloud-bigquery-storage
grpcio < 1.49.0
grpcio-status < 1.49.0
Loading

0 comments on commit 283b456

Please sign in to comment.