@staticmethod
def _filter_inputs(key):
    """Perform any necessary filtering of input keys for PySAM.

        Parameters
        ----------
        key : str
            SAM input key.

        Returns
        -------
        key : str
            Filtered SAM input key.
        """
    if '.' in key:
        key = key.replace('.', '_')
    if ':constant' in key and 'adjust:' in key:
        key = key.replace('adjust:', '')
    return key
