会员
周边
新闻
博问
闪存
众包
赞助商
YouClaw
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
zq5414
博客园
首页
新随笔
联系
订阅
管理
2019年10月18日
pipelines中指定Python版本的方法
摘要: 最新版本: image: nikolaik/python-nodejs 指定某一个版本: image: nikolaik/python-nodejs:python3.7-nodejs12
阅读全文
posted @ 2019-10-18 10:48 zq5414
阅读(210)
评论(0)
推荐(0)
2019年8月30日
Inject,在实现类中定义私有方法的方式
摘要: 私有方法前必须有【@classmethod】标签,并且私有方法的首个参数必须是【cls】 例如: 调用私有方法: self._insert_incident_read_log(detail, worker_id) 私有方法定义: @classmethod def _insert_incident_r
阅读全文
posted @ 2019-08-30 15:23 zq5414
阅读(163)
评论(0)
推荐(0)
Python的SQL文的where中有IN的实现方法
摘要: 例如: statuses = 'A,E' params = [store_no, start_date, end_date, worker_id] + statuses.split(',') # 根据statuses的长度,生成 '%s'的个数 in_statuses = ', '.join(map
阅读全文
posted @ 2019-08-30 15:21 zq5414
阅读(1630)
评论(0)
推荐(0)
公告