original_docstring: Safely gets the EntityGroupMetaData object for the given entity_group.
      
docstring: Safely gets the EntityGroupMetaData object for the given entity_group.
docstring_tokens: Safely gets the EntityGroupMetaData object for the given entity_group .
code: def _GetMetaData(self, entity_group):
      """Safely gets the EntityGroupMetaData object for the given entity_group.
      """
      self._meta_data_lock.acquire()
      try:
        key = datastore_types.ReferenceToKeyValue(entity_group)
  
        meta_data = self._meta_data.get(key, None)
        if not meta_data:
          meta_data = EntityGroupMetaData(entity_group)
          self._meta_data[key] = meta_data
        return meta_data
      finally:
        self._meta_data_lock.release()
code_tokens: def _GetMetaData ( self , entity_group ) : self . _meta_data_lock . acquire ( ) try : key = datastore_types . ReferenceToKeyValue ( entity_group ) meta_data = self . _meta_data . get ( key , None ) if not meta_data : meta_data = EntityGroupMetaData ( entity_group ) self . _meta_data [ key ] = meta_data return meta_data finally : self . _meta_data_lock . release ( )
short_docstring: Safely gets the EntityGroupMetaData object for the given entity_group.
short_docstring_tokens: Safely gets the EntityGroupMetaData object for the given entity_group .
comment: """Safely gets the EntityGroupMetaData object for the given entity_group.
      """