Celery - Flower 源码备注 源码解读
作者:互联网
- 入口:
- execute_from_commandline 函数 <- Command
- if argv is None: argv = list(sys.argv) 语句 <- Command (没有传入 argv 参数, 则取 sys.argv )
- self.maybe_patch_concurrency(argv) 语句 <- Command (Should we load any special concurrency environment?, 在 flower 中没用, 不关心)
- flower.command.FlowerCommand 类. 继承自 celery.bin.base.Command
- 执行流程: flower = FlowerCommand(); flower.execute_from_commandline()
标签:Flower,execute,flower,FlowerCommand,commandline,argv,Celery,源码 来源: https://blog.51cto.com/u_15187242/2746790