Set default task active duration to None

Move endpoints to new API version
Support tasks.move and models.move for moving tasks and models into projects
Support new project name in tasks.clone
Improve task active duration migration
This commit is contained in:
allegroai
2021-01-05 18:05:44 +02:00
parent 8b0afd47a6
commit bca3a6e556
15 changed files with 351 additions and 48 deletions

View File

@@ -67,3 +67,9 @@ class IdResponse(models.Base):
class MakePublicRequest(models.Base):
ids = ListField(items_types=str, validators=[Length(minimum_value=1)])
class MoveRequest(models.Base):
ids = ListField([str], validators=Length(minimum_value=1))
project = fields.StringField()
project_name = fields.StringField()