prohibited]:
try:
value = getattr(obj, k)
setattr(newobj, k, value)
except AttributeError:
pass
return newobj
On Friday, July 14, 2017 at 2:47:45 PM UTC-5, Mike Bayer wrote:
>
> On Fri, Jul 14, 2017 at 1:24 AM, David Laredo Razo
> <davidl...@gmail.com > wrote:
>
>
> this
e.
I will attach both my code and the tests data in case you want to try it by
yourself.
On Thursday, July 13, 2017 at 8:27:04 AM UTC-5, Mike Bayer wrote:
>
> On Thu, Jul 13, 2017 at 12:31 AM, David Laredo Razo
> <davidl...@gmail.com > wrote:
> > Hello, I am using SQL
Sorry I made a mistake, when printing whats inside the session I do it this
way
for new_object in session.new:
print(new_object, mapper.identity_key_from_instance(new_object))
On Wednesday, July 12, 2017 at 11:31:06 PM UTC-5, David Laredo Razo wrote:
>
> Hello, I am using SQLAlchemy v
Hello, I am using SQLAlchemy version 1.2.0b1
I created some mapped objects using the declarative style in SQLAlchemy. I
have a mapping called ThermafuserReading which has a composed primary key
made up of the Time_stamp column which is DateTime and ThermafuserId column
which is an Integer and