Skip to content

Commit

Permalink
fix(rich): Move import into scoped block (#193)
Browse files Browse the repository at this point in the history
  • Loading branch information
eddiebergman authored Dec 6, 2023
1 parent 8862429 commit adf8d0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/amltk/pipeline/node.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@
from typing_extensions import override

from more_itertools import first_true
from rich.text import Text
from sklearn.pipeline import Pipeline as SklearnPipeline

from amltk._functional import classname, mapping_select, prefix_keys
Expand Down Expand Up @@ -714,6 +713,7 @@ def display(self, *, full: bool = False) -> RenderableType:
def __rich__(self) -> Panel:
from rich.console import Group as RichGroup
from rich.panel import Panel
from rich.text import Text

clr = self.RICH_OPTIONS.panel_color
title = Text.assemble(
Expand Down

0 comments on commit adf8d0b

Please sign in to comment.