Skip to content
Snippets Groups Projects
Verified Commit a2ac0e15 authored by Daniel Hornung's avatar Daniel Hornung
Browse files

DOC: Small rewording to make the documentation easier to understand.

parent 73d2ad79
No related branches found
No related tags found
2 merge requests!107ENH: add entity getters and cached functions,!100ENH: add entity getters and cached functions
Pipeline #35543 passed
......@@ -51,6 +51,8 @@ have entities on hand from previous queries that you want to add.
# If you now use IDs that were in items, they are taken from the cache.
e1 = cached_get_entity_by(eid=10001)
For the cached entity getter functions (``cached_get_entity_by``) you need to set ``unique=True``.
When filling the cache with Entity objects for ``cached_get_entity_by``, you need to set
``unique=True``, whereas the cache for ``cached_query`` should be filled with Container object and
``unique=False``.
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