MCPcopy Index your code
hub / github.com/MongoEngine/mongoengine / _mark_as_changed

Method _mark_as_changed

mongoengine/fields.py:1829–1832  ·  view source on GitHub ↗

Inform the instance that `self.key` has been changed

(self)

Source from the content-addressed store, hash-verified

1827 self.newfile.close()
1828
1829 def _mark_as_changed(self):
1830 """Inform the instance that `self.key` has been changed"""
1831 if self.instance:
1832 self.instance._mark_as_changed(self.key)
1833
1834
1835class FileField(BaseField):

Callers 7

new_fileMethod · 0.95
putMethod · 0.95
deleteMethod · 0.95
__set__Method · 0.45
__get__Method · 0.45
save_bookFunction · 0.45
save_companyFunction · 0.45

Calls

no outgoing calls

Tested by 2

save_bookFunction · 0.36
save_companyFunction · 0.36