8000 [☀️] Fix repr for ray.ObjectRef, ray.ObjectRefGenerator types by pcmoritz · Pull Request #54011 · ray-project/ray · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[☀️] Fix repr for ray.ObjectRef, ray.ObjectRefGenerator types #54011

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

Merged
merged 9 commits into from
Jun 24, 2025

Conversation

pcmoritz
Copy link
Contributor

Why are these changes needed?

Before, the repr looks like this:

Screenshot 2025-06-23 at 11 44 10 AM

After, the repr looks like this:

Screenshot 2025-06-23 at 11 42 30 AM

Related issue number

Checks

  • I've signed off every commit(by using the -s flag, i.e., git commit -s) in this PR.
  • I've run scripts/format.sh to lint the changes in this PR.
  • I've included any doc changes needed for https://docs.ray.io/en/master/.
    • I've added any new APIs to the API Reference. For example, if I added a
      method in Tune, I've added it in doc/source/tune/api/ under the
      corresponding .rst file.
  • I've made sure the tests are passing. Note that there might be a few flaky tests, see the recent failures at https://flakey-tests.ray.io/
  • Testing Strategy
    • Unit tests
    • Release tests
    • This PR is not tested :(

@pcmoritz pcmoritz force-pushed the fix-objectref-typing branch from f8e45c7 to a19b87b Compare June 23, 2025 18:45
@pcmoritz pcmoritz added the go add ONLY when ready to merge, run all tests label Jun 23, 2025
@pcmoritz pcmoritz changed the title [☀️] Fix repr for ray.ObjectRef, ray.ObjectRefGenerator [☀️] Fix repr for ray.ObjectRef, ray.ObjectRefGenerator types Jun 23, 2025
pcmoritz added 2 commits June 23, 2025 12:01
Signed-off-by: Philipp Moritz <pcmoritz@gmail.com>
Signed-off-by: Philipp Moritz <pcmoritz@gmail.com>
@pcmoritz pcmoritz force-pushed the fix-objectref-typing branch from 7aeff9c to 0be8b32 Compare June 23, 2025 19:01
pcmoritz added 7 commits June 23, 2025 12:08
Signed-off-by: Philipp Moritz <pcmoritz@gmail.com>
Signed-off-by: Philipp Moritz <pcmoritz@gmail.com>
@pcmoritz pcmoritz requested a review from a team as a code owner June 24, 2025 02:32
@pcmoritz pcmoritz enabled auto-merge (squash) June 24, 2025 03:31
@pcmoritz pcmoritz merged commit cc61044 into ray-project:master Jun 24, 2025
6 checks passed
minerharry pushed a commit to minerharry/ray that referenced this pull request Jun 27, 2025
…oject#54011)

<!-- Thank you for your contribution! Please review
https://github.com/ray-project/ray/blob/master/CONTRIBUTING.rst before
opening a pull request. -->

<!-- Please add a reviewer to the assignee section when you create a PR.
If you don't have the access to it, we will shortly find a reviewer and
assign them to your PR. -->

## Why are these changes needed?

Before, the repr looks like this:

<img width="562" alt="Screenshot 2025-06-23 at 11 44 10 AM"
src="https://github.com/user-attachments/assets/2f8b5961-d2f5-4c1e-be7d-2e65817d194f"
/>


After, the repr looks like this:

<img width="592" alt="Screenshot 2025-06-23 at 11 42 30 AM"
src="https://github.com/user-attachments/assets/e280f784-6c00-4a97-8a4c-7165864f1a5f"
/>


## Related issue number

<!-- For example: "Closes ray-project#1234" -->

## Checks

- [ ] I've signed off every commit(by using the -s flag, i.e., `git
commit -s`) in this PR.
- [ ] I've run `scripts/format.sh` to lint the changes in this PR.
- [ ] I've included any doc changes needed for
https://docs.ray.io/en/master/.
- [ ] I've added any new APIs to the API Reference. For example, if I
added a
method in Tune, I've added it in `doc/source/tune/api/` under the
           corresponding `.rst` file.
- [ ] I've made sure the tests are passing. Note that there might be a
few flaky tests, see the recent failures at https://flakey-tests.ray.io/
- Testing Strategy
   - [ ] Unit tests
   - [ ] Release tests
   - [ ] This PR is not tested :(

---------

Signed-off-by: Philipp Moritz <pcmoritz@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
go add ONLY when ready to merge, run all tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0