luofan004
V2EX  ›  问与答

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

  •  
  •   luofan004 · Dec 28, 2018 · 1723 views
    This topic created in 2898 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   ·   2683 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 21ms · UTC 10:25 · PVG 18:25 · LAX 02:25 · JFK 05:25
    ♥ Do have faith in what you're doing.