mirror of https://github.com/Textualize/rich.git
Must put JustifyMethod in quotes
This commit is contained in:
parent
fdac216130
commit
05596c09bf
|
@ -387,7 +387,7 @@ class Table(JupyterMixin):
|
||||||
render_options = options.update(width=table_width)
|
render_options = options.update(width=table_width)
|
||||||
|
|
||||||
def render_annotation(
|
def render_annotation(
|
||||||
text: TextType, style: StyleType, justify: JustifyMethod = "center"
|
text: TextType, style: StyleType, justify: "JustifyMethod" = "center"
|
||||||
) -> "RenderResult":
|
) -> "RenderResult":
|
||||||
render_text = (
|
render_text = (
|
||||||
console.render_str(text, style=style) if isinstance(text, str) else text
|
console.render_str(text, style=style) if isinstance(text, str) else text
|
||||||
|
|
Loading…
Reference in New Issue