Do you mean something like the following?
```python
session = vdi.sr.xapi.session
sr_ref = session.xenapi.SR.get_by_uuid(vdi.sr.uuid)
```