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

Cleanup/improve __repr__ of several classes #307

Merged
merged 4 commits into from
Aug 27, 2024

Conversation

hemidactylus
Copy link
Collaborator

A better way to redact (partially/totally) the secrets (tokens, api keys etc) from the string repr of several objects.

A more streamlined way to achieve the above

A better error if environment is not allowed for AstraDBAdmin.

A better, manually-curated representation of most dataclasses (info.py and results.py), that leaves the "raw response" bit just hinted if present instead of printing it in a way that pollutes the visual result.

@hemidactylus hemidactylus merged commit c4a6cec into master Aug 27, 2024
0 of 3 checks passed
@hemidactylus hemidactylus deleted the SL-cleanup-response-repr branch August 27, 2024 21:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant