From 6ee46aebe2cba8dca5102fd0df7f9276090b31f9 Mon Sep 17 00:00:00 2001 From: keryc Diaz Date: Thu, 18 Feb 2021 18:06:31 -0600 Subject: [PATCH] add uri in var --- agave/lib/mongoengine/model_helpers.py | 2 +- agave/version.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/agave/lib/mongoengine/model_helpers.py b/agave/lib/mongoengine/model_helpers.py index dac16892..68e6a0b5 100644 --- a/agave/lib/mongoengine/model_helpers.py +++ b/agave/lib/mongoengine/model_helpers.py @@ -116,7 +116,7 @@ def mongo_to_python_type(field, data, field_name: str = ''): 'CA': '/cards/', 'SP': '/service_providers/', } - return f'{mapper[data[:2]]}{data}' + return f'{mapper[data[:2]]}{data}_uri' else: rv = str(data) diff --git a/agave/version.py b/agave/version.py index b7392e81..369deab3 100644 --- a/agave/version.py +++ b/agave/version.py @@ -1 +1 @@ -__version__ = '0.1.2.dev1' +__version__ = '0.1.2.dev2'