-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Storage prefixes always #954
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||
---|---|---|---|---|
|
@@ -39,7 +39,7 @@ katana::python::InitImportData(py::module& m) { | |||
[](py::array_t<PropertyGraph::Edge> edge_indices, | ||||
py::array_t<PropertyGraph::Node> edge_destinations) | ||||
-> Result<std::shared_ptr<PropertyGraph>> { | ||||
return KATANA_CHECKED(katana::PropertyGraph::Make( | ||||
return KATANA_CHECKED(katana::PropertyGraph::MakeEphemeral( | ||||
TopologyFromCSR(edge_indices, edge_destinations))); | ||||
Comment on lines
+42
to
43
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. A reasonable usage of this python function is to call it and then call There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I thought a lot about that use case when I was writing this so it should work correctly. But I need to check to see if we are testing it currently. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm pretty sure I test it from Python. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Could you point me in the right direction to short-circuit my search a little? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. katana/python/test/test_convert_graph.py Line 227 in 95ad4cf
Through the power of searching for |
||||
}, | ||||
R"""( | ||||
|
@@ -75,7 +75,7 @@ katana::python::InitImportData(py::module& m) { | |||
edge_types_owned.begin()); | ||||
EntityTypeManager node_type_manager_owned = node_type_manager; | ||||
EntityTypeManager edge_type_manager_owned = edge_type_manager; | ||||
return KATANA_CHECKED(katana::PropertyGraph::Make( | ||||
return KATANA_CHECKED(katana::PropertyGraph::MakeEphemeral( | ||||
TopologyFromCSR(edge_indices, edge_destinations), | ||||
std::move(node_types_owned), std::move(edge_types_owned), | ||||
std::move(node_type_manager_owned), | ||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I support Tyler's suggestion of keeping the name
Make