From 223e44814a6c98c54c41a525173b4c6591a94623 Mon Sep 17 00:00:00 2001 From: Timm Fitschen <t.fitschen@indiscale.com> Date: Sun, 27 Nov 2022 00:04:17 +0100 Subject: [PATCH] DOC: update docs, remove reference to InsertFilesInDir --- src/caosdb/common/models.py | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/src/caosdb/common/models.py b/src/caosdb/common/models.py index 0c196f9c..155726dd 100644 --- a/src/caosdb/common/models.py +++ b/src/caosdb/common/models.py @@ -1827,11 +1827,6 @@ class File(Record): `path` gives the new location. `file` specifies the (local) file which is to be uploaded. It is mandatory for insertions, but optionally for updates. - Symlinking from the "extroot" file system is not supported by this API yet, - it can be done manually using the `InsertFilesInDir` flag. For sample code, - look at `test_files.py` in the Python integration tests of the - `load_files.py` script in the advanced user tools. - Parameters ---------- name : str @@ -1848,12 +1843,10 @@ class File(Record): A local path or python file object. The file designated by this argument will be uploaded to the server via HTTP. pickup : str - A file/folder in the DropOffBox (the server will move that file into - its "caosroot" file system). (DEPRECATED, use import feature) - import_file : bool - Import the file (don't upload it, its already there). Default: `False` + deprecated. + thumbnail : str + deprecated. """ - def __init__(self, name=None, id=None, description=None, path=None, file=None, pickup=None, thumbnail=None): -- GitLab