Skip to content

Fix class snippet so it updates arg parameter inside __init__ function on-type #17

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

Merged
merged 3 commits into from
Oct 13, 2021

Conversation

macintacos
Copy link
Contributor

Right now, the class snippet doesn't update the arg value inside of the __init__ method. This fixes that.

Also broke out the line to be in an array to more easily grok the flow of the snippet. Newlines are not necessary when using this approach.

@cstrap cstrap merged commit 63e8110 into cstrap:master Oct 13, 2021
@cstrap
Copy link
Owner

cstrap commented Oct 13, 2021

Thanks!

@macintacos macintacos deleted the fix-class-args branch October 15, 2021 05:03
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