def _get_full_key_name(self, name, local):
        """
        Retrieve a full key name.

        :rtype: ``str``
        """
        if local:
            name = self._get_key_name_with_prefix(name=name)

        return name

        Retrieve a full key name.

        :rtype: ``str``
        
st2common/st2common/services/datastore.py