-
Notifications
You must be signed in to change notification settings - Fork 123
Closed
Description
def parse_command(response, **options):
commands = {}
for command in response:
cmd_dict = {}
> cmd_name = str_if_bytes(command[0])
E TypeError: 'NoneType' object is not subscriptable
.venv/lib/python3.10/site-packages/redis/client.py:560: TypeError
-------------
class Task(JsonModel):
task_id: str = Field(index=True, default="")
task_tag: str = Field(index=True)
task_keyword: str = Field(index=True)
data_json: str = Field(index=False, default="{}")
task_status: str = Field(index=True)
task_time: int = Field(index=False, default=0)
When i create a Task
(Even did not call any save()
stuff). It crashes. I guess something is missing
Metadata
Metadata
Assignees
Labels
No labels