ray
ray copied to clipboard
Integrate with dataset
Have you thought about integrating Ray with this awesome project https://dataset.readthedocs.io ?
To be honest I've never heard of dataset, but checking the docs it seems really nice :+1: Develop a plugin to integrate with it's simple. However, for now, I do not have time to do that :/
If you're willing to contribute to the project, you could develop this plugin :D If you want to try and have any questions do not hesitate in ask.
I guess I'll try to read peewee and sqlalchemy plugins to figure out how they work and try to do it. dataset is awesome, simple and almost magic :D
Ok. Basically, Ray has a interface of how a model-db object should behavior, then each plugin has a different implementation following the interface.
As you can check in the model class. So, the plugin needs to override them, as you can check in the peewee plugin.
You can see all this in action checking the tests