Skip to content

Commit

Permalink
Fix: column_properties gave an error in some cases
Browse files Browse the repository at this point in the history
  • Loading branch information
kolypto committed Apr 23, 2021
1 parent 6ea80b9 commit b10e7d2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions exdoc/sa/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ def _model_columns(ins):
# Got to compile it using a dialect
# TODO: support other dialects in addition to Postgres
column_type_str = column_type.compile(dialect=postgresql.dialect())
except sa_exc.CompileError:
column_type_str = '?'

# Collect
columns.append(SaColumnDoc(
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setup(
name='exdoc',
version='0.1.4',
version='0.1.4-1',
author='Mark Vartanyan',
author_email='[email protected]',

Expand Down

0 comments on commit b10e7d2

Please sign in to comment.