code: def valid_endpoint_config(valid_tags):
      return {"Tags": valid_tags}
  
imports: from __future__ import absolute_import
  import os
  import pytest
  from mock import MagicMock
label_desc: Use image node_id 20 for calling a global function with example usage: valid_endpoint_config(valid_tags) and returns: dict