def render_item(type_, col, autogen_context):
if type_ == "type" and isinstance(col, PasswordType):
autogen_context.imports.add("import sqlalchemy_utils")
return "sqlalchemy_utils.PasswordType"
else:
return False
文章目录