Skip to content

[FEA]: Add kwarg to functions to allow users to skip input verification #70

@rlratzel

Description

@rlratzel

Is this a new feature, an improvement, or a change to existing functionality?

New Feature

How would you describe the priority of this feature request

Low (would be nice)

Please provide a clear description of problem this feature solves

From #62 (comment)

Adding a kwarg to allow users to skip input verification checks could improve performance for users that have known safe/sanitized input. The option would be opt-in, since skipping this check and potentially allowing invalid inputs is not drop-in compatible with NX because invalid inputs could either be silently accepted in unexpected ways, or raise exceptions different than NX's.

Another approach could be to add a nx-cugraph config option that applies to all nx-cugraph functions, since it seems likely that a user would want this behavior for their entire workflow rather than just specific functions. Yet another approach could be to have both config and kwarg support.

Describe your ideal solution

example:

similarities = nx.jaccard_coefficient(G, [(0, 1), (1, 2)], backend_kwargs={"cugraph": {"check_ebunch": False}})

Describe any alternatives you have considered

No response

Additional context

No response

Code of Conduct

  • I agree to follow nx-cugraph's Code of Conduct
  • I have searched the open feature requests and have found no duplicates for this feature request

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions