I think it's used as init to take json derived dicta and get related
objects - again will review in morning

Paul Brian
07540 456 115
paul@mikadosoftware.com
Guiding you towards Continuous Delivery of software and business value.

On 18 Mar 2013, at 20:02, Philip Schatz <notifications@github.com> wrote:

In rhaptos2/repo/foldermodel.py:

> +
> +    # def to_dict(self):
> +    #     """Return self as a dict, suitable for jsonifying """
> +
> +    #     d = {}
> +    #     for col in self.__table__.columns:
> +    #         d[col.name] = self.safe_type_out(col)#getattr(self, col.name)
> +
> +    #    ### each "child" relationship, adjust the dict to be returned
> +    #     d['userroles'] = []
> +    #     for i in self.userroles:
> +    #         d['userroles'].append(i.to_dict())
> +    #     return d
> +
> +
> +def mkobjfromlistofdict(o, l):

What does this function do? The documentation below does not describe the
function

—
Reply to this email directly or view it on
GitHub<https://github.com/Connexions/rhaptos2.repo/pull/91/files#r3419508>
.

-- 


www.mikadosoftware.com

See your software improve with every change.