mirrors: record deprecation reason

This commit is contained in:
Iain Learmonth 2022-05-01 16:23:45 +01:00
parent cacb35a671
commit 18e046dc42
9 changed files with 96 additions and 26 deletions

View file

@ -13,7 +13,7 @@ class Group(AbstractConfiguration):
alarms = db.relationship("Alarm", back_populates="group")
@classmethod
def csv_header(self):
def csv_header(cls):
return super().csv_header() + [
"group_name", "eotk"
]
@ -40,7 +40,7 @@ class MirrorList(AbstractConfiguration):
return f"s3://{self.container}/{self.filename}"
@classmethod
def csv_header(self):
def csv_header(cls):
return super().csv_header() + [
"provider", "format", "container", "branch", "filename"
]