From 763146f3bf67d62b2d2090156187d7a8c6a1c690 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Magalh=C3=A3es?= Date: Thu, 29 Aug 2024 19:35:16 +0100 Subject: [PATCH] chore: adds version to info dict elements Makes it possible to get to know version of the App via API. --- CHANGELOG.md | 2 +- src/appier/base.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bc95c33c..91be7f59 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,7 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added -* +* The `version` field to the `info_dict` ### Changed diff --git a/src/appier/base.py b/src/appier/base.py index 8b53c6af..27a876f4 100644 --- a/src/appier/base.py +++ b/src/appier/base.py @@ -780,6 +780,7 @@ def refresh(self): def info_dict(self): return dict( name=self.name, + version=self.version, instance=self.instance, service=self.service, type=self.type,