(row)
| 1236 | # if we are doing polymorphic, dispatch to a different _instance() |
| 1237 | # method specific to the subclass mapper |
| 1238 | def ensure_no_pk(row): |
| 1239 | identitykey = ( |
| 1240 | identity_class, |
| 1241 | primary_key_getter(row), |
| 1242 | identity_token, |
| 1243 | ) |
| 1244 | if not is_not_primary_key(identitykey[1]): |
| 1245 | return identitykey |
| 1246 | else: |
| 1247 | return None |
| 1248 | |
| 1249 | _instance = _decorate_polymorphic_switch( |
| 1250 | _instance, |
no outgoing calls
no test coverage detected