Protect against multiple connects to the update server from different processes

Code cleanup
This commit is contained in:
allegroai
2022-02-13 20:12:12 +02:00
parent afdc56f37c
commit b9996e2c1a
6 changed files with 42 additions and 164 deletions

View File

@@ -226,12 +226,6 @@ create_credentials {
}
}
}
"999.0": ${create_credentials."2.1"} {
request.properties.label {
type: string
description: Optional credentials label
}
}
}
get_credentials {

View File

@@ -929,55 +929,6 @@ get_hyper_parameters {
}
}
}
get_model_metadata_keys {
"999.0" {
description: """Get a list of all metadata keys used in models within the given project."""
request {
type: object
required: [project]
properties {
project {
description: "Project ID"
type: string
}
include_subprojects {
description: "If set to 'true' and the project field is set then the result includes metadate keys from the subproject models"
type: boolean
default: true
}
page {
description: "Page number"
default: 0
type: integer
}
page_size {
description: "Page size"
default: 500
type: integer
}
}
}
response {
type: object
properties {
keys {
description: "A list of model keys"
type: array
items {type: string}
}
remaining {
description: "Remaining results"
type: integer
}
total {
description: "Total number of results"
type: integer
}
}
}
}
}
get_task_tags {
"2.8" {
description: "Get user and system tags used for the tasks under the specified projects"