code: def test_dataset_features_partial(tmpdir, path_rgb_byte_tif):
      """JSON sequence tool works with partially evaluated dataset_features"""
      features_file = tmpdir.join("footprint.jsons")
      tool = tools.JSONSequenceTool(
          partial(dataset_features, bidx=1, as_mask=True)
      )
  
      tool(path_rgb_byte_tif, str(features_file))
  
      assert features_file.read().count("Feature") == 9
  
imports: from functools import partial
  from rasterio.features import dataset_features
  from rasterio import tools
label_desc: Use image node_id 2 for calling a global function with example usage: test_dataset_features_partial(tmpdir, path_rgb_byte_tif) without return types