parameters: (original_dict, whitelisted_keys)
return_statement: return filtered_dict
docstring: Gets a dictionary filtered by whitelisted keys
  
      :param original_dict: The original dictionary of arguments to source keys
          and values.
      :param whitelisted_key: A list of keys to include in the filtered
          dictionary.
  
      :returns: A dictionary containing key/values from the original dictionary
          whose key was included in the whitelist
docstring_summary: Gets a dictionary filtered by whitelisted keys
docstring_tokens: Gets a dictionary filtered by whitelisted keys
function: def get_filtered_dict(original_dict, whitelisted_keys):
      """Gets a dictionary filtered by whitelisted keys
  
      :param original_dict: The original dictionary of arguments to source keys
          and values.
      :param whitelisted_key: A list of keys to include in the filtered
          dictionary.
  
      :returns: A dictionary containing key/values from the original dictionary
          whose key was included in the whitelist
      """
      filtered_dict = {}
      for key, value in original_dict.items():
          if key in whitelisted_keys:
              filtered_dict[key] = value
      return filtered_dict
function_tokens: def get_filtered_dict ( original_dict , whitelisted_keys ) : filtered_dict = { } for key , value in original_dict . items ( ) : if key in whitelisted_keys : filtered_dict [ key ] = value return filtered_dict