Skip to content

Use cardinality_rule instead of enforce_uniqueness with RegexGenerator #2451

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

Closed
frances-h opened this issue Apr 9, 2025 · 1 comment
Closed
Labels
feature request Request for a new feature

Comments

@frances-h
Copy link
Contributor

frances-h commented Apr 9, 2025

Problem Description

Once sdv-dev/RDT@130a5c0 is merged in, it will deprecate the enforce_uniqueness parameter for the RegexGenerator transformer. We need to update SDV to use the new cardinality_rule='unique' instead of enforce_uniqueness=True.

Expected behavior

SDV should use the cardinality_rule parameter so a FutureWarning isn't raised from RDT.

@frances-h frances-h added the feature request Request for a new feature label Apr 9, 2025
@frances-h frances-h changed the title Use cardinality_rule instead of enforce_uniqueness with RegexGenerator and AnonymizedFaker Use cardinality_rule instead of enforce_uniqueness with RegexGenerator Apr 9, 2025
@frances-h
Copy link
Contributor Author

Closed by #2416

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Request for a new feature
Projects
None yet
Development

No branches or pull requests

1 participant