pydrepr/drepr/outputs/array_backend/array_record.py
def m(self, pred_uri: str):
        """Get values of a predicate, always return a list"""
        result = []
        for aid in self._cls.pred2attrs[pred_uri]:
            result += self._cls.attrs[aid].get_mval(self._index)
        return result
Get values of a predicate, always return a list
Get values of a predicate, always return a list
Get values of a predicate always return a list
def m(self, pred_uri: str):
        result = []
        for aid in self._cls.pred2attrs[pred_uri]:
            result += self._cls.attrs[aid].get_mval(self._index)
        return result
def m ( self , pred_uri : str ) : result = [ ] for aid in self . _cls . pred2attrs [ pred_uri ] : result += self . _cls . attrs [ aid ] . get_mval ( self . _index ) return result
Get values of a predicate, always return a list
Get values of a predicate always return a list
"""Get values of a predicate, always return a list"""
self
pred_uri
str