Skip to content

Commit

Permalink
Merge pull request #228 from oceanprotocol/defect/remove-local-schema…
Browse files Browse the repository at this point in the history
…-validation

defect/remove-local-schema-validation
  • Loading branch information
ssallam authored Jan 29, 2020
2 parents 5a0ecb8 + 541465f commit 9d09d25
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 1.0.5
current_version = 1.0.6
commit = True
tag = True

Expand Down
2 changes: 1 addition & 1 deletion aquarius/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
# SPDX-License-Identifier: Apache-2.0

__author__ = """OceanProtocol"""
__version__ = '1.0.5'
__version__ = '1.0.6'
8 changes: 0 additions & 8 deletions aquarius/app/assets.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,11 +245,6 @@ def register():
if status:
return msg, status

if not is_valid_dict_local(_get_metadata(data['service'])['attributes']):
errors = _list_errors(list_errors_dict_local,
_get_metadata(data['service'])['attributes'])
logger.error(errors)

_record = dict()
_record = copy.deepcopy(data)
_record['created'] = format_timestamp(data['created'])
Expand Down Expand Up @@ -506,9 +501,6 @@ def get_asset_ddos():
200:
description: successful action
"""
args = []
query = dict()
args.append(query)
assets_with_id = dao.get_all_listed_assets()
assets_metadata = {a['id']: a for a in assets_with_id}
for i in assets_metadata:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,6 @@
test_suite='tests',
tests_require=test_requirements,
url='https://github.com/oceanprotocol/aquarius',
version='1.0.5',
version='1.0.6',
zip_safe=False,
)

0 comments on commit 9d09d25

Please sign in to comment.