Skip to content

Commit

Permalink
fix typings
Browse files Browse the repository at this point in the history
  • Loading branch information
devkral committed Oct 22, 2024
1 parent c7e9366 commit e08d6e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion edgy/core/db/fields/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ def get_column_type(cls, column_max_digits: Optional[int] = None, **kwargs: Any)
if column_max_digits is None:
return sqlalchemy.Float(asdecimal=False)
return sqlalchemy.Float(precision=column_max_digits, asdecimal=False).with_variant(
oracle.FLOAT(binary_precision=round(column_max_digits / 0.30103), asdecimal=False),
oracle.FLOAT(binary_precision=round(column_max_digits / 0.30103), asdecimal=False), # type: ignore
"oracle",
)

Expand Down

0 comments on commit e08d6e4

Please sign in to comment.