aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-01-08 14:34:22 -0800
committerBryan Newbold <bnewbold@robocracy.org>2019-01-08 14:34:22 -0800
commitfc74ae5843d78fd072fbdce483db4608577a4794 (patch)
treee24e94b6a101582a0e083f761755a2e6801bd5dc
parent13ab15af83a355b89aa3fdc032ad9bfca71cf350 (diff)
downloadfatcat-fc74ae5843d78fd072fbdce483db4608577a4794.tar.gz
fatcat-fc74ae5843d78fd072fbdce483db4608577a4794.zip
entity_to_json -> entity_to_dict
-rw-r--r--python/fatcat_tools/__init__.py2
-rw-r--r--python/fatcat_tools/transforms.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/python/fatcat_tools/__init__.py b/python/fatcat_tools/__init__.py
index 06e59c14..e2b1e3a2 100644
--- a/python/fatcat_tools/__init__.py
+++ b/python/fatcat_tools/__init__.py
@@ -1,4 +1,4 @@
from .api_auth import authenticated_api, public_api
from .fcid import fcid2uuid, uuid2fcid
-from .transforms import entity_to_json, entity_from_json, release_to_elasticsearch
+from .transforms import entity_to_dict, entity_from_json, release_to_elasticsearch
diff --git a/python/fatcat_tools/transforms.py b/python/fatcat_tools/transforms.py
index 843c00a5..0f957f9a 100644
--- a/python/fatcat_tools/transforms.py
+++ b/python/fatcat_tools/transforms.py
@@ -2,7 +2,7 @@
import collections
from fatcat_client import ReleaseEntity, ApiClient
-def entity_to_json(entity):
+def entity_to_dict(entity):
"""
Hack to take advantage of the code-generated serialization code
"""