Skip to content

Commit

Permalink
sometimes keys are null somehow?
Browse files Browse the repository at this point in the history
  • Loading branch information
gjoseph92 committed Sep 23, 2022
1 parent 1c8de3d commit 5bbaaa4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion distributed/cluster_dump.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import threading
from collections.abc import Mapping
from contextlib import contextmanager, nullcontext
from functools import partial
from pathlib import Path
from typing import (
IO,
Expand Down Expand Up @@ -99,7 +100,7 @@ def load_cluster_dump(url: str, **kwargs: Any) -> dict:
"""
if url.endswith(".msgpack.gz"):
mode = "rb"
reader = msgpack.unpack
reader = partial(msgpack.unpack, strict_map_key=False)
elif url.endswith(".yaml"):
import yaml

Expand Down

0 comments on commit 5bbaaa4

Please sign in to comment.