Skip to content

Commit e41a7e5

Browse files
Update reference_resolver.py to use objects from Python typing library
This is failing with python 3.7 (Colab) there are a few tutorials that install tensorflow_docs for the video embedding. PiperOrigin-RevId: 472816339
1 parent dba9cc3 commit e41a7e5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tools/tensorflow_docs/api_generator/reference_resolver.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
# ==============================================================================
1515
"""Turn Python docstrings into Markdown for TensorFlow documentation."""
1616

17+
from __future__ import annotations
18+
1719
import collections
1820
import contextlib
1921
import html

0 commit comments

Comments
 (0)