luofan004
V2EX  ›  问与答

celery 传递多层嵌套 json 参数时提示 too many values to unpack & need more than 1 value to unpack

  •  
  •   luofan004 · Dec 28, 2018 · 1715 views
    This topic created in 2895 days ago, the information mentioned may be changed or developed.
    celery 传递多层嵌套 json 参数时提示 too many values to unpack ?然后我把内层 dict json 序列话以后又提示 need more than 1 value to unpack, 就很迷惑了,**kwargs 能正常接收字符串,为啥不能识别序列化后的 json 么。
    1 replies  •  2019-01-11 11:14:05 +08:00
    luofan004
    luofan004
    OP
    Jan 11, 2019
    1
    自问自答: 原来是 celery 没重启。。。。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2520 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 20ms · UTC 12:06 · PVG 20:06 · LAX 04:06 · JFK 07:06
    ♥ Do have faith in what you're doing.