Fix postgres cypress issue (#11441)

This commit is contained in:
Mayur Singal 2023-05-04 22:39:27 +05:30 committed by GitHub
parent ad1ecff79f
commit 2793c927cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -179,8 +179,7 @@ def get_column_args(
elif attype == "geometry": elif attype == "geometry":
args = () args = ()
elif attype.startswith("interval"): elif attype.startswith("interval"):
args, kwargs, attype = _get_interval_args(charlen, attype, kwargs) args, attype, kwargs = _get_interval_args(charlen, attype, kwargs)
elif charlen: elif charlen:
args = (int(charlen),) args = (int(charlen),)