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

self() #81

Closed
jthandy opened this issue Jul 27, 2016 · 4 comments
Closed

self() #81

jthandy opened this issue Jul 27, 2016 · 4 comments
Milestone

Comments

@jthandy
Copy link
Member

jthandy commented Jul 27, 2016

implement a self() function that returns schema_name.model_name. this will be helpful in pre- and post-hooks as outlined here: #22

@jthandy
Copy link
Member Author

jthandy commented Jul 27, 2016

/cc @drewbanin

@drewbanin
Copy link
Contributor

@jthandy self is essentially a reserved word in object-oriented python, so trying to use self here clashes with the jinja2 rendering implementation

I'm thinking we go for {{this}} instead. not sure it needs to be a function

@drewbanin drewbanin added this to the 0.4.0 milestone Aug 8, 2016
@jthandy
Copy link
Member Author

jthandy commented Aug 8, 2016

Sure, sounds good to me!

On Mon, Aug 8, 2016 at 3:14 PM -0400, "Drew Banin" notifications@github.com wrote:

@jthandy self is essentially a reserved word in object-oriented python, so trying to use self here clashes with the jinja2 rendering implementation

I'm thinking we go for {{this}} instead. not sure it needs to be a function


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@drewbanin
Copy link
Contributor

#94

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

No branches or pull requests

2 participants