code: def test_flatten_odd_value():
      # Anything other than tuple and dict should be treated as a
      # scalar and passed through
      expected = [0, sum, Input("foo", "bar")]
      vals_collection = (0, (sum, Input("foo", "bar")))
      result = flatten_grouping(vals_collection)
      assert expected == result
      assert len(result) == grouping_len(vals_collection)
  
imports: from dash.dependencies import Input
  from dash._grouping import flatten_grouping, make_grouping_by_index, grouping_len, map_grouping, make_grouping_by_key, validate_grouping, SchemaTypeValidationError, SchemaLengthValidationError, SchemaKeysValidationError
  from fixtures import scalar_grouping_size, list_grouping_size, dict_grouping_size, mixed_grouping_size
  import string
  import pytest
label_desc: Use image node_id 6 for calling a global function with example usage: test_flatten_odd_value() without return types