IRC log for #storm on 20100131

00:25.29*** join/#storm danilos (~danilo@canonical/launchpad/danilos)
00:44.50*** join/#storm danilos (~danilo@canonical/launchpad/danilos)
01:54.39*** join/#storm fcorrea (~fcorrea@201-75-152-196-nd.cpe.vivax.com.br)
02:15.01*** join/#storm danilos (~danilo@canonical/launchpad/danilos)
04:39.49*** join/#storm danilos (~danilo@canonical/launchpad/danilos)
05:01.12*** join/#storm danilos (~danilo@canonical/launchpad/danilos)
05:28.27*** join/#storm danilos (~danilo@canonical/launchpad/danilos)
06:11.53*** join/#storm danilos (~danilo@canonical/launchpad/danilos)
06:39.06*** join/#storm danilos (~danilo@canonical/launchpad/danilos)
06:55.34*** join/#storm danilos (~danilo@canonical/launchpad/danilos)
08:17.21*** join/#storm danilos (~danilo@canonical/launchpad/danilos)
11:06.37*** join/#storm Brend (~brendonh@59-120-83-180.HINET-IP.hinet.net)
11:06.49BrendHi! I have a question about References.
11:07.53BrendLet's say I have some class with "parent_id = Int(); parent = Reference(parent_id, SomeOtherClass.id)", and then I create a new instance of that class, and I set parent_id ... parent is still None, until I add the object to the store (even if I don't commit)
11:08.00BrendIs this the correct behaviour? It's giving me some grief.
11:12.19BrendOh, I guess it must be, since otherwise the object has no idea which store it's in.
11:12.21BrendUrgh.
13:36.25*** part/#storm Fodder (~pajs@carrick.bishnet.net)
15:24.15*** join/#storm yosafbridge (~yosafbrid@adsl-71-142-225-118.dsl.scrm01.pacbell.net)
16:16.25*** join/#storm keppla (~keppla@i577B1376.versanet.de)
18:56.10jkakarBrend: Yeah, it's expected.
18:56.40jkakarBrend: Typically, if possible, I'll create a SomeOtherClass instance and assign it to the parent reference.
19:37.25Brendjkakar, in my case the ID I'm setting is a real DB object, and I'm doing all kinds of ridiculous black magic. I figured out a (hilarious) workaround in the end
19:58.21*** join/#storm keppla1 (~keppla@i577B19C1.versanet.de)

Generated by irclog2html.pl Modified by Tim Riker to work with infobot.