From ffa770a695a0f980f8340cacbaf2d520d7403b77 Mon Sep 17 00:00:00 2001 From: Patrick Hoefler <61934744+phofl@users.noreply.github.com> Date: Wed, 24 Jul 2024 23:30:10 +0200 Subject: [PATCH] Fixup --- dask_bigquery/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dask_bigquery/core.py b/dask_bigquery/core.py index 8a50701..fc68096 100644 --- a/dask_bigquery/core.py +++ b/dask_bigquery/core.py @@ -231,7 +231,7 @@ def make_create_read_session_request(): arrow_options = arrow_options.copy() if pyarrow_strings_enabled(): - types_mapper = _get_types_mapper(arrow_options.get("types_mapper", {})) + types_mapper = _get_types_mapper(arrow_options.get("types_mapper", {}.get)) if types_mapper is not None: arrow_options["types_mapper"] = types_mapper