def get_value_for_datastore(self, model_instance):
    return getattr(model_instance, self.__id_attr_name())
Try to connect to shotgun, alerting on failure.
dataset/ETHPy150Open CollabQ/CollabQ/.google_appengine/google/appengine/ext/db/__init__.py/ReferenceProperty.get_value_for_datastore--crossover with--dataset/ETHPy150Open shotgunsoftware/pyqt-uploader/uploader.py/Uploader.__connect_to_shotgun