(model: EnumItem)
| 18 | |
| 19 | @DefaultDBMLRenderer.renderer_for(EnumItem) |
| 20 | def render_enum_item(model: EnumItem) -> str: |
| 21 | result = comment_to_dbml(model.comment) if model.comment else '' |
| 22 | result += f'"{model.name}"' |
| 23 | if model.note: |
| 24 | result += f' [{note_option_to_dbml(model.note)}]' |
| 25 | return result |
nothing calls this directly
no test coverage detected