Skip to content
This repository has been archived by the owner on Oct 7, 2024. It is now read-only.

Import ABC from collections.abc #27

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions bsuite/logging/logging_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# ============================================================================
"""Read functionality for local csv-based experiments."""

import collections
import collections.abc
import copy
from typing import Any, Callable, List, Mapping, Sequence, Tuple, Union

Expand Down Expand Up @@ -73,7 +73,7 @@ def load_multiple_runs(
# Convert any inputs to dictionary format.
if isinstance(path_collection, six.string_types):
path_collection = {path_collection: path_collection}
if not isinstance(path_collection, collections.Mapping):
if not isinstance(path_collection, collections.abc.Mapping):
path_collection = {path: path for path in path_collection}

# Loop through multiple bsuite runs, and apply single_load_fn to each.
Expand Down