dgl
dgl copied to clipboard
[BUG][Example] Implementing the deprecated function `is_string_like`.
Description
This is a fix for Issue#7406: Transformer example is dated and does not work with latest networkx I just took this function from the previous version of networkx.
Checklist
Please feel free to remove inapplicable items for your PR.
- [x] The PR title starts with [$CATEGORY] (such as [NN], [Model], [Doc], [Feature]])
- [x] I've leverage the tools to beautify the python and c++ code.
- [x] The PR is complete and small, read the Google eng practice (CL equals to PR) to understand more about small PR. In DGL, we consider PRs with less than 200 lines of core code change are small (example, test and documentation could be exempted).
- [x] Code is well-documented
- [x] To the best of my knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change
Changes
Not authorized to trigger CI. Please ask core developer to help trigger via issuing comment:
@dgl-bot
Commit ID: 46cf044195b29f9eafd66b10c09fc782a7cf1198
Build ID: 1
Status: ❌ CI test failed in Stage [Authentication].
Report path: link
Full logs path: link
Not authorized to trigger CI. Please ask core developer to help trigger via issuing comment:
@dgl-bot
Commit ID: b56a9bf0f57f546c5c3b587fbb12132d81e4575c
Build ID: 2
Status: ❌ CI test failed in Stage [Authentication].
Report path: link
Full logs path: link
Not authorized to trigger CI. Please ask core developer to help trigger via issuing comment:
@dgl-bot
Commit ID: 739d994f0d49e17cd14a00c1536deda2ccde840e
Build ID: 3
Status: ❌ CI test failed in Stage [Authentication].
Report path: link
Full logs path: link
Not authorized to trigger CI. Please ask core developer to help trigger via issuing comment:
@dgl-bot
Commit ID: 4154d6b95b132e8dbfa1072f669ef84eac2fd060
Build ID: 4
Status: ❌ CI test failed in Stage [Authentication].
Report path: link
Full logs path: link
Not authorized to trigger CI. Please ask core developer to help trigger via issuing comment:
@dgl-bot
Commit ID: a4a4174d9c5c78efc61d95eff7969d03e8fd0508
Build ID: 5
Status: ❌ CI test failed in Stage [Authentication].
Report path: link
Full logs path: link
@dgl-bot
Commit ID: a4a4174d9c5c78efc61d95eff7969d03e8fd0508
Build ID: 6
Status: ✅ CI test succeeded.
Report path: link
Full logs path: link
Not authorized to trigger CI. Please ask core developer to help trigger via issuing comment:
@dgl-bot
Commit ID: 29c67bef72dfadf4c4628f87cb36c11b8bf54675
Build ID: 7
Status: ❌ CI test failed in Stage [Authentication].
Report path: link
Full logs path: link
@dgl-bot
Commit ID: 29c67bef72dfadf4c4628f87cb36c11b8bf54675
Build ID: 8
Status: ✅ CI test succeeded.
Report path: link
Full logs path: link
Not authorized to trigger CI. Please ask core developer to help trigger via issuing comment:
@dgl-bot