@@ -537,10 +537,18 @@ def response_handler(resp: Response) -> Json:
537537def 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+ 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
550+ warn (m ,DeprecationWarning ,stacklevel = 2 )
551+
544552request = Request (method = "put" ,endpoint = f"/_api/collection/{ self .name } /load" )
545553
546554def response_handler (resp :Response )-> bool :
@@ -553,10 +561,18 @@ def response_handler(resp: Response) -> bool:
553561def unload (self )-> Result [bool ]:
554562"""Unload the collection from memory.
555563
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+
556569 :return: True if collection was unloaded successfully.
557570 :rtype: bool
558571 :raise arango.exceptions.CollectionUnloadError: If operation fails.
559572 """
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+
560576request = Request (method = "put" ,endpoint = f"/_api/collection/{ self .name } /unload" )
561577
562578def response_handler (resp :Response )-> bool :