code: def test_get_valid_primitives_single_table(transform_es):
      msg = "Only one dataframe in entityset, changing max_depth to 1 since deeper features cannot be created"
      with pytest.warns(UserWarning, match=msg):
          agg_prims, trans_prims = get_valid_primitives(
              transform_es, "first"
          )
  
      assert set(agg_prims) == set()
      assert IsIn in trans_prims
  
file_path: featuretools/featuretools/tests/synthesis/test_get_valid_primitives.py
imports: import pytest
  from woodwork.column_schema import ColumnSchema
  from featuretools.primitives import AggregationPrimitive, Count, Hour, IsIn, Not, TimeSincePrevious, TransformPrimitive
  from featuretools.synthesis.get_valid_primitives import get_valid_primitives
  from featuretools.utils.gen_utils import Library
label_desc: Use image node_id 7 for calling a global function with example usage: test_get_valid_primitives_single_table(transform_es) without return types