Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add float datatype #14

Closed
sqlalchemy-bot opened this issue Nov 30, 2005 · 2 comments
Closed

add float datatype #14

sqlalchemy-bot opened this issue Nov 30, 2005 · 2 comments
Labels
schema things related to the DDL related objects like Table, Column, CreateIndex, etc. task

Comments

@sqlalchemy-bot
Copy link
Collaborator

Migrated issue, originally created by Michael Bayer (@zzzeek)

right now floats are descending from Numeric. we need Float by itself, that takes only the precision as an argument, plus all the database-specific views of it.

@sqlalchemy-bot
Copy link
Collaborator Author

Michael Bayer (@zzzeek) wrote:

added in changeset:669. I do notice, running the engine test suite, that the float type Postgres converts it to a Real of precision 24, and MySQL converts it to precision 12. also, we dont have an explicit postgres 'bigint' type, should we add that ?

@sqlalchemy-bot
Copy link
Collaborator Author

Changes by Michael Bayer (@zzzeek):

  • changed status to closed

@sqlalchemy-bot sqlalchemy-bot added task schema things related to the DDL related objects like Table, Column, CreateIndex, etc. labels Nov 27, 2018
sqlalchemy-bot pushed a commit that referenced this issue Mar 31, 2021
Fixed issue in mypy plugin where newly added support for
:func:`_orm.as_declarative` needed to more fully add the
``DeclarativeMeta`` class to the mypy interpreter's state so that it does
not result in a name not found error; additionally improves how global
names are setup for the plugin including the ``Mapped`` name.

Introduces directory oriented testing as well, where a full
set of files will be copied, mypy runs, then zero or more patches
are applied and mypy is run again, to fully test incremental
behaviors.

Fixes: sqlalchemy/sqlalchemy2-stubs/#14
Change-Id: Ide785c07e19ba0694e8cf6f91560094ecb182016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
schema things related to the DDL related objects like Table, Column, CreateIndex, etc. task
Projects
None yet
Development

No branches or pull requests

1 participant