2

I am using MongoKit (v0.8.1) and am bit confused about the behaviour when defining a document with use_schemaless=True and use_dot_notation=True. MongoKit ignores any dynamic attributes (ie. anything that hasn't been defined in structure dict) when saving to the db. Works as expected when accessing the document via the usual square brackets. Obviously, I can work around this by overriding __setattr__ but I find it a bit unexpected. Or is this intentional? Thanks!

Jay
  • 4,627
  • 1
  • 21
  • 30
Bjoern Stiel
  • 3,918
  • 1
  • 21
  • 19

0 Answers0