dsa_upload
Upload annotation to DSA
Upload json annotation file as a new annotation to the image in the DSA collection.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
dsa_endpoint_url |
string
|
DSA API endpoint e.g. http://localhost:8080/api/v1 |
'???'
|
annotation_file_urlpath |
string
|
URL/path to a DSA annotation json file |
''
|
annotation_file_list_urlpath |
string
|
URL/path to a DSA annotation json file |
''
|
collection_name |
string
|
name of the collection in DSA |
'???'
|
image_filename |
string
|
name of the image file in DSA e.g. 123.svs. If not specified, infer from annotiaton_file_urpath |
''
|
username |
string
|
DSA username (defaults to environment variable DSA_USERNAME) |
'${oc.env:DSA_USERNAME}'
|
password |
string
|
DSA password (defaults to environment variable DSA_PASSWORD) |
'${oc.env:DSA_PASSWORD}'
|
force |
bool
|
upload even if annotation with same name exists for the slide |
False
|
insecure |
bool
|
insecure ssl |
False
|
storage_options |
dict
|
options to pass to reading functions |
{}
|
local_config |
string
|
local config yaml url/path |
''
|
Returns:
Name | Type | Description |
---|---|---|
dict |
metadata |