# 83 Publication rework EMA
* adds is_ready_for_publish implementation for EMA
This commit is contained in:
@@ -109,6 +109,16 @@ class Ema(AbstractCompensation, ShareableObjectMixin, RecordableObjectMixin):
|
||||
self.set_geometry_conflict_message(request)
|
||||
return request
|
||||
|
||||
def is_ready_for_publish(self) -> bool:
|
||||
""" Checks whether the data passes all constraints for being publishable
|
||||
|
||||
Returns:
|
||||
is_ready (bool) : True|False
|
||||
"""
|
||||
is_recorded = self.recorded is not None
|
||||
is_ready = is_recorded
|
||||
return is_ready
|
||||
|
||||
|
||||
class EmaDocument(AbstractDocument):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user