From 36470030e289ded4db7f9b7c472b7bda393eb3e0 Mon Sep 17 00:00:00 2001 From: William Hudson <0> Date: Thu, 14 Apr 2022 16:58:28 -0400 Subject: [PATCH] Import collections.abc if missing from base class --- gmaps/options.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/gmaps/options.py b/gmaps/options.py index e4cb613..81606db 100644 --- a/gmaps/options.py +++ b/gmaps/options.py @@ -1,5 +1,8 @@ - -import collections +try: + import collections + collections.Iterable +except Exception: + import collections.abc as collections from six import string_types