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

Reader/Writer decorators to simplify definitions #5

Open
Alphadelta14 opened this issue Jan 3, 2015 · 0 comments
Open

Reader/Writer decorators to simplify definitions #5

Alphadelta14 opened this issue Jan 3, 2015 · 0 comments

Comments

@Alphadelta14
Copy link
Contributor

Allow for methods that accept reader as their argument to have a @provides_reader decorator to pass in a valid reader from a Data String, file, or IO object.

Allow for methods that accept writer as an argument to have a @provides_writer decorator to generate a writer if one is not passed. This should also throw an error if a writer is not returned from a save() function.

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

1 participant