会员
周边
新闻
博问
闪存
赞助商
YouClaw
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
我和你并没有不同
上一页
1
···
62
63
64
65
66
67
68
69
70
···
88
下一页
打包
摘要:
阅读全文
posted @ 2020-01-10 14:01 我和你并没有不同
阅读(151)
评论(0)
推荐(0)
celery 笔记2
摘要: 参考:https://mp.weixin.qq.com/s/FF1dzq3ItvZt36PgOqX_BQ 1 Celery 实现异步调用的原理核心其实是将任务执行单元 worker 和 任务派发单元 分开,从而达到异步的效果;2Celery将需要执行的任务发送到消息队列中,然后再由任务执行单元根据具
阅读全文
posted @ 2020-01-09 13:36 我和你并没有不同
阅读(389)
评论(1)
推荐(0)
jenkins部署
摘要: 参考 :https://iblog.csdn.net/qq_37143673/article/details/97613633 docker run --name jenkinsci-blueocean -u root --rm -d -p 7005:8080 -p 50000:50000 -v /
阅读全文
posted @ 2020-01-07 10:22 我和你并没有不同
阅读(186)
评论(0)
推荐(0)
pytest 笔记
摘要: pytest 测试目录 执行失败,因为导入失败,于是通过 python3 -m pytest 测试目录 则执行成功 参考:https://mp.weixin.qq.com/s/2ER7iEshVs3GPlOlwji4tw (1).如果你想用pytest寻找整个文件夹下的测试用例,那么文件须以test
阅读全文
posted @ 2020-01-06 15:55 我和你并没有不同
阅读(217)
评论(0)
推荐(0)
转载:分布式与集群的区别究竟是什么?
摘要: 原文链接:https://www.cnblogs.com/aspirant/p/5697807.html 分布式可繁也可以简,最简单的分布式就是大家最常用的,在负载均衡服务器后加一堆web服务器,然后在上面搞一个缓存服务器来保存临时状态,后面共享一个数据库,其实很多号称分布式专家的人也就停留于此,大
阅读全文
posted @ 2020-01-06 10:56 我和你并没有不同
阅读(173)
评论(0)
推荐(0)
转载:5个顶级异步Python框架 https://geekflare.com/?s=python
摘要: 转自:https://mp.weixin.qq.com/s/HiNB7CuCmcoLHSQ5-sFC0g Python在3.4引入了 asyncio 库,3.6新增了关键字 async和await,此后,异步框架迅速发展了起来,性能上能和Node.js比肩,除非是CPU密集型任务,否则没有理由不适用
阅读全文
posted @ 2020-01-06 09:18 我和你并没有不同
阅读(838)
评论(0)
推荐(0)
代码走读 airflow
摘要: flux:1f6f53872f8d1706bc8257f15104384499c01e0e taskinstance = task +date shell exec shell 的内件命令exec执行命令时,不启用新的shell进程,exec是用被执行的命令行替换掉当前的shell进程,且exec命
阅读全文
posted @ 2020-01-05 12:54 我和你并没有不同
阅读(264)
评论(0)
推荐(0)
走读中学到的技巧 airflow
摘要: 自动发掘dag实例 import imp def process_file(self, filepath): mod_name, file_ext = os.path.splitext(os.path.split(filepath)[-1]) if file_ext != '.py': return
阅读全文
posted @ 2020-01-04 19:20 我和你并没有不同
阅读(402)
评论(0)
推荐(0)
sqlalchemy 相关
摘要: from sqlalchemy.ext.declarative import declarative_base Base = declarative_base() class User(Base): """ Eventually should be used for security purposes """ __tablename__ = "user" id = Column(Integer,
阅读全文
posted @ 2019-12-31 18:06 我和你并没有不同
阅读(207)
评论(0)
推荐(0)
pandas 筛选
摘要: t={ "age": [18, 30, np.nan, 40, np.nan, 30], "city": ["BeiJing", "ShangHai", "GuangZhou", "ShenZhen", 'BeiJing', "ShangHai"], "sex": [None, "male", "f
阅读全文
posted @ 2019-12-22 18:58 我和你并没有不同
阅读(836)
评论(0)
推荐(0)
上一页
1
···
62
63
64
65
66
67
68
69
70
···
88
下一页
导航
博客园
首页
联系
订阅
管理
公告