Also adding a bit here:
My Student (this one is mapped) class looks like this:
class Student(object):
def __init__(self, ee_id, name, stream_id, overall_proby):
self.ee_id = ee_id
self.name = name
self.stream_id = stream_id
s
This will probably help:
def addToTable():
"""Very simple SQLAlchemy function that populates the Student,
Project
and Supervisor tables."""
for student in students.itervalues():
session.add(student)
session.flush()
for project in pro
On Jun 5, 2010, at 11:56 PM, avdd wrote:
> Is there a reason for preventing updates to the polymorphic_on column?
>
> I tried removing that branch (mapper.py:1628) and the mapper tests all
> pass. (although there are problems with other tests that are
> unaffected by this change)
The class of
Is there a reason for preventing updates to the polymorphic_on column?
I tried removing that branch (mapper.py:1628) and the mapper tests all
pass. (although there are problems with other tests that are
unaffected by this change)
a.
--
You received this message because you are subscribed to the
On 06/05/2010 08:06 PM, Az wrote:
> Cheers!
>
> Creating a new instance of my mapped class and settings, manually.
> Gotcha. I think this will be an easier solution for me.
>
> Nah, I'm not in a web framework.
>
> Additional Q:
>
> +++
>
> Currently, my database is being stored in memory and it's f
Cheers!
Creating a new instance of my mapped class and settings, manually.
Gotcha. I think this will be an easier solution for me.
Nah, I'm not in a web framework.
Additional Q:
+++
Currently, my database is being stored in memory and it's fine like
that since a) my data isn't very expansive a