forked from tensorflow/tensorflow
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add typing_extensions dependency. This is a very light dependency (ro…
…ughly two Python files) that is useful to unlock typing features present only in the latest Python versions. PiperOrigin-RevId: 327637134 Change-Id: Ifb4cd1314a6f8feee4f452a8256cff27c1acd590
- Loading branch information
1 parent
4b51c48
commit c725901
Showing
5 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Description: | ||
# Backports for the typing module to older Python versions. See | ||
# https://github.com/python/typing/blob/master/typing_extensions/README.rst | ||
|
||
licenses(["notice"]) # PSF | ||
|
||
exports_files(["LICENSE"]) | ||
|
||
py_library( | ||
name = "typing_extensions", | ||
srcs = ["src_py3/typing_extensions.py"], | ||
srcs_version = "PY2AND3", | ||
visibility = ["//visibility:public"], | ||
) |