taosdata / taos-connector-python

TDengine connector for Python
https://www.taosdata.com/cn/documentation/connector#python
MIT License
46 stars 13 forks source link

fix:taos.error: Database not specified #216

Closed markcheney1 closed 1 year ago

markcheney1 commented 1 year ago

解决在sqlalchemy 上配置database不生效的问题

markcheney1 commented 1 year ago

之前的代码存在问题,已经改正重新推送,请帮忙approve 一下ci的workflow @sangshuduo

codecov-commenter commented 1 year ago

Codecov Report

Merging #216 (1d657fd) into 3.0 (4355744) will decrease coverage by 0.33%. Report is 37 commits behind head on 3.0. The diff coverage is 65.38%.

@@            Coverage Diff             @@
##              3.0     #216      +/-   ##
==========================================
- Coverage   81.17%   80.85%   -0.33%     
==========================================
  Files          20       20              
  Lines        2577     2685     +108     
==========================================
+ Hits         2092     2171      +79     
- Misses        485      514      +29     
Files Changed Coverage Δ
taos/cursor.py 75.00% <ø> (ø)
taos/sqlalchemy.py 0.00% <0.00%> (ø)
taos/field.py 74.15% <21.73%> (-6.86%) :arrow_down:
taos/bind.py 79.28% <28.57%> (-0.86%) :arrow_down:
taos/tmq.py 87.97% <73.52%> (-2.94%) :arrow_down:
taos/cinterface.py 81.25% <76.19%> (-0.01%) :arrow_down:
taos/field_v3.py 93.33% <94.44%> (-0.57%) :arrow_down:
taos/_version.py 100.00% <100.00%> (ø)
taos/constants.py 100.00% <100.00%> (ø)
taosrest/restclient.py 93.54% <100.00%> (+3.43%) :arrow_up:

... and 2 files with indirect coverage changes

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more