code: def test_get_override_with():
      with dask.config.set({"foo": "bar"}):
          # If override_with is None get the config key
          assert dask.config.get("foo") == "bar"
          assert dask.config.get("foo", override_with=None) == "bar"
  
          # Otherwise pass the default straight through
          assert dask.config.get("foo", override_with="baz") == "baz"
          assert dask.config.get("foo", override_with=False) is False
          assert dask.config.get("foo", override_with=True) is True
          assert dask.config.get("foo", override_with=123) == 123
          assert dask.config.get(
              "foo", override_with={"hello": "world"}
          ) == {"hello": "world"}
          assert dask.config.get("foo", override_with=["one"]) == [
              "one"
          ]
  
imports: from __future__ import annotations
  import os
  import site
  import stat
  import sys
  from collections import OrderedDict
  from contextlib import contextmanager
  import pytest
  import yaml
  import dask.config
  from dask.config import _get_paths, canonical_name, collect, collect_env, collect_yaml, config, deserialize, ensure_file, expand_environment_variables, get, merge, pop, refresh, rename, serialize, update, update_defaults
  from dask.utils import tmpfile
label_desc: Use image node_id 40 for calling a global function with example usage: test_get_override_with() without return types