File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -546,7 +546,6 @@ def load(self) -> Result[bool]:
546546 :rtype: bool
547547 :raise arango.exceptions.CollectionLoadError: If operation fails.
548548 """
549-
550549 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
551550 warn (m , DeprecationWarning , stacklevel = 2 )
552551
@@ -562,10 +561,18 @@ def response_handler(resp: Response) -> bool:
562561 def unload (self ) -> Result [bool ]:
563562 """Unload the collection from memory.
564563
564+ .. note::
565+ The unload function is deprecated from version 3.8.0 onwards and is a
566+ no-op from version 3.9.0 onwards. It should no longer be used, as it
567+ may be removed in a future version of ArangoDB.
568+
565569 :return: True if collection was unloaded successfully.
566570 :rtype: bool
567571 :raise arango.exceptions.CollectionUnloadError: If operation fails.
568572 """
573+ m = "The unload function is deprecated from version 3.8.0 onwards and is a no-op from version 3.9.0 onwards." # noqa: E501
574+ warn (m , DeprecationWarning , stacklevel = 2 )
575+
569576 request = Request (method = "put" , endpoint = f"/_api/collection/{ self .name } /unload" )
570577
571578 def response_handler (resp : Response ) -> bool :
You can’t perform that action at this time.
0 commit comments