ODM2 / ODM2PythonAPI

A set of Python functions that provides data read/write access to an ODM2 database by leveraging SQLAlchemy.
http://odm2.github.io/ODM2PythonAPI/
BSD 3-Clause "New" or "Revised" License
4 stars 13 forks source link

add init function to models #36

Closed sreeder closed 8 years ago

sreeder commented 8 years ago

add init functions to model classes current creation happens like this screen shot 2016-03-23 at 10 18 55 am

I think this would be easier screen shot 2016-03-23 at 10 20 10 am

or this
screen shot 2016-03-23 at 10 21 30 am

sreeder commented 8 years ago

I have addressed this issue in the addinheritance branch.

horsburgh commented 8 years ago

Wouldn't the third option (with named parameters) be more consistent with what we have discussed up to this point for other functions?

sreeder commented 8 years ago

I have currently set up the code so the user has to type the full attribute name. and it is waiting to be merged in a pull request issue #39