File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 11from datetime import date
2- from typing import Any
2+ from typing import Any , Sequence
33
44from pydantic import Field
55from pydantic .types import Optional
@@ -77,9 +77,9 @@ class SavedCollection(CollectionBase):
7777 experiment_urns : list [str ]
7878 score_set_urns : list [str ]
7979
80- admins : list [SavedUser ]
81- viewers : list [SavedUser ]
82- editors : list [SavedUser ]
80+ admins : Sequence [SavedUser ]
81+ viewers : Sequence [SavedUser ]
82+ editors : Sequence [SavedUser ]
8383
8484 creation_date : date
8585 modification_date : date
@@ -97,9 +97,9 @@ class Collection(SavedCollection):
9797 created_by : Optional [User ]
9898 modified_by : Optional [User ]
9999
100- admins : list [User ]
101- viewers : list [User ]
102- editors : list [User ]
100+ admins : Sequence [User ]
101+ viewers : Sequence [User ]
102+ editors : Sequence [User ]
103103
104104
105105# Properties to return to admin clients or non-admin clients who are admins of the returned collection
You can’t perform that action at this time.
0 commit comments