Skip to content

Commit

Permalink
Fix: Constructing empty dictinory
Browse files Browse the repository at this point in the history
  • Loading branch information
davvard committed Apr 11, 2023
1 parent c29b32f commit 48e3914
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/networkx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -694,7 +694,7 @@ void ukv::wrap_networkx(py::module& m) {
if (attrs[i] && attrs[i].size())
map[keys[i]] = py::reinterpret_steal<py::object>(from_json(json_t::parse(attrs[i])));
else
map[keys[i]] = py::reinterpret_steal<py::object>(from_json(json_t::parse("{}")));
map[keys[i]] = py::dict();
}

stream.seek_to_next_batch();
Expand Down

0 comments on commit 48e3914

Please sign in to comment.