Fetch `fetch_attrs` when using cnx.find and other method to fetch entities
Hi there (✿◠‿◠)
I was considering using cnx.find(<etype>)
in order to fetch entities, but it only fetches eid and not attributes, so it's not optimized. What if it also fetches attributes in fetch_attrs
?
cnx.find(<etype>)
could load fetch_attr
cnx.find(<etype>, fetch_attr=["foo", "bar"])
could load foo
and bar
attributes
cnx.find(<etype>, fetch_attr=[])
could load none of the attributes.
Imo it could improve performance on many website.