Skip to content

Commit

Permalink
[#3810] remove records from datastore_create response
Browse files Browse the repository at this point in the history
  • Loading branch information
wardi committed Sep 11, 2017
1 parent 15db64b commit d9aa5f9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ckanext/datastore/logic/action.py
Expand Up @@ -76,7 +76,7 @@ def datastore_create(context, data_dict):
**Results:**
:returns: The newly created data object.
:returns: The newly created data object, excluding ``records`` passed.
:rtype: dictionary
See :ref:`fields` and :ref:`records` for details on how to lay out records.
Expand Down Expand Up @@ -168,6 +168,7 @@ def datastore_create(context, data_dict):
result.pop('id', None)
result.pop('private', None)
result.pop('connection_url', None)
result.pop('records', None)
return result


Expand Down

0 comments on commit d9aa5f9

Please sign in to comment.