Skip to content

Support iterable of output_entity_hints#5

Merged
Tom-Newton merged 1 commit into
mainfrom
tomnewton/allow_iterable_of_output_entity_hints
Nov 17, 2023
Merged

Support iterable of output_entity_hints#5
Tom-Newton merged 1 commit into
mainfrom
tomnewton/allow_iterable_of_output_entity_hints

Conversation

@Tom-Newton

Copy link
Copy Markdown
Owner

TL;DR

Please replace this text with a description of what this PR accomplishes.

Type

  • Bug Fix
  • Feature
  • Plugin

Are all requirements met?

  • Code completed
  • Smoke tested
  • Unit tests added
  • Code documentation added
  • Any pending items have an associated Issue

Complete description

How did you fix the bug, make the feature etc. Link to any design docs etc

Tracking Issue

https://github.com/flyteorg/flyte/issues/

Follow-up issue

NA
OR
https://github.com/flyteorg/flyte/issues/

@Tom-Newton Tom-Newton marked this pull request as ready for review November 17, 2023 16:47
@Tom-Newton Tom-Newton merged commit 3cdb62a into main Nov 17, 2023
Tom-Newton added a commit that referenced this pull request Nov 17, 2023
Tom-Newton added a commit that referenced this pull request Dec 1, 2023
Tom-Newton added a commit that referenced this pull request Dec 1, 2023
Signed-off-by: Thomas Newton <thomas.w.newton@gmail.com>
Tom-Newton added a commit that referenced this pull request Dec 13, 2023
Signed-off-by: Thomas Newton <thomas.w.newton@gmail.com>
Tom-Newton added a commit that referenced this pull request Dec 20, 2023
Signed-off-by: Thomas Newton <thomas.w.newton@gmail.com>
Tom-Newton added a commit that referenced this pull request Apr 8, 2024
* Add output_entity_hint and support for serialising it

Signed-off-by: Thomas Newton <thomas.w.newton@gmail.com>

* Correct assertion

Signed-off-by: Thomas Newton <thomas.w.newton@gmail.com>

* Add output_entity_hint to task decorator

Signed-off-by: Thomas Newton <thomas.w.newton@gmail.com>

* Type hints

Signed-off-by: Thomas Newton <thomas.w.newton@gmail.com>

* Fix circular import of type hints

Signed-off-by: Thomas Newton <thomas.w.newton@gmail.com>

* Support iterable of output_entity_hints (#5)

Signed-off-by: Thomas Newton <thomas.w.newton@gmail.com>

* Fix circular import for type hints

Signed-off-by: Thomas Newton <thomas.w.newton@gmail.com>

* Fix tests

Signed-off-by: Thomas Newton <thomas.w.newton@gmail.com>

* Auto-format

Signed-off-by: Thomas Newton <thomas.w.newton@gmail.com>

* Add positive test case

Signed-off-by: Thomas Newton <thomas.w.newton@gmail.com>

* Add a test for disallowing entity hints on static tasks

Signed-off-by: Thomas Newton <thomas.w.newton@gmail.com>

* raise instead of assert

Signed-off-by: Thomas Newton <thomas.w.newton@gmail.com>

* Rename output_entity_hints -> node_dependency_hints

Signed-off-by: Thomas Newton <thomas.w.newton@gmail.com>

* Update docstrings

Signed-off-by: Thomas Newton <thomas.w.newton@gmail.com>

* Auto-format

Signed-off-by: Thomas Newton <thomas.w.newton@gmail.com>

* Fix test_serialize_vscode

Signed-off-by: Thomas Newton <thomas.w.newton@gmail.com>

* Maybe fix the docs error

Signed-off-by: Thomas Newton <thomas.w.newton@gmail.com>

* Fix a newly added test from master

Signed-off-by: Thomas Newton <thomas.w.newton@gmail.com>

* Fix monodocs build

Signed-off-by: Thomas Newton <thomas.w.newton@gmail.com>

---------

Signed-off-by: Thomas Newton <thomas.w.newton@gmail.com>
Signed-off-by: Eduardo Apolinario <eapolinario@users.noreply.github.com>
Co-authored-by: Eduardo Apolinario <eapolinario@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant