PY-75199 Use Python 2 compatible syntax for type annotation

GitOrigin-RevId: 553f5de3a62712ad62481c6d8857babd6f4bdbb6
This commit is contained in:
Pavel Karateev
2024-08-22 15:44:07 +02:00
committed by intellij-monorepo-bot
parent 864f1ecd2c
commit 486280249b

View File

@@ -26,7 +26,9 @@ def init_plotly_render():
from plotly.io._renderers import renderers
class DisplayDataObject:
def __init__(self, html_string: str, image_string: str):
def __init__(self, html_string, image_string):
# type: (str, str) -> None
self.html_string = html_string
self.image_string = image_string