File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -537,10 +537,19 @@ def response_handler(resp: Response) -> Json:
537537 def load (self ) -> Result [bool ]:
538538 """Load the collection into memory.
539539
540+ .. note::
541+ The load function is deprecated from version 3.8.0 onwards and is a
542+ no-op from version 3.9.0 onwards. It should no longer be used, as it
543+ may be removed in a future version of ArangoDB.
544+
540545 :return: True if collection was loaded successfully.
541546 :rtype: bool
542547 :raise arango.exceptions.CollectionLoadError: If operation fails.
543548 """
549+
550+ m = "The load function is deprecated from version 3.8.0 onwards and is a no-op from version 3.9.0 onwards." # noqa: E501
551+ warn (m , DeprecationWarning , stacklevel = 2 )
552+
544553 request = Request (method = "put" , endpoint = f"/_api/collection/{ self .name } /load" )
545554
546555 def response_handler (resp : Response ) -> bool :
You can’t perform that action at this time.
0 commit comments