code: def _get_logs_without_unknown_keys(self, logs: Dict):
      return {
          k: logs[k] for k in self.fieldnames if logs.get(k) is not None
      }
  
imports: import csv
  import os
  from typing import Dict, Optional, TextIO
  from poutyne.framework.callbacks._utils import atomic_lambda_save
  from poutyne.framework.callbacks.callbacks import Callback
label_desc: Use image node_id 12 for calling the Logger obj's underlying member method code with example usage: obj._get_logs_without_unknown_keys(logs) and returns: unknown