Method
_reflect_table_comment
(
self,
_reflect_info: _ReflectionInfo,
table_key: TableKey,
table: sa_schema.Table,
reflection_options: Dict[str, Any],
)
Source from the content-addressed store, hash-verified
| 1949 | table.append_constraint(sa_schema.CheckConstraint(**const_d)) |
| 1950 | |
| 1951 | def _reflect_table_comment( |
| 1952 | self, |
| 1953 | _reflect_info: _ReflectionInfo, |
| 1954 | table_key: TableKey, |
| 1955 | table: sa_schema.Table, |
| 1956 | reflection_options: Dict[str, Any], |
| 1957 | ) -> None: |
| 1958 | comment_dict = _reflect_info.table_comment.get(table_key) |
| 1959 | if comment_dict: |
| 1960 | table.comment = comment_dict["text"] |
| 1961 | |
| 1962 | def _get_reflection_info( |
| 1963 | self, |
Tested by
no test coverage detected