For redis:6.2 it raises the following error: > Command # 2 (EXPIRE my_key 1 NX) of pipeline caused error: ("wrong number of arguments for 'expire' command",)