i2mint / py2store

Tools to create simple and consistent interfaces to complicated and varied data sources.
MIT License
11 stars 2 forks source link

Structure and consistency of the base persisters. #52

Open thorwhalen opened 4 years ago

thorwhalen commented 4 years ago

We need to structure the persisters construction interface more.

Principles:

Questions arise as to whether the __init__ should be. Should it be a lower level kind, specific to the context (but with factories or subclasses offering other, usually easier, ways to make persisters)? Should it be one of the higher level consistent API ones such as the one including a uri?

thorwhalen commented 4 years ago

Some relevant issues: https://github.com/i2mint/py2store/issues/5 https://github.com/i2mint/py2store/issues/38