@classmethod
def _from_munch(cls, obj, synchronized=True, connection=None):
    """Create an instance from a ``munch.Munch`` object.

        This is intended as a temporary measure to convert between shade-style
        Munch objects and original openstacksdk resources.

        :param obj: a ``munch.Munch`` object to convert from.
        :param bool synchronized: whether this object already exists on server
            Must be set to ``False`` for newly created objects.
        """
    return cls(_synchronized=synchronized, connection=connection, **obj)
