Add SQLAlchemy dialect adapter + Python 3.7+ support#35
Closed
jarrenL wants to merge 1 commit into
Closed
Conversation
新增 gaussdb_sqlalchemy 方言包: - base.py: GaussDBDialect, A/B/M 兼容模式自动检测和适配 - M 模式: AUTO_INCREMENT, TIMESTAMP(6), CONCAT(), 反引号, LAST_INSERT_ID - A/B 模式: SERIAL, ||, 双引号, RETURNING - alembic.py: Alembic 集成, M 兼容 MODIFY COLUMN 语法 - 连接串: gaussdb://user:pass@host:port/db?sslmode=disable Python 3.7+ 兼容: - _oids.py: 加 from __future__ import annotations - _tz.py: zoneinfo 兼容 backports.zoneinfo (3.7/3.8) - pyproject.toml: requires-python >= 3.7, 加 3.7/3.8 classifiers - pyproject.toml: typing-extensions 版本限制 + backports.zoneinfo 依赖 PR huaweicloud-samples#33 coredump 修复已在 master 中(上一个 commit)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
新增内容
1. SQLAlchemy 方言适配包 (gaussdb_sqlalchemy/)
2. Python 3.7+ 兼容
验证