上一页 1 2 3 4 5 6 ··· 33 下一页
摘要: 把模块当做脚本运行,标准库和第三方库都可以 会把当前路径添加到sys.path中 阅读全文
posted @ 2021-06-04 20:24 Go_Forward 阅读(43) 评论(0) 推荐(0) 编辑
摘要: pypolaris 阅读全文
posted @ 2021-06-03 22:19 Go_Forward 阅读(32) 评论(0) 推荐(0) 编辑
摘要: 自定义列 https://groups.google.com/g/sqlalchemy/c/lZw0GipVYFw https://docs.sqlalchemy.org/en/14/core/custom_types.html#types-sql-value-processing 阅读全文
posted @ 2021-05-28 12:12 Go_Forward 阅读(98) 评论(0) 推荐(0) 编辑
摘要: https://realpython.com/python-microservices-grpc/ https://github.com/saqibbutt/python-flask-microservices https://github.com/PacktPublishing/Hands-on- 阅读全文
posted @ 2021-05-26 15:17 Go_Forward 阅读(164) 评论(0) 推荐(0) 编辑
摘要: insert ignore # insert ignoreinsert_stmt = TimePoint.__table__.insert().prefix_with(" ignore").values(data) session.execute(insert_stmt) # insert on d 阅读全文
posted @ 2021-05-25 10:58 Go_Forward 阅读(1128) 评论(0) 推荐(0) 编辑
摘要: flask的不同部署方式 使用gevent部署,只是在不同请求之间是异步的,同一个请求之间还是串行的。 https://iximiuz.com/en/posts/flask-gevent-tutorial/ 阅读全文
posted @ 2021-05-07 21:09 Go_Forward 阅读(74) 评论(0) 推荐(0) 编辑
摘要: 大多数情况下,对socket来说,阻塞和同步是一个东西 阻塞:调用后,等待,直到拿到结果 非阻塞:调用后,api返回一个错误,后面调用方轮训或者api通知调用方 异步:调用后,api立即返回,结果ready后,通知调用方 https://stackoverflow.com/questions/262 阅读全文
posted @ 2021-05-06 20:07 Go_Forward 阅读(54) 评论(0) 推荐(0) 编辑
摘要: https://realpython.com/python-microservices-grpc/ https://www.manning.com/books/developing-microservice-apis-with-python https://www.freecodecamp.org/ 阅读全文
posted @ 2021-04-11 15:26 Go_Forward 阅读(70) 评论(0) 推荐(0) 编辑
摘要: 使用git-pylint-commit-hook工具 pre-commit脚本 配置文件放在仓库根目录/hooks下面 git-pylint-commit-hook --limit=9.0 --pylintrc=hooks/.pylintrc 配置 [BASIC] # Regular express 阅读全文
posted @ 2021-04-09 23:45 Go_Forward 阅读(139) 评论(0) 推荐(0) 编辑
摘要: https://stackoverflow.com/questions/427207/can-git-hook-scripts-be-managed-along-with-the-repository 阅读全文
posted @ 2021-04-08 21:05 Go_Forward 阅读(111) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 33 下一页