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

[config] Service injection for function-based transformations #70

Closed
hartym opened this issue May 20, 2017 · 1 comment
Closed

[config] Service injection for function-based transformations #70

hartym opened this issue May 20, 2017 · 1 comment
Milestone

Comments

@hartym
Copy link
Member

hartym commented May 20, 2017

There should be a way to define service dependencies for function-based transformations.

Maybe we can find a way to use the Service class as a decorator:

@Service('database.connection')
def query(db):
    # ...
    pass

Or something similar.

@hartym hartym modified the milestone: 0.4 May 22, 2017
@hartym hartym modified the milestones: 0.4, 0.5 Jun 5, 2017
@hartym
Copy link
Member Author

hartym commented Jul 15, 2017

Done, as @require()

Will be released in 0.5

@hartym hartym closed this as completed Jul 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant