flytekit icon indicating copy to clipboard operation
flytekit copied to clipboard

WIP - Type @task decorator

Open eapolinario opened this issue 3 years ago • 0 comments

Signed-off-by: Eduardo Apolinario [email protected]

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

This is the original discussion in mypy about how to type decorators. Implementing this in @task decorator will allow for a tighter feedback loop for users of the Flyte constructs.

This should be incorporated only after https://github.com/flyteorg/flytekit/pull/1313 is merged.

Tracking Issue

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

Follow-up issue

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

eapolinario avatar Dec 17 '22 07:12 eapolinario