added recommendation

This commit is contained in:
Jakub Trllo 2022-10-17 15:26:38 +02:00
parent 2ed383c476
commit 3f01d008c5
2 changed files with 6 additions and 0 deletions

View file

@ -1322,6 +1322,9 @@ class CreateContext:
def set_collection_shared_data(self, key, value):
"""Store a value under collection shared data.
It is highly recommended to use very specific keys as creators may
clash each other if simple keys are used.
Args:
key (str): Key under which will shared data be stored.
value (Any): Value to store.

View file

@ -352,6 +352,9 @@ class BaseCreator:
def set_collection_shared_data(self, key, value):
"""Store a value under collection shared data.
It is highly recommended to use very specific keys as creators may
clash each other if simple keys are used.
Args:
key (str): Key under which will shared data be stored.
value (Any): Value to store.