-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Make CodeGenerator and Context overridable #404
Conversation
95eb002
to
f22fdd5
Compare
I'm really confused by your commit referencing the PR itself but the diff checks out. |
Initially I was going to open a separate PR, then I remembered that the |
f22fdd5
to
abf025e
Compare
I see, I thought that functionality has been removed from Github. |
It's deprecated (not sure why, seems to be useful) according to the output of the command:
|
Thanks, merged! |
Regarding that hub feature: mislav/hub@4f70dd1 |
This is useful e.g. when using the new Jinja Environment attributes added in pallets/jinja#404
It's probably not needed very often, but subclassing e.g. the Environment to use a custom class for it would be so much cleaner than having to monkey-patch or fork.