def refresh(obj):
    db = obj._state.db
    return type(obj).objects.using(db).get(pk=obj.pk)
Get the same object refreshed from the same db.
dataset/ETHPy150Open django-salesforce/django-salesforce/tests/test_mixin/tests.py/refresh