🗂 Graph Learning Indexer: a contributor-friendly and metadata-rich platform for graph learning benchmarks. Dataloading, Benchmarking, Tagging, and more!
This PR adds a new rule in _verify_attrs(). In particular, we force the provided attributes to be gli.io.Attribute.
Related Issue
None.
Motivation and Context
When contributing to gli, contributors may not realize the inputs for node_attrs, edge_attrs, or graph_attrs should be a list of gli.io.Attribute. Instead, user may provide a list of numpy arrays. We want an explicit error to indicate this requirement.
Description
This PR adds a new rule in
_verify_attrs()
. In particular, we force the provided attributes to begli.io.Attribute
.Related Issue
None.
Motivation and Context
When contributing to gli, contributors may not realize the inputs for
node_attrs
,edge_attrs
, orgraph_attrs
should be a list ofgli.io.Attribute
. Instead, user may provide a list of numpy arrays. We want an explicit error to indicate this requirement.How Has This Been Tested?
Tested during developing #454.