Skip to content
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

@task.ray #26

Closed
venkatajagannath opened this issue Jul 22, 2024 · 1 comment · Fixed by #29
Closed

@task.ray #26

venkatajagannath opened this issue Jul 22, 2024 · 1 comment · Fixed by #29
Milestone

Comments

@venkatajagannath
Copy link
Contributor

venkatajagannath commented Jul 22, 2024

Currently, while using the decorator based approach, users will have to decorate their function with @ray_task.

For ideal UX, it should be "@task.ray" instead

@tatiana tatiana added this to the 0.1.0 milestone Jul 24, 2024
@pankajastro
Copy link
Collaborator

You need to adjust the module accordingly.
Example:

from ray_provider import task

@task.ray
....

@venkatajagannath venkatajagannath linked a pull request Jul 28, 2024 that will close this issue
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 a pull request may close this issue.

3 participants