code: def child_logger(logger):
      yield logger.getChild("child")
  
imports: from __future__ import annotations
  import logging
  import sys
  import warnings
  from unittest import mock
  import pytest
  from airflow.utils.log.logging_mixin import LoggingMixin, SetContextPropagate, StreamLogWriter, set_context
label_desc: Use image node_id 2 for calling a global function with example usage: child_logger(logger) without return types