diff --git a/src/caosdb/common/models.py b/src/caosdb/common/models.py index 0c196f9cf064804500df90b40654c801e8f8d658..155726dd2c650c2ecd98459be038076cd02ec44e 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):