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

Inherit TerraformJSONBase from Mapping ABC #62

Merged
merged 1 commit into from
Nov 2, 2022

Conversation

juliocc
Copy link
Contributor

@juliocc juliocc commented Nov 2, 2022

Inhering from collections.abc.Mapping gives us __contains__, keys, items, values, get, __eq__, and __ne__ for free. It also makes objects behave more dict-like

Inhering from collections.abc.Mapping gives us __contains__, keys,
items, values, get, __eq__, and __ne__ for free. It also makes objects
behave more dict-like
@ludoo ludoo merged commit 824d7f0 into GoogleCloudPlatform:master Nov 2, 2022
@ludoo ludoo deleted the jccb/abc branch November 2, 2022 13:43
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.

2 participants