code: def get_environment() -> Environment:
      loader = FileSystemLoader(TEMPLATE_PATHS)
      environment = Environment(loader=loader)
      environment.filters.update(FILTERS)
  
      return environment
  
file_path: dask/dask/widgets/widgets.py
imports: from __future__ import annotations
  import datetime
  import html
  import os.path
  from jinja2 import Environment, FileSystemLoader, Template
  from jinja2.exceptions import TemplateNotFound
  from dask.utils import format_bytes, format_time, format_time_ago, key_split, typename
label_desc: Use image node_id 1 for calling a global function with example usage: get_environment() and returns: environment