code: def test_edit_filtered_string():
      from dtale.views import build_dtypes_state, format_data
  
      df = pd.DataFrame(
          {
              "a": ["yes", "no", "no", "maybe"],
              "b": ["AAAA", "bar", "spam", "eggs"],
          }
      )
      df, _ = format_data(df)
      with app.test_client() as c:
          data = {c.port: df}
          build_data_inst(data)
          settings = {c.port: {"locked": ["a"]}}
          build_settings(settings)
          dtypes = {c.port: build_dtypes_state(df)}
          build_dtypes(dtypes)
          c.get(
              "/dtale/save-column-filter/{}".format(c.port),
              query_string=dict(
                  col="a",
                  cfg=json.dumps(
                      {"type": "string", "value": ["maybe"]}
                  ),
              ),
          )
          resp = c.get(
              "/dtale/edit-cell/{}".format(c.port),
              query_string=dict(col="b", rowIndex=0, updated=""),
          )
          assert "error" not in resp.json
          assert data[c.port]["b"].values[-1] is None
  
file_path: dtale/tests/dtale/test_edit_cell.py
imports: import datetime
  import json
  import numpy
  import pandas
  import pytest
  from tests.dtale import build_data_inst, build_settings, build_dtypes
  from tests.dtale.test_views import app
label_desc: Use image node_id 9 for calling a global function with example usage: test_edit_filtered_string() without return types