From fdf5f1ba748a8ee73d6b9fb3d92fa0912cd08b6b Mon Sep 17 00:00:00 2001 From: Aymeric Galan Date: Tue, 18 Jun 2024 14:35:43 +0200 Subject: [PATCH] Add coolest version in json template --- coolest/template/standard.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/coolest/template/standard.py b/coolest/template/standard.py index 76b2e13..c2fc0ff 100644 --- a/coolest/template/standard.py +++ b/coolest/template/standard.py @@ -1,6 +1,7 @@ __author__ = 'aymgal' +import coolest from coolest.template.classes.base import APIBaseObject from coolest.template.classes.observation import Observation from coolest.template.classes.instrument import Instrument @@ -111,6 +112,7 @@ def __init__(self, if metadata is None: metadata = {} self.meta = metadata + self.meta['coolest.__version__'] = coolest.__version__ @property def exclude_keys(self):