Unverified Commit 3ba31d74 authored by Jin Hyuk Chang's avatar Jin Hyuk Chang Committed by GitHub

Patch to fix backward incompatible issue on table metadata (#195)

* Backward compatible patch

* Increment version

* Update
parent 50357566
...@@ -9,6 +9,10 @@ from databuilder.models.neo4j_csv_serde import ( ...@@ -9,6 +9,10 @@ from databuilder.models.neo4j_csv_serde import (
from databuilder.publisher.neo4j_csv_publisher import UNQUOTED_SUFFIX from databuilder.publisher.neo4j_csv_publisher import UNQUOTED_SUFFIX
DESCRIPTION_NODE_LABEL_VAL = 'Description'
DESCRIPTION_NODE_LABEL = DESCRIPTION_NODE_LABEL_VAL
class TagMetadata(Neo4jCsvSerializable): class TagMetadata(Neo4jCsvSerializable):
TAG_NODE_LABEL = 'Tag' TAG_NODE_LABEL = 'Tag'
TAG_KEY_FORMAT = '{tag}' TAG_KEY_FORMAT = '{tag}'
...@@ -58,7 +62,7 @@ class TagMetadata(Neo4jCsvSerializable): ...@@ -58,7 +62,7 @@ class TagMetadata(Neo4jCsvSerializable):
class DescriptionMetadata: class DescriptionMetadata:
DESCRIPTION_NODE_LABEL = 'Description' DESCRIPTION_NODE_LABEL = DESCRIPTION_NODE_LABEL_VAL
PROGRAMMATIC_DESCRIPTION_NODE_LABEL = 'Programmatic_Description' PROGRAMMATIC_DESCRIPTION_NODE_LABEL = 'Programmatic_Description'
DESCRIPTION_KEY_FORMAT = '{description}' DESCRIPTION_KEY_FORMAT = '{description}'
DESCRIPTION_TEXT = 'description' DESCRIPTION_TEXT = 'description'
......
...@@ -2,7 +2,7 @@ import os ...@@ -2,7 +2,7 @@ import os
from setuptools import setup, find_packages from setuptools import setup, find_packages
__version__ = '1.6.1' __version__ = '1.6.2'
requirements_path = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'requirements.txt') requirements_path = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'requirements.txt')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment