Export json with id and add 'from_json' func - #239
Conversation
0ab26a7 to
3bd50b8
Compare
3bd50b8 to
72c8f56
Compare
|
@liamlundy @caesar0301 |
04a5df8 to
ea01eb2
Compare
ea01eb2 to
cbbe171
Compare
|
When is this PR going to be integrated? Been half a year and this addition is quite small, but IMO critical. |
|
In order for this to not be a breaking change, can you change the default |
|
Hey @liamlundy , I believe I have come up with a solution that is the best of both worlds. It adds the optional parameter Please see #244 |
|
@liamlundy Updated the PR as requested and added a new test for this functionality. |
|
@liamlundy Can you re-run the CI? |
|
Hey @dgercho you can re-run the CI/CD by force pushing. Also, the reason 3.9 fails is because the workflow needs to be fixed. Here is the fix: https://github.com/caesar0301/treelib/pull/244/changes You could add that change and then make a new commit and it should pass :) |
|
@liamlundy Done 🎉 |
|
@cmoliverio @dgercho this looks good. It looks like some code is duped between this and #244 but they also have unique patches. I'm happy to approve both but let me know how you want to approach the merge order. |
|
Respectfully, I believe the This PR: tree.create_node(tag=tag, identifier=tag, parent=parent_id, data=node_data)#244: tree.create_node(tag=tag, identifier=node_id, parent=parent_id, data=node_data)I believe we need to consider the use case where a user needs to identify a node with two different names/methods. @dgercho What are your thoughts on this slight improvement? |
|
Go ahead @cmoliverio |
|
Apologies, do you mean you are on board with liam merging my PR? |
|
Let's do this: can you @cmoliverio merge this branch into yours? The main component from this PR that I want to include is the unit test |
|
dgercho's branch was merged. #244 is ready to go. |
Changes: