code: def time_from_json(js, manager):
      """Deserialize a Python time object from json."""
      if js is None:
          return None
      else:
          return dt.time(
              js["hours"],
              js["minutes"],
              js["seconds"],
              js["milliseconds"] * 1000,
          )
  
imports: import re
  import traitlets
  import datetime
label_desc: Use image node_id 8 for calling a global function with example usage: time_from_json(js, manager) and returns: None, dt