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)
|
||||
|
||||
def render_annotation(
|
||||
text: TextType, style: StyleType, justify: JustifyMethod = "center"
|
||||
text: TextType, style: StyleType, justify: "JustifyMethod" = "center"
|
||||
) -> "RenderResult":
|
||||
render_text = (
|
||||
console.render_str(text, style=style) if isinstance(text, str) else text
|
||||
|
|
Loading…
Reference in New Issue