Import Color from the file it is now defined
This commit is contained in:
parent
a6efd28124
commit
40aed9e23a
@ -4,8 +4,8 @@ from dataclasses import asdict
|
|||||||
from itertools import groupby
|
from itertools import groupby
|
||||||
from typing import Any, Dict, List, Optional, Tuple, Union
|
from typing import Any, Dict, List, Optional, Tuple, Union
|
||||||
|
|
||||||
from wireviz.DataClasses import AdditionalComponent, Cable, Color, Connector
|
from wireviz.DataClasses import AdditionalComponent, Cable, Connector
|
||||||
from wireviz.wv_colors import translate_color
|
from wireviz.wv_colors import Color, translate_color
|
||||||
from wireviz.wv_gv_html import html_bgcolor_attr, html_line_breaks
|
from wireviz.wv_gv_html import html_bgcolor_attr, html_line_breaks
|
||||||
from wireviz.wv_helper import clean_whitespace
|
from wireviz.wv_helper import clean_whitespace
|
||||||
|
|
||||||
|
|||||||
@ -3,8 +3,7 @@
|
|||||||
from typing import List, Optional, Union
|
from typing import List, Optional, Union
|
||||||
import re
|
import re
|
||||||
|
|
||||||
from wireviz.DataClasses import Color
|
from wireviz.wv_colors import Color, translate_color
|
||||||
from wireviz.wv_colors import translate_color
|
|
||||||
from wireviz.wv_helper import remove_links
|
from wireviz.wv_helper import remove_links
|
||||||
|
|
||||||
def nested_html_table(rows: List[Union[str, List[Optional[str]], None]], table_attrs: str = '') -> str:
|
def nested_html_table(rows: List[Union[str, List[Optional[str]], None]], table_attrs: str = '') -> str:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user