class_docstr: A prescription of how metadata is to be passed to a single method.
  
  Refer to :class:`MetadataRequest` for how this class is used.
  
  .. versionadded:: 1.3
  
  Parameters
  ----------
  owner : str
      A display name for the object owning these requests.
  
  method : str
      The name of the method to which these requests belong.
docstr: Get names of all metadata that can be consumed or routed by this method.
  
  This method returns the names of all metadata, even the ``False``
  ones.
  
  Parameters
  ----------
  return_alias : bool
      Controls whether original or aliased names should be returned. If
      ``False``, aliases are ignored and original names are returned.
  
  Returns
  -------
  names : set of str
      A set of strings with the names of all parameters.
docstr_tok: ["Get","names","of","all","metadata","that","can","be","consumed","or","routed","by","this","method",".","This","method","returns","the","names","of","all","metadata",",","even","the","``","False","``","ones",".","Parameters","--","--","--","--","--","return_alias",":","bool","Controls","whether","original","or","aliased","names","should","be","returned",".","If","``","False","``",",","aliases","are","ignored","and","original","names","are","returned",".","Returns","--","--","--","-","names",":","set","of","str","A","set","of","strings","with","the","names","of","all","parameters","."]
code: def _get_param_names(self, return_alias):
      """Get names of all metadata that can be consumed or routed by this method.
  
      This method returns the names of all metadata, even the ``False``
      ones.
  
      Parameters
      ----------
      return_alias : bool
          Controls whether original or aliased names should be returned. If
          ``False``, aliases are ignored and original names are returned.
  
      Returns
      -------
      names : set of str
          A set of strings with the names of all parameters.
      """
      return set(
          alias
          if return_alias and not request_is_valid(alias)
          else prop
          for prop, alias in self._requests.items()
          if not request_is_valid(alias) or alias is not False
      )
  
imports: import inspect
  from collections import namedtuple
  from copy import deepcopy
  from typing import Optional, Union
  from warnings import warn
  from ..None import get_config
  from ..exceptions import UnsetMetadataPassedError
  from ._bunch import Bunch
label_desc: Use image node_id 4 for calling the MethodMetadataRequest obj's underlying member method code with example usage: obj._get_param_names(return_alias) and returns: set