def remove_field(self, path, name):
        """
        :param path: str or Path instance
        :param name:
        :type name: str
        """
        path = make_path(path)
        container = self.get_container(path)
        try:
            value = container._values[name]
            if isinstance(value, ValueTree):
                raise TypeError()
            del container._values[name]
        except KeyError:
            pass
def remove_field ( self , path , name ) : path = make_path ( path ) container = self . get_container ( path ) try : value = container . _values [ name ] if isinstance ( value , ValueTree ) : raise TypeError ( ) del container . _values [ name ] except KeyError : pass
:param path: str or Path instance
        :param name:
        :type name: str