Comments (3)
这个包也是本人发明的,需要用户自己pip install db_libs
你用到contrib文件夹下的东西,contrib意思是额外的贡献,contrib的东西这是和框架主流程无关的,所以需要用户自己安装啊
99%的人不会用到 funboost/funboost/contrib/save_result_status_to_sqldb.py ,如果funboost安装时候是自动安装db_libs了, 有的人又要在那里呱呱叫,又抱怨说安装本人的全家桶,
from funboost.
非常感谢,引入 db_libs 后还有两个小问题,不过已经解决了。
pymysql
如果用最新的1.1.0
会提示AttributeError: module 'MySQLdb.constants' has no attribute 'FLAG'
降级到0.7.7
可以了 (其他主要包及版本如下 funboost==42.9,sqlalchemy==2.0.28,pymysql==0.7.7,db_libs==0.9)- 按照
funboost/funboost/contrib/save_result_status_to_sqldb.py
Lines 10 to 51 in 03ce8bd
run_status
,执行ALTER TABLE funboost_consume_results ADD COLUMN run_status varchar(255) NULL AFTER run_times;
from funboost.
是的,因为是后来新加的字段run_status
from funboost.
Related Issues (20)
- django的模块引入和启动 HOT 16
- pip包太厚重了, 能不能搞精简一点的, 比如我就只需要redis跟异步就可以了, 其他的完全不需要 HOT 10
- 接受非booster传过来的消息,没有extra, 导致consume 失败 HOT 1
- result_web. index.html 中 其中的一个css文件无法下载了 “bootstrap.min.css” HOT 1
- 姑且提醒下这个repo错别字连篇
- 请教: 如何使用 nb_log 打印task_id HOT 19
- BUG: AttributeError("'_thread._local' object has no attribute 'function_result_status'" HOT 7
- 【bug】可能存在的bug- 在线急等修复(我就不用再加猴子补丁了~~)[用户自己写法错误问题] HOT 8
- windows上的脚本到linux上远程执行时的路径不正确 HOT 9
- 你好,我想请教一下使用Rocketmq作为中间件时自定义消费者类的问题 HOT 9
- 关于定时任务持久化方面的一些疑惑 HOT 5
- AttributeError: '_thread._local' object has no attribute 'fct_context'报错 HOT 1
- 偶尔能成功【AmqpStorm确认消费失败】,(答: rabbbitmq服务端RABBITMQ_CONSUMER_TIMEOUT 配置问题) HOT 4
- [请教]如何手动设置 task_id HOT 5
- 使用文档4.32中的类方法方法push信息时,总是报错类没有__name__属性【用户使用错误】 HOT 19
- 升级 apschedular 到 4.x HOT 1
- vscode运行测试例子,报No module named 'lexicon' HOT 12
- 框架启动自动消费时,django中使用manage.py 非阻塞命令会阻塞进程【解决:建议web和启动消费单独分2次部署】 HOT 5
- 能不能将包上传conda-forge源
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from funboost.