diff --git a/src/caosdb/common/models.py b/src/caosdb/common/models.py index 868f52dd43613b79e9736cadec84757513a9585c..7809b43d931927f159582b6c634bcac2f671868a 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 @@ -1847,14 +1842,11 @@ class File(Record): file : str or readable A local path or python file object. The file designated by this argument will be uploaded to the server via HTTP. - pickup : + pickup : str Deprecated. - thumbnail : + thumbnail : str Deprecated. - import_file : bool - Import the file (don't upload it, its already there). Default: `False` """ - def __init__(self, name=None, id=None, description=None, path=None, file=None, pickup=None, thumbnail=None):