mirror of
https://github.com/clearml/clearml-server
synced 2025-02-07 13:33:42 +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 = EmbeddedDocumentListField(Credentials, default=list)
|
||||||
""" Credentials generated for this user """
|
""" Credentials generated for this user """
|
||||||
|
|
||||||
email = EmailField()
|
email = EmailField(unique=True)
|
||||||
""" Email uniquely identifying the user """
|
""" Email uniquely identifying the user """
|
||||||
|
@ -792,8 +792,14 @@ clone {
|
|||||||
description: "In case the new_project_name was specified returns the target project details"
|
description: "In case the new_project_name was specified returns the target project details"
|
||||||
type: object
|
type: object
|
||||||
properties {
|
properties {
|
||||||
id: "The ID of the target project"
|
id {
|
||||||
name: "The name of the target project"
|
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