solvebio/resource/solveobject.py
def construct_from(cls, values, **kwargs):
        """Used to create a new object from an HTTP response"""
        instance = cls(values.get(cls.ID_ATTR), **kwargs)
        instance.refresh_from(values)
        return instance
def construct_from(cls, values, **kwargs):
        instance = cls(values.get(cls.ID_ATTR), **kwargs)
        instance.refresh_from(values)
        return instance
def construct_from ( cls , values , * * kwargs ) : instance = cls ( values . get ( cls . ID_ATTR ) , * * kwargs ) instance . refresh_from ( values ) return instance
Used to create a new object from an HTTP response
Used to create a new object from an HTTP response