mirror of
https://github.com/clearml/clearml-server
synced 2025-01-31 10:56:48 +00:00
Fix tasks.clone schema
Reintroduce email field uniqueness
This commit is contained in:
parent
b97a6084ce
commit
30909df73f
@ -72,5 +72,5 @@ class User(DbModelMixin, AuthDocument):
|
||||
credentials = EmbeddedDocumentListField(Credentials, default=list)
|
||||
""" Credentials generated for this user """
|
||||
|
||||
email = EmailField()
|
||||
email = EmailField(unique=True)
|
||||
""" Email uniquely identifying the user """
|
||||
|
@ -792,8 +792,14 @@ clone {
|
||||
description: "In case the new_project_name was specified returns the target project details"
|
||||
type: object
|
||||
properties {
|
||||
id: "The ID of the target project"
|
||||
name: "The name of the target project"
|
||||
id {
|
||||
description: "The ID of the target project"
|
||||
type: string
|
||||
}
|
||||
name {
|
||||
description: "The name of the target project"
|
||||
type: string
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user