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

Filtrar metodos que implementan reglas de los que no en DataCleaner.clean #25

Open
plorenzatto opened this issue Feb 26, 2016 · 0 comments

Comments

@plorenzatto
Copy link

El metodo DataCleaner.clean llama a getattr para definir el metodo a ejecutar pero chequea que el mismo este expuesto. No es un eval pero casi.
Seria mejor si se agrega un decorador @is_cleaner_rule (o algo similar) para identificar a los metodos que efectivamente implementan reglas.
La inspiracion viene de cherrypy:
https://cherrypy.readthedocs.org/en/3.2.6/concepts/exposing.html

Evalular la mejor manera de implementar esto.

@plorenzatto plorenzatto self-assigned this Feb 26, 2016
@plorenzatto plorenzatto changed the title Filtrasr Filtrar metodos que implementan reglas de los que no en DataCleaner.clean Feb 26, 2016
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