(self)
| 644 | ) |
| 645 | |
| 646 | def _base_str(self): |
| 647 | msg = f"Failed to retrieve object {self.object_ref_hex}. " |
| 648 | if self.call_site: |
| 649 | msg += f"The ObjectRef was created at: {self.call_site}" |
| 650 | else: |
| 651 | msg += ( |
| 652 | "To see information about where this ObjectRef was created " |
| 653 | "in Python, set the environment variable " |
| 654 | "RAY_record_ref_creation_sites=1 during `ray start` and " |
| 655 | "`ray.init()`." |
| 656 | ) |
| 657 | return msg |
| 658 | |
| 659 | def __str__(self): |
| 660 | return ( |