(self, bindparam)
| 4120 | ) |
| 4121 | |
| 4122 | def _truncate_bindparam(self, bindparam): |
| 4123 | if bindparam in self.bind_names: |
| 4124 | return self.bind_names[bindparam] |
| 4125 | |
| 4126 | bind_name = bindparam.key |
| 4127 | if isinstance(bind_name, elements._truncated_label): |
| 4128 | bind_name = self._truncated_identifier("bindparam", bind_name) |
| 4129 | |
| 4130 | # add to bind_names for translation |
| 4131 | self.bind_names[bindparam] = bind_name |
| 4132 | |
| 4133 | return bind_name |
| 4134 | |
| 4135 | def _truncated_identifier( |
| 4136 | self, ident_class: str, name: _truncated_label |
no test coverage detected