(self, bindparam)
| 3941 | ) |
| 3942 | |
| 3943 | def _truncate_bindparam(self, bindparam): |
| 3944 | if bindparam in self.bind_names: |
| 3945 | return self.bind_names[bindparam] |
| 3946 | |
| 3947 | bind_name = bindparam.key |
| 3948 | if isinstance(bind_name, elements._truncated_label): |
| 3949 | bind_name = self._truncated_identifier("bindparam", bind_name) |
| 3950 | |
| 3951 | # add to bind_names for translation |
| 3952 | self.bind_names[bindparam] = bind_name |
| 3953 | |
| 3954 | return bind_name |
| 3955 | |
| 3956 | def _truncated_identifier( |
| 3957 | self, ident_class: str, name: _truncated_label |
no test coverage detected