Skip to content

Commit

Permalink
chore: fix pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
timonviola committed Jan 17, 2025
1 parent 31934cc commit 7c57a03
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/dagcellent/operators/mlflow/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
Model registration, search, artifact loading, and deployment
Execution of GitHub projects within notebook & against a remote target.
"""

from __future__ import annotations

from dagcellent.operators.mlflow._operators import (
Expand All @@ -16,10 +17,9 @@
GetModelVersionByNameAndStage,
SetModelVersionTag,
)

from dagcellent.operators.mlflow._utils import (
SlimModelVersion,
MlflowModelStage,
SlimModelVersion,
)

__all__ = [
Expand Down
4 changes: 2 additions & 2 deletions src/dagcellent/operators/mlflow/_operators.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ class GetModelVersionByNameAndStage(BaseOperator):
```python
# Get prod model run id
from dagcellent.operators.mlflow import (
GetModelVersionByNameAndStage,
MlflowModelStage,
GetModelVersionByNameAndStage,
MlflowModelStage,
)
get_prod_run_id = GetModelVersionByNameAndStage(
Expand Down
1 change: 1 addition & 0 deletions tests/test_mlflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@

def test_import():
from dagcellent.operators.mlflow import GetModelMetaData

assert GetModelMetaData is not None

0 comments on commit 7c57a03

Please sign in to comment.