摘要: 最新版本: image: nikolaik/python-nodejs 指定某一个版本: image: nikolaik/python-nodejs:python3.7-nodejs12 阅读全文
posted @ 2019-10-18 10:48 zq5414 阅读(210) 评论(0) 推荐(0)
摘要: 私有方法前必须有【@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)
摘要: 例如: 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)