Skip to content

Conversation

@ThiefMaster
Copy link
Member

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.

ThiefMaster added a commit to ThiefMaster/jinja that referenced this pull request Apr 6, 2015
ThiefMaster added a commit to ThiefMaster/jinja that referenced this pull request Apr 6, 2015
ThiefMaster added a commit to ThiefMaster/jinja that referenced this pull request Apr 6, 2015
ThiefMaster added a commit to ThiefMaster/jinja that referenced this pull request Apr 6, 2015
@ThiefMaster ThiefMaster force-pushed the override-codegen-context branch from 95eb002 to f22fdd5 Compare April 6, 2015 12:20
@untitaker
Copy link
Contributor

I'm really confused by your commit referencing the PR itself but the diff checks out.

@ThiefMaster
Copy link
Member Author

Initially I was going to open a separate PR, then I remembered that the hub util can convert an existing issue in a PR. I've updated the commits to remove the unneeded reference.

@ThiefMaster ThiefMaster force-pushed the override-codegen-context branch from f22fdd5 to abf025e Compare April 6, 2015 12:24
@untitaker
Copy link
Contributor

I see, I thought that functionality has been removed from Github.

@ThiefMaster
Copy link
Member Author

It's deprecated (not sure why, seems to be useful) according to the output of the command:

Warning: Issue to pull request conversion is deprecated and might not work in the future.

@untitaker
Copy link
Contributor

Thanks, merged!

@ThiefMaster ThiefMaster deleted the override-codegen-context branch April 6, 2015 12:29
@untitaker
Copy link
Contributor

Regarding that hub feature: mislav/hub@4f70dd1

ThiefMaster added a commit to ThiefMaster/flask that referenced this pull request Apr 6, 2015
This is useful e.g. when using the new Jinja Environment
attributes added in pallets/jinja#404
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 13, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants