(fromclause, column, require_embedded=False)
| 5792 | |
| 5793 | |
| 5794 | def _corresponding_column_or_error(fromclause, column, require_embedded=False): |
| 5795 | c = fromclause.corresponding_column( |
| 5796 | column, require_embedded=require_embedded |
| 5797 | ) |
| 5798 | if c is None: |
| 5799 | raise exc.InvalidRequestError( |
| 5800 | "Given column '%s', attached to table '%s', " |
| 5801 | "failed to locate a corresponding column from table '%s'" |
| 5802 | % (column, getattr(column, "table", None), fromclause.description) |
| 5803 | ) |
| 5804 | return c |
| 5805 | |
| 5806 | |
| 5807 | class _memoized_property_but_not_nulltype( |
nothing calls this directly
no test coverage detected