MCPcopy Create free account
hub / github.com/pyfa-org/Pyfa / modifiedCoalesce

Method modifiedCoalesce

eos/saveddata/fit.py:250–255  ·  view source on GitHub ↗

This is a property that should get whichever date is available for the fit. @todo: migrate old timestamp data and ensure created / modified are set in database to get rid of this

(self)

Source from the content-addressed store, hash-verified

248
249 @property
250 def modifiedCoalesce(self):
251 """
252 This is a property that should get whichever date is available for the fit. @todo: migrate old timestamp data
253 and ensure created / modified are set in database to get rid of this
254 """
255 return self.modified or self.created or datetime.datetime.fromtimestamp(self.timestamp)
256
257 @property
258 def character(self):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected