ray icon indicating copy to clipboard operation
ray copied to clipboard

Integrate with dataset

Open jadolg opened this issue 7 years ago • 3 comments

Have you thought about integrating Ray with this awesome project https://dataset.readthedocs.io ?

jadolg avatar Jul 21 '17 20:07 jadolg

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.

felipevolpone avatar Jul 24 '17 16:07 felipevolpone

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

jadolg avatar Jul 25 '17 00:07 jadolg

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

felipevolpone avatar Jul 26 '17 14:07 felipevolpone