Skip to content

Commit 7c57a03

Browse files
author
Timon Viola
committed
chore: fix pre-commit
1 parent 31934cc commit 7c57a03

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

src/dagcellent/operators/mlflow/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
Model registration, search, artifact loading, and deployment
99
Execution of GitHub projects within notebook & against a remote target.
1010
"""
11+
1112
from __future__ import annotations
1213

1314
from dagcellent.operators.mlflow._operators import (
@@ -16,10 +17,9 @@
1617
GetModelVersionByNameAndStage,
1718
SetModelVersionTag,
1819
)
19-
2020
from dagcellent.operators.mlflow._utils import (
21-
SlimModelVersion,
2221
MlflowModelStage,
22+
SlimModelVersion,
2323
)
2424

2525
__all__ = [

src/dagcellent/operators/mlflow/_operators.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ class GetModelVersionByNameAndStage(BaseOperator):
7575
```python
7676
# Get prod model run id
7777
from dagcellent.operators.mlflow import (
78-
GetModelVersionByNameAndStage,
79-
MlflowModelStage,
78+
GetModelVersionByNameAndStage,
79+
MlflowModelStage,
8080
)
8181
8282
get_prod_run_id = GetModelVersionByNameAndStage(

tests/test_mlflow.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@
55

66
def test_import():
77
from dagcellent.operators.mlflow import GetModelMetaData
8+
89
assert GetModelMetaData is not None

0 commit comments

Comments
 (0)