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

Method format

mongoengine/fields.py:2011–2018  ·  view source on GitHub ↗

return format of image ex: PNG, JPEG, GIF, etc

(self)

Source from the content-addressed store, hash-verified

2009
2010 @property
2011 def format(self):
2012 """
2013 return format of image
2014 ex: PNG, JPEG, GIF, etc
2015 """
2016 out = self.get()
2017 if out:
2018 return out.format
2019
2020 @property
2021 def thumbnail(self):

Callers 8

connectFunction · 0.80
validateMethod · 0.80
validateMethod · 0.80
_geo_operatorFunction · 0.80
_from_sonMethod · 0.80
_lookup_fieldMethod · 0.80

Calls 1

getMethod · 0.45

Tested by

no test coverage detected