Perform preliminary non-db specific value checks and conversions.
(self, value)
| 1028 | return getattr(model_instance, self.attname) |
| 1029 | |
| 1030 | def get_prep_value(self, value): |
| 1031 | """Perform preliminary non-db specific value checks and conversions.""" |
| 1032 | if isinstance(value, Promise): |
| 1033 | value = value._proxy____cast() |
| 1034 | return value |
| 1035 | |
| 1036 | def get_db_prep_value(self, value, connection, prepared=False): |
| 1037 | """ |
no outgoing calls
no test coverage detected