Searched full:typing_extensions (Results 1 – 25 of 45) sorted by relevance
12
| /external/python/typing/.github/workflows/ |
| D | package.yml | 26 # accidentally pick up typing_extensions as installed by a dependency 32 cd typing_extensions 34 export path_to_file=$(find dist -type f -name "typing_extensions-*.whl") 39 - name: Attempt to import typing_extensions 40 run: python -c "import typing_extensions; print(typing_extensions.__all__)" 57 # accidentally pick up typing_extensions as installed by a dependency 63 cd typing_extensions 65 export path_to_file=$(find dist -type f -name "typing_extensions-*.tar.gz") 70 - name: Attempt to import typing_extensions 71 run: python -c "import typing_extensions; print(typing_extensions.__all__)"
|
| D | ci.yml | 33 - name: Test typing_extensions 37 # accidentally pick up typing_extensions as installed by a dependency 38 cd typing_extensions/src 64 run: flake8 --config=.flake8-tests typing_extensions/src/test_typing_extensions.py
|
| /external/python/typing/ |
| D | CONTRIBUTING.md | 6 The `typing_extensions` module provides a way to access new features from the standard 8 `typing.TypeGuard`, but users of older versions of Python can use `typing_extensions` to 12 are encouraged to also implement the feature in `typing_extensions`. Because the runtime 16 `typing_extensions` may also include experimental features that are not yet part of the 21 `typing_extensions` supports Python versions 3.7 and up. 25 Starting with version 4.0.0, `typing_extensions` uses 33 - Update the version number in `typing_extensions/pyproject.toml` and in 34 `typing_extensions/CHANGELOG`. 44 - `cd typing_extensions`
|
| D | README.md | 24 - The `typing_extensions` module lives in the 25 [typing\_extensions](./typing_extensions) directory.
|
| D | .flake8 | 15 typing_extensions/src/test_typing_extensions.py,
|
| /external/python/typing/typing_extensions/ |
| D | README.rst | 12 The ``typing_extensions`` module serves two related purposes: 15 ``typing.TypeGuard`` is new in Python 3.10, but ``typing_extensions`` allows 20 New features may be added to ``typing_extensions`` as soon as they are specified 26 Starting with version 4.0.0, ``typing_extensions`` uses 30 on ``typing_extensions`` like this: ``typing_extensions >=x.y, <(x+1)``, 33 ``typing_extensions`` supports Python versions 3.7 and higher. In the future, 81 - ``get_origin`` (``typing_extensions`` provides this function only in Python 3.7+) 82 - ``get_args`` (``typing_extensions`` provides this function only in Python 3.7+) 115 ``typing_extensions`` provides a backport even on newer Python versions:
|
| D | CHANGELOG | 8 - Fix importing `typing_extensions` on Python 3.7.0 and 3.7.1. Original 13 - Runtime support for PEP 646, adding `typing_extensions.TypeVarTuple` 14 and `typing_extensions.Unpack`. 17 - Runtime support for PEP 675 and `typing_extensions.LiteralString`. 22 - Runtime support for PEP 681 and `typing_extensions.dataclass_transform`. 43 - Starting with version 4.0.0, typing_extensions uses Semantic Versioning. 50 - Runtime support for PEP 673 and `typing_extensions.Self`. Patch by 52 - Runtime support for PEP 655 and `typing_extensions.Required` and `NotRequired`.
|
| D | Android.bp | 19 name: "typing_extensions", 23 "src/typing_extensions.py", 25 pkg_path: "typing_extensions",
|
| D | __init__.py | 197 return 'typing_extensions.' + self._name 324 return 'typing_extensions.' + self._name 408 between collections, typing, and typing_extensions on older 632 @typing_extensions.runtime act as simple-minded runtime protocol that checks 988 @typing_extensions.runtime act as simple-minded runtime protocol that checks 1337 return (f"typing_extensions.Annotated[{typing._type_repr(self.__origin__)}, " 1632 return 'typing_extensions.' + self._name 1651 return 'typing_extensions.' + self._name 1670 return 'typing_extensions.TypeAlias' 1692 return 'typing_extensions.TypeAlias' [all …]
|
| D | pyproject.toml | 8 name = "typing_extensions" 13 urls.Home = "https://github.com/python/typing/blob/master/typing_extensions/README.rst"
|
| /external/python/typing/typing_extensions/src/ |
| D | test_typing_extensions.py | 20 import typing_extensions 21 from typing_extensions import NoReturn, ClassVar, Final, IntVar, Literal, Type, NewType, TypedDict,… 22 from typing_extensions import TypeAlias, ParamSpec, Concatenate, ParamSpecArgs, ParamSpecKwargs, Ty… 23 from typing_extensions import Awaitable, AsyncIterator, AsyncContextManager, Required, NotRequired 24 from typing_extensions import Protocol, runtime, runtime_checkable, Annotated, overload, final, is_… 25 from typing_extensions import TypeVarTuple, Unpack, dataclass_transform, reveal_type, Never, assert… 26 from typing_extensions import assert_type, get_type_hints, get_origin, get_args 107 self.assertEqual(repr(NoReturn), 'typing_extensions.NoReturn') 136 self.assertEqual(repr(Never), 'typing_extensions.Never') 140 def some_str(arg: 'Never') -> 'typing_extensions.Never': ... [all …]
|
| D | typing_extensions.py | 156 return 'typing_extensions.' + self._name 228 return 'typing_extensions.' + self._name 363 @typing_extensions.runtime act as simple-minded runtime protocol that checks 844 return (f"typing_extensions.Annotated[{typing._type_repr(self.__origin__)}, " 993 return 'typing_extensions.' + self._name 1012 return 'typing_extensions.' + self._name 1169 if def_mod != 'typing_extensions': 1268 return 'typing_extensions.' + self._name 1293 return 'typing_extensions.' + self._name 1346 return 'typing_extensions.' + self._name [all …]
|
| /external/tensorflow/third_party/ |
| D | typing_extensions.BUILD | 3 # https://github.com/python/typing/blob/master/typing_extensions/README.rst 8 name = "typing_extensions", 9 srcs = ["typing_extensions.py"],
|
| /external/mbedtls/scripts/mbedtls_dev/ |
| D | typing_util.py | 21 # The typing_extensions module is necessary for type annotations that are 26 # with, typing_extensions), and if not define substitutes that lack the 29 from typing_extensions import Protocol #pylint: disable=import-error
|
| /external/openthread/third_party/mbedtls/repo/scripts/mbedtls_dev/ |
| D | typing_util.py | 21 # The typing_extensions module is necessary for type annotations that are 26 # with, typing_extensions), and if not define substitutes that lack the 29 from typing_extensions import Protocol #pylint: disable=import-error
|
| /external/tensorflow/third_party/systemlibs/ |
| D | typing_extensions.BUILD | 3 # https://github.com/python/typing/blob/master/typing_extensions/README.rst 8 name = "typing_extensions",
|
| /external/python/setuptools/setuptools/_vendor/ |
| D | typing_extensions.py | 136 return 'typing_extensions.' + self._name 253 return 'typing_extensions.' + self._name 337 between collections, typing, and typing_extensions on older 562 @typing_extensions.runtime act as simple-minded runtime protocol that checks 918 @typing_extensions.runtime act as simple-minded runtime protocol that checks 1155 return (f"typing_extensions.Annotated[{typing._type_repr(self.__origin__)}, " 1490 return 'typing_extensions.' + self._name 1509 return 'typing_extensions.' + self._name 1528 return 'typing_extensions.TypeAlias' 1550 return 'typing_extensions.TypeAlias' [all …]
|
| D | vendored.txt | 10 typing_extensions==4.0.1
|
| /external/tensorflow/tensorflow/python/framework/ |
| D | composite_tensor_gradient.py | 29 from typing_extensions import Protocol 30 from typing_extensions import runtime_checkable
|
| /external/python/setuptools/tools/ |
| D | vendored.py | 75 text = file.read_text().replace('typing_extensions', '..typing_extensions')
|
| /external/python/typing/docs/source/ |
| D | unreachable.rst | 57 from typing_extensions import Never 85 and is also present in ``typing_extensions`` starting at version 4.1.
|
| /external/python/mobly/mobly/ |
| D | Android.bp | 29 "typing_extensions",
|
| /external/tensorflow/tensorflow/python/types/ |
| D | trace.py | 30 from typing_extensions import Protocol 31 from typing_extensions import runtime_checkable
|
| /external/python/pyee/ |
| D | Android.bp | 37 "typing_extensions",
|
| /external/tensorflow/tensorflow/ |
| D | workspace2.bzl | 391 build_file = "//third_party:typing_extensions.BUILD", 393 strip_prefix = "typing_extensions-4.2.0/src", 394 system_build_file = "//third_party/systemlibs:typing_extensions.BUILD", 395 … tf_mirror_urls("https://pypi.python.org/packages/source/t/typing_extensions/typing_extensions-4.2… 402 …tf_mirror_urls("https://raw.githubusercontent.com/python/typing/master/typing_extensions/LICENSE"),
|
12