Skip to content
Snippets Groups Projects
Commit 843019b9 authored by Eterevskiy Georgiy's avatar Eterevskiy Georgiy
Browse files

Merge branch 'feature/AUTO-1518_view-collections' into 'master'

added check of view collections

See merge request !47
parents 8e7c7411 291966bd
No related branches found
No related tags found
1 merge request!47added check of view collections
Pipeline #34995 passed with stage
in 33 seconds
...@@ -6,6 +6,7 @@ import typing ...@@ -6,6 +6,7 @@ import typing
from deepdiff import DeepDiff from deepdiff import DeepDiff
from google.protobuf.json_format import MessageToDict
from perxis.collections import collections_pb2_grpc, collections_pb2 from perxis.collections import collections_pb2_grpc, collections_pb2
from perxis.roles import roles_pb2_grpc, roles_pb2 from perxis.roles import roles_pb2_grpc, roles_pb2
from perxis.common import common_pb2 from perxis.common import common_pb2
...@@ -339,6 +340,10 @@ class ExtensionSetup: ...@@ -339,6 +340,10 @@ class ExtensionSetup:
continue continue
# если view-коллекция то не устанавливаем схему
if MessageToDict(collection).get("view"):
continue
diff = DeepDiff( diff = DeepDiff(
json.loads(collection.schema or "{}"), json.loads(collection.schema or "{}"),
json.loads(local_collection.schema or "{}"), json.loads(local_collection.schema or "{}"),
......
...@@ -14,7 +14,7 @@ def load_requirements(): ...@@ -14,7 +14,7 @@ def load_requirements():
setup( setup(
name='perxis', name='perxis',
version='1.0.0', version='1.0.1',
description='Perxis python client', description='Perxis python client',
long_description=long_description, long_description=long_description,
long_description_content_type='text/markdown', long_description_content_type='text/markdown',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment