-
Notifications
You must be signed in to change notification settings - Fork 121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
attribute access documentation #1241
attribute access documentation #1241
Conversation
b1cbf35
to
ac0a009
Compare
Thanks for the awesome doc! It lists out all the use cases and caveats of attribute access in an easy-to-understand way. I am wondering if moving this to "Advanced composition" makes more sense. The current content of "basic type and I/O" is more about flyte type. This is more like you want to access the promise attribute when composing a workflow. I will let @wild-endeavor and @cosmicBboy to decide |
This pr has been pending for a while. @wild-endeavor @cosmicBboy could you help taking a look? also, @troychiu could you fix the ci errors? |
5b14b25
to
780ba80
Compare
Signed-off-by: troychiu <[email protected]>
Signed-off-by: troychiu <[email protected]>
Signed-off-by: troychiu <[email protected]>
Signed-off-by: troychiu <[email protected]>
Signed-off-by: troychiu <[email protected]>
Signed-off-by: troychiu <[email protected]>
Signed-off-by: troychiu <[email protected]>
Signed-off-by: troychiu <[email protected]>
fd0b59c
to
6be7bf7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some small changes recommended, otherwise looks good to me!
examples/data_types_and_io/data_types_and_io/attribute_access.py
Outdated
Show resolved
Hide resolved
examples/data_types_and_io/data_types_and_io/attribute_access.py
Outdated
Show resolved
Hide resolved
examples/data_types_and_io/data_types_and_io/attribute_access.py
Outdated
Show resolved
Hide resolved
examples/data_types_and_io/data_types_and_io/attribute_access.py
Outdated
Show resolved
Hide resolved
examples/data_types_and_io/data_types_and_io/attribute_access.py
Outdated
Show resolved
Hide resolved
examples/data_types_and_io/data_types_and_io/attribute_access.py
Outdated
Show resolved
Hide resolved
examples/data_types_and_io/data_types_and_io/attribute_access.py
Outdated
Show resolved
Hide resolved
Signed-off-by: troychiu <[email protected]>
Signed-off-by: troychiu <[email protected]>
Thank you @neverett and @cosmicBboy. I have resolved all suggestions and the CI error! |
Add the documentation for attribute access on promises.
Issue: flyteorg/flyte#4409
Associated PR: flyteorg/flyteidl#439