ucscsdk/ucschandle.py
def _auto_set_tag_context(self, tag):
        """
        sets the tag automatically to the thread name
        when threading mode is enabled
        This makes sure that every thread gets it's own
        commit buffer.
        """
        # if the user already specified a tag, return the same
        if tag is not None:
            return tag

        if not self.is_threading_enabled():
            return None

        return threading.currentThread().name

        sets the tag automatically to the thread name
        when threading mode is enabled
        This makes sure that every thread gets it's own
        commit buffer.
        
sets the tag automatically to the thread name
when threading mode is enabled
This makes sure that every thread gets it's own
commit buffer.
sets the tag automatically to the thread name when threading mode is enabled This makes sure that every thread gets it ' s own commit buffer .
def _auto_set_tag_context(self, tag):
        if tag is not None:
            return tag
        if not self.is_threading_enabled():
            return None
        return threading.currentThread().name
def _auto_set_tag_context ( self , tag ) : if tag is not None : return tag if not self . is_threading_enabled ( ) : return None return threading . currentThread ( ) . name
sets the tag automatically to the thread name
when threading mode is enabled
This makes sure that every thread gets it's own
commit buffer.
sets the tag automatically to the thread name when threading mode is enabled This makes sure that every thread gets it ' s own commit buffer .
"""
        sets the tag automatically to the thread name
        when threading mode is enabled
        This makes sure that every thread gets it's own
        commit buffer.
        """ # if the user already specified a tag, return the same
self
tag