From 1230d1edcf09fa825985c204b115241141332a91 Mon Sep 17 00:00:00 2001 From: Brian Potchik Date: Thu, 9 Feb 2023 13:13:34 -0500 Subject: Update documentation to warn about creating databases in the context of analysis callbacks. --- python/filemetadata.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'python/filemetadata.py') diff --git a/python/filemetadata.py b/python/filemetadata.py index 2eab669a..5f59bcc7 100644 --- a/python/filemetadata.py +++ b/python/filemetadata.py @@ -426,6 +426,9 @@ class FileMetadata: :param SaveSettings settings: optional argument for special save options. :return: true on success, false on failure :rtype: bool + + .. warning:: The calling thread must not hold a lock on the BinaryView instance as this action is run on the main thread which requires the lock. + :Example: >>> settings = SaveSettings() >>> bv.file.create_database(f"{bv.file.filename}.bndb", None, settings) -- cgit v1.3.1