-
Notifications
You must be signed in to change notification settings - Fork 25
version 0.5 breaks ddb_dump_() #51
Comments
I think that this is the expected behavior now. In the 0.5 release I made the decision to remove the 'overflow fields' behavior. Any attribute that is not statically declared with The only part that sounds like it's potentially a bug is where you said "it appeared some values for attrs defined in the model statically were missing". This may have been because the values assigned to those fields were a null from dynamo's perspective ( If you need the overflow field behavior, then you should pin the flywheel version to |
Ah I see, sorry. I suppose I should have read into the version update deeper, before assuming this was breakage. Yes I have a I did not attempt to print the If I get time I can test out that case, I'm a bit swamped on work right now so not entirely sure when that might be. |
I know how that goes. If you happen to have time and find a minimal repro, definitely send it over. If everything is working with |
I've observed a breaking bug in version
0.5
of flywheel. Took me awhile to figure out the issue.The result, I would see the secret question I just set on my
user
object, but in the result ofuser.ddb_dump_()
all of my newly attrs were gone (and it appeared some values for attrs defined in the model statically were missing). Thus, none of my newly added attributes to myuser
object were saving and my project and tests were breaking when trying to update a model.There is something wrong with the
user.ddb_dump_()
method.. I believe that method is called for every model object to save to the database?For updating I use the
engine.save(self, overwrite=True)
I had to downgrade to
0.4.11
and everything started saving and working again.The text was updated successfully, but these errors were encountered: