# Path: heatclient/_i18n.py
# def get_available_languages():
# def enable_lazy():


import json
import yaml
from heatclient._i18n import _
#    distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
#    WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
#    License for the specific language governing permissions and limitations
#    under the License.



if hasattr(yaml, 'CSafeLoader'):
    yaml_loader_base = yaml.CSafeLoader
else:
    yaml_loader_base = yaml.SafeLoader

if hasattr(yaml, 'CSafeDumper'):
    yaml_dumper_base = yaml.CSafeDumper
else:
    yaml_dumper_base = yaml.SafeDumper


# We create custom class to not overriden the default yaml behavior
class yaml_loader(yaml_loader_base):
    pass


class yaml_dumper(yaml_dumper_base):
    pass


def _construct_yaml_str(self, node):
    # Override the default string handling function
    # to always return unicode objects

# Path: heatclient/_i18n.py
# def get_available_languages():
# def enable_lazy():


# Path: heatclient/common/template_format.py
import json
import yaml
from heatclient._i18n import _

#    distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
#    WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
#    License for the specific language governing permissions and limitations
#    under the License.



if hasattr(yaml, 'CSafeLoader'):
    yaml_loader_base = yaml.CSafeLoader
else:
    yaml_loader_base = yaml.SafeLoader

if hasattr(yaml, 'CSafeDumper'):
    yaml_dumper_base = yaml.CSafeDumper
else:
    yaml_dumper_base = yaml.SafeDumper


# We create custom class to not overriden the default yaml behavior
class yaml_loader(yaml_loader_base):
    pass


class yaml_dumper(yaml_dumper_base):
    pass


def _construct_yaml_str(self, node):
    # Override the default string handling function
    # to always return unicode objects

    return self.construct_scalar(node)