labpack/databases/google/datastore.py
def read(self, record_id):

        ''' 
            a method to retrieve the details for a record in the table 

        :param record_id: string or number with unique identifier of record
        :return: dictionary with record fields 
        '''

        title = '%s.read' % self.__class__.__name__

        #  retrieve entity
        key = self.client.key(self.kind, record_id)
        entity = self.client.get(key)
        if not entity:
            return {}

        # reconstruct record from entity values
        return self._reconstruct_record(entity)
 
            a method to retrieve the details for a record in the table 

        :param record_id: string or number with unique identifier of record
        :return: dictionary with record fields 
        
a method to retrieve the details for a record in the table
a method to retrieve the details for a record in the table
def read(self, record_id):
        title = '%s.read' % self.__class__.__name__
        key = self.client.key(self.kind, record_id)
        entity = self.client.get(key)
        if not entity:
            return {}
        return self._reconstruct_record(entity)
def read ( self , record_id ) : title = '%s.read' % self . __class__ . __name__ key = self . client . key ( self . kind , record_id ) entity = self . client . get ( key ) if not entity : return { } return self . _reconstruct_record ( entity )
a method to retrieve the details for a record in the table
a method to retrieve the details for a record in the table
''' 
            a method to retrieve the details for a record in the table 

        :param record_id: string or number with unique identifier of record
        :return: dictionary with record fields 
        ''' #  retrieve entity # reconstruct record from entity values
dictionary with record fields
dictionary with record fields
self
record_id
string or number with unique identifier of record
string or number with unique identifier of record