code: def register_facet_classes():
      classes = [ColumnFacet, DateFacet]
      if detect_json1():
          classes.append(ArrayFacet)
      return classes
  
file_path: datasette/datasette/facets.py
imports: import json
  import urllib
  from datasette import hookimpl
  from datasette.database import QueryInterrupted
  from datasette.utils import escape_sqlite, path_with_added_args, path_with_removed_args, detect_json1, sqlite3
label_desc: Use image node_id 2 for calling a global function with example usage: register_facet_classes() and returns: classes