Skip to content

Commit

Permalink
move managers (#1328)
Browse files Browse the repository at this point in the history
* move managers

* rename

* fix lint

* managers di

* lint

* base dependant

* oopsie

* oopsie

* fix dep

* merge

* fix list users

* merge

* merge

* fix path params

* merge

* remove get_project_with_team
  • Loading branch information
mike0sv authored Dec 9, 2024
1 parent ae547a1 commit 4309517
Show file tree
Hide file tree
Showing 22 changed files with 790 additions and 705 deletions.
3 changes: 3 additions & 0 deletions src/evidently/_pydantic_compat.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
from pydantic.v1 import PrivateAttr
from pydantic.v1 import SecretStr
from pydantic.v1 import ValidationError
from pydantic.v1 import create_model
from pydantic.v1 import parse_obj_as
from pydantic.v1 import validator
from pydantic.v1.fields import SHAPE_DICT
Expand All @@ -37,6 +38,7 @@
from pydantic import PrivateAttr
from pydantic import SecretStr # type: ignore[assignment]
from pydantic import ValidationError # type: ignore[assignment]
from pydantic import create_model # type: ignore[attr-defined,no-redef]
from pydantic import parse_obj_as
from pydantic import validator
from pydantic.fields import SHAPE_DICT # type: ignore[attr-defined,no-redef]
Expand Down Expand Up @@ -77,4 +79,5 @@
"DictStrAny",
"PrivateAttr",
"Extra",
"create_model",
]
2 changes: 1 addition & 1 deletion src/evidently/ui/api/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
from evidently.ui.base import EntityType
from evidently.ui.base import Org
from evidently.ui.base import Project
from evidently.ui.base import Role
from evidently.ui.base import SnapshotMetadata
from evidently.ui.base import Team
from evidently.ui.base import User
from evidently.ui.managers.auth import Role
from evidently.ui.type_aliases import ZERO_UUID
from evidently.ui.type_aliases import OrgID
from evidently.ui.type_aliases import RoleID
Expand Down
Loading

0 comments on commit 4309517

Please sign in to comment.