code: def finalize(self, status):
      # Optional. Any code that needs to be run after training
      # finishes goes here
      core_v2.close()
  
file_path: determined/harness/determined/lightning/experimental.py
imports: from typing import Optional
  from lightning.pytorch import utilities
  from lightning.pytorch.loggers import logger
  from determined import experimental
  from determined.experimental import core_v2
label_desc: Use image node_id 8 for calling the DetLogger obj's underlying member method code with example usage: obj.finalize(status) without return types