]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
fix(dialects.mysql): repeatedly exported DECIMAL
authorsudoii <56720445+lvillis@users.noreply.github.com>
Thu, 6 Jan 2022 17:20:31 +0000 (12:20 -0500)
committersqla-tester <sqla-tester@sqlalchemy.org>
Thu, 6 Jan 2022 17:20:31 +0000 (12:20 -0500)
commit4fab3103b6be4ab53828a4d39824ffbb0aa9c976
treee28b281e3ca32b70b873d5011627326517221145
parent21ee595ba9ef3e7abc8982fac7bf488c904cf9c9
fix(dialects.mysql): repeatedly exported DECIMAL

<!-- Provide a general summary of your proposed changes in the Title field above -->

### Description
<!-- Describe your changes in detail -->

This is a typo, DECIMAL has been exported repeatedly, so this fix does not need to be tested.

https://github.com/sqlalchemy/sqlalchemy/blob/21ee595ba9ef3e7abc8982fac7bf488c904cf9c9/lib/sqlalchemy/dialects/mysql/__init__.py#L68
https://github.com/sqlalchemy/sqlalchemy/blob/21ee595ba9ef3e7abc8982fac7bf488c904cf9c9/lib/sqlalchemy/dialects/mysql/__init__.py#L71

```
# Intercepted code block
# sqlalchemy/lib/sqlalchemy/dialects/mysql/__init__.py

__all__ = (
    "BIGINT",
    "BINARY",
    "BIT",
    "BLOB",
    "BOOLEAN",
    "CHAR",
    "DATE",
    "DATETIME",
    "DECIMAL",   # Line 68
    "DOUBLE",
    "ENUM",
    "DECIMAL",   # Line 71
```

### Checklist
<!-- go over following points. check them with an `x` if they do apply, (they turn into clickable checkboxes once the PR is submitted, so no need to do everything at once)

-->

This pull request is:

- [ ] A documentation / typographical error fix
- Good to go, no issue or tests are needed
- [x] A short code fix
- please include the issue number, and create an issue if none exists, which
  must include a complete example of the issue.  one line code fixes without an
  issue and demonstration will not be accepted.
- Please include: `Fixes: #<issue number>` in the commit message
- please include tests.   one line code fixes without tests will not be accepted.
- [ ] A new feature implementation
- please include the issue number, and create an issue if none exists, which must
  include a complete example of how the feature would look.
- Please include: `Fixes: #<issue number>` in the commit message
- please include tests.

**Have a nice day!**

Closes: #7543
Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/7543
Pull-request-sha: 889d05c444264bf1b6d11386459d3360cc529d27

Change-Id: I0898af68548b3131388e50d906f216a2c4af4486
lib/sqlalchemy/dialects/mysql/__init__.py