def _get_settings(self):
        settings = {
            'user': self.user,
            'command_timeout': self.timeout,
            'cwd': self.cwd
        }

        if self.password:
            settings['password'] = self.password

        if self.private_key:
            # Fabric doesn't support passing key as string so we need to write
            # it to a temporary file
            key_file_path = self._write_private_key(private_key_material=self.private_key)
            settings['key_filename'] = key_file_path

        return settings
Return the multiplicity of a given root of f.
dataset/ETHPy150Open StackStorm/st2/st2common/st2common/models/system/action.py/FabricRemoteAction._get_settings--crossover with--dataset/ETHPy150Open fredrik-johansson/mpmath/mpmath/calculus/optimization.py/multiplicity