Skip to content
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

C API code cleanup #2077

Merged
merged 1 commit into from
Feb 16, 2022
Merged

Conversation

ChuckHastings
Copy link
Collaborator

@ChuckHastings ChuckHastings commented Feb 15, 2022

Pull out common cascading logic/error handling into a template function. This cleans up the existing C API implementations and will make new C API implementations a bit simpler.

Note: #2069 uses the old paradigm. Depending on merge order we might want to modify the node2vec implementation to use this technique also. Can decide whether to do that in 2069 if this PR merges first, or if 2069 merges first we can either add that to this PR or leave it as tech debt to address later.

@ChuckHastings ChuckHastings requested a review from a team as a code owner February 15, 2022 17:56
@ChuckHastings ChuckHastings self-assigned this Feb 15, 2022
@ChuckHastings ChuckHastings added 3 - Ready for Review improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Feb 15, 2022
@ChuckHastings ChuckHastings added this to the 22.04 milestone Feb 15, 2022
@ChuckHastings
Copy link
Collaborator Author

rerun tests

@ChuckHastings
Copy link
Collaborator Author

@gpucibot merge

@rapids-bot rapids-bot bot merged commit 41c3b70 into rapidsai:branch-22.04 Feb 16, 2022
@ChuckHastings ChuckHastings deleted the c_api_cleanup branch June 6, 2022 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Improvement / enhancement to an existing function non-breaking Non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants