| 149 | return hashlib.md5(text.encode()).hexdigest() |
| 150 | |
| 151 | class CastDB: |
| 152 | def cast_column(column_name, data_type): |
| 153 | if data_type not in ["character","text", "character varying"]: |
| 154 | return f"{column_name}::varchar(255)" |
| 155 | else: |
| 156 | return column_name |
nothing calls this directly
no outgoing calls
no test coverage detected