core/homeassistant/util/yaml/objects.py

10 lines
218 B
Python

"""Custom yaml object types."""
class NodeListClass(list):
"""Wrapper class to be able to add attributes on a list."""
class NodeStrClass(str):
"""Wrapper class to be able to add attributes on a string."""