(model: Reference)
| 10 | |
| 11 | |
| 12 | def validate_for_dbml(model: Reference): |
| 13 | for col in chain(model.col1, model.col2): |
| 14 | if col.table is None: |
| 15 | raise TableNotFoundError(f'Table on {col} is not set') |
| 16 | |
| 17 | |
| 18 | def render_inline_reference(model: Reference) -> str: |