Skip to content

Commit

Permalink
Accept string for postgres port number (#583)
Browse files Browse the repository at this point in the history
  • Loading branch information
drewbanin committed Dec 14, 2017
1 parent 6dbe79b commit 9eac8f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dbt/contracts/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
Required('host'): basestring,
Required('user'): basestring,
Required('pass'): basestring,
Required('port'): All(int, Range(min=0, max=65535)),
Required('port'): Any(All(int, Range(min=0, max=65535)), str),
Required('schema'): basestring,
})

Expand Down

0 comments on commit 9eac8f7

Please sign in to comment.