def add_curie(self, name, href):
        """Adds a CURIE definition.

        A CURIE link with the given ``name`` and ``href`` is added to the
        document.

        This method returns self, allowing it to be chained with additional
        method calls.
        """
        self.draft.set_curie(self, name, href)
        return self
def add_curie ( self , name , href ) : self . draft . set_curie ( self , name , href ) return self
Adds a CURIE definition.

        A CURIE link with the given ``name`` and ``href`` is added to the
        document.

        This method returns self, allowing it to be chained with additional
        method calls.