From 58a389c04a1cf5237ce2ccae057bd3aef6a98810 Mon Sep 17 00:00:00 2001 From: Nikola Vasiljevic <35523348+nikokaoja@users.noreply.github.com> Date: Thu, 7 Dec 2023 15:45:44 +0100 Subject: [PATCH] Added note and link to docs ref property collision (#1541) Added note to ViewApply implements docstring regarding order of elements in the implements list regarding priority on how property collision is handled. --- cognite/client/data_classes/data_modeling/views.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/cognite/client/data_classes/data_modeling/views.py b/cognite/client/data_classes/data_modeling/views.py index 4ecab2c20d..b43b5158f5 100644 --- a/cognite/client/data_classes/data_modeling/views.py +++ b/cognite/client/data_classes/data_modeling/views.py @@ -87,6 +87,14 @@ class ViewApply(ViewCore): filter (Filter | None): A filter Domain Specific Language (DSL) used to create advanced filter queries. implements (list[ViewId] | None): References to the views from where this view will inherit properties and edges. properties (dict[str, ViewPropertyApply] | None): No description. + + .. note:: + The order of elements (i.e., `ViewId`) in :code:`implements` matters, as it indicates priority on how to handle + collisions of same properties from different views. + See docs on + `implemented property conflicts `_ + for more details. + """ def __init__(