Home
last modified time | relevance | path

Searched refs:TypedDict (Results 1 – 25 of 326) sorted by relevance

12345678910>>...14

/dports/net-mgmt/py-napalm/napalm-3.3.1/napalm/base/test/
H A Dmodels.py2 from typing import TypedDict
6 configuration = TypedDict(
12 facts = TypedDict(
26 interface = TypedDict(
59 temperature = TypedDict(
71 peer = TypedDict(
85 af = TypedDict(
188 ntp_peer = TypedDict(
234 route = TypedDict(
251 snmp = TypedDict(
[all …]
/dports/devel/py-mypy/mypy-0.910/test-data/unit/
H A Dcheck-typeddict.test85 class Point(TypedDict):
140 MovieBase1 = TypedDict(
165 class Point1D(TypedDict, A): # E: All bases of a new TypedDict must be TypedDict types
209 class Bad(TypedDict):
220 D1 = TypedDict("D1", {
1138 class A(TypedDict):
1170 class A(TypedDict):
1190 Point = TypedDict('Point') # E: Too few arguments for TypedDict()
1383 class X(TypedDict):
1447 class M(TypedDict):
[all …]
H A Dsemanal-typeddict.test5 --from mypy_extensions import TypedDict
6 --Point = TypedDict('Point', x=int, y=int)
10 -- ImportFrom:1(mypy_extensions, [TypedDict])
17 --from mypy_extensions import TypedDict
18 --Point = TypedDict('Point', dict(x=int, y=int))
22 -- ImportFrom:1(mypy_extensions, [TypedDict])
28 from mypy_extensions import TypedDict
33 ImportFrom:1(mypy_extensions, [TypedDict])
39 from mypy_extensions import TypedDict
40 class A(TypedDict):
[all …]
H A Dcheck-narrowing.test33 class TypedDict1(TypedDict):
36 class TypedDict2(TypedDict):
333 class A(TypedDict):
335 class B(TypedDict):
337 class C(TypedDict):
340 class X(TypedDict):
342 class Y(TypedDict):
599 class Model1(TypedDict):
602 class Model2(TypedDict):
1043 class Foo(TypedDict):
[all …]
/dports/www/py-asgiref/asgiref-3.4.1/asgiref/
H A Dtyping.py60 class ASGIVersions(TypedDict):
65 class HTTPScope(TypedDict):
81 class WebSocketScope(TypedDict):
97 class LifespanScope(TypedDict):
106 class HTTPRequestEvent(TypedDict):
124 class HTTPServerPushEvent(TypedDict):
130 class HTTPDisconnectEvent(TypedDict):
138 class WebSocketAcceptEvent(TypedDict):
150 class WebSocketSendEvent(TypedDict):
173 class WebSocketCloseEvent(TypedDict):
[all …]
/dports/www/py-hypercorn/Hypercorn-0.12.0/src/hypercorn/
H A Dtyping.py27 class HTTPScope(TypedDict):
43 class WebsocketScope(TypedDict):
59 class LifespanScope(TypedDict):
68 class HTTPRequestEvent(TypedDict):
80 class HTTPResponseBodyEvent(TypedDict):
86 class HTTPServerPushEvent(TypedDict):
92 class HTTPDisconnectEvent(TypedDict):
100 class WebsocketAcceptEvent(TypedDict):
112 class WebsocketSendEvent(TypedDict):
135 class WebsocketCloseEvent(TypedDict):
[all …]
/dports/emulators/qemu-devel/qemu-de8ed1055c2ce18c95f597eb10df360dcb534f99/meson/mesonbuild/interpreter/
H A Dkwargs.py9 from typing_extensions import TypedDict, Literal
16 class FuncAddProjectArgs(TypedDict):
31 class BaseTest(TypedDict):
63 class ExtractRequired(TypedDict):
74 class ExtractSearchDirs(TypedDict):
84 class FuncGenerator(TypedDict):
95 class GeneratorProcess(TypedDict):
115 class FuncInstallSubdir(TypedDict):
124 class FuncInstallData(TypedDict):
132 class FuncInstallHeaders(TypedDict):
[all …]
/dports/devel/meson/meson-0.60.3/build/lib/mesonbuild/interpreter/
H A Dkwargs.py17 class FuncAddProjectArgs(TypedDict):
32 class BaseTest(TypedDict):
64 class ExtractRequired(TypedDict):
75 class ExtractSearchDirs(TypedDict):
85 class FuncGenerator(TypedDict):
96 class GeneratorProcess(TypedDict):
116 class FuncInstallSubdir(TypedDict):
125 class FuncInstallData(TypedDict):
140 class FuncInstallMan(TypedDict):
160 class RunTarget(TypedDict):
[all …]
/dports/devel/meson/stage/usr/local/lib/python3.8/site-packages/mesonbuild/interpreter/
H A Dkwargs.py17 class FuncAddProjectArgs(TypedDict):
32 class BaseTest(TypedDict):
64 class ExtractRequired(TypedDict):
75 class ExtractSearchDirs(TypedDict):
85 class FuncGenerator(TypedDict):
96 class GeneratorProcess(TypedDict):
116 class FuncInstallSubdir(TypedDict):
125 class FuncInstallData(TypedDict):
140 class FuncInstallMan(TypedDict):
160 class RunTarget(TypedDict):
[all …]
/dports/devel/meson/meson-0.60.3/mesonbuild/interpreter/
H A Dkwargs.py17 class FuncAddProjectArgs(TypedDict):
32 class BaseTest(TypedDict):
64 class ExtractRequired(TypedDict):
75 class ExtractSearchDirs(TypedDict):
85 class FuncGenerator(TypedDict):
96 class GeneratorProcess(TypedDict):
116 class FuncInstallSubdir(TypedDict):
125 class FuncInstallData(TypedDict):
140 class FuncInstallMan(TypedDict):
160 class RunTarget(TypedDict):
[all …]
/dports/emulators/qemu/qemu-6.2.0/meson/mesonbuild/interpreter/
H A Dkwargs.py9 from typing_extensions import TypedDict, Literal
17 class FuncAddProjectArgs(TypedDict):
32 class BaseTest(TypedDict):
64 class ExtractRequired(TypedDict):
75 class FuncGenerator(TypedDict):
86 class GeneratorProcess(TypedDict):
93 class DependencyMethodPartialDependency(TypedDict):
106 class FuncInstallSubdir(TypedDict):
115 class FuncInstallData(TypedDict):
123 class FuncInstallHeaders(TypedDict):
[all …]
/dports/devel/py-pydantic/pydantic-1.8.2/tests/
H A Dtest_typing.py9 from typing import TypedDict as typing_TypedDict
14 from typing_extensions import TypedDict as typing_extensions_TypedDict
20 from mypy_extensions import TypedDict as mypy_extensions_TypedDict
44 def test_is_typeddict_typing(TypedDict): argument
45 class Employee(TypedDict):
50 assert is_typeddict(TypedDict('Employee', {'name': str, 'id': int})) is True
H A Dtest_annotated_types.py12 from typing_extensions import TypedDict
18 from typing import TypedDict as LegacyTypedDict
127 class TD(TypedDict):
151 class FullMovie(TypedDict, total=True):
168 class PartialMovie(TypedDict, total=False):
180 class OptionalUser(TypedDict, total=False):
208 class User(TypedDict):
229 class DataTD(TypedDict):
/dports/net-im/py-matrix-synapse/synapse-1.50.2/synapse/push/
H A Dpush_types.py16 from typing_extensions import TypedDict
19 class EmailReason(TypedDict, total=False):
45 class MessageVars(TypedDict, total=False):
77 class NotifVars(TypedDict):
92 class RoomVars(TypedDict):
113 class TemplateVars(TypedDict, total=False):
/dports/devel/pytype/pytype-2021.9.9/pytype/typeshed/stubs/nmap/nmap/
H A Dnmap.pyi2 from typing_extensions import TypedDict
7 class _Result(TypedDict):
11 class _ResultNmap(TypedDict):
16 class _ResultNmapInfo(TypedDict, total=False):
21 class _ResultNampInfoProtocol(TypedDict):
25 class _ResultNampStats(TypedDict):
32 class _ResulHostUptime(TypedDict):
36 class _ResultHostNames(TypedDict):
40 class _ResultHostPort(TypedDict):
/dports/devel/py-gitpython/GitPython-3.1.24/git/
H A Dtypes.py11 …from typing import Final, Literal, SupportsIndex, TypedDict, Protocol, runtime_checkable # noqa: …
14 TypedDict, Protocol, runtime_checkable) # noqa: F401
73 class Files_TD(TypedDict):
79 class Total_TD(TypedDict):
86 class HSH_TD(TypedDict):
/dports/devel/pycharm-pro/pycharm-2020.2.3/plugins/python/helpers/typeshed/third_party/2and3/chardet/
H A D__init__.pyi9 from typing import TypedDict
11 from typing_extensions import TypedDict
13 class _LangModelType(TypedDict):
21 class _SMModelType(TypedDict):
/dports/devel/pytype/pytype-2021.9.9/pytype/typeshed/stubs/chardet/chardet/
H A D__init__.pyi9 from typing import TypedDict
11 from typing_extensions import TypedDict
13 class _LangModelType(TypedDict):
21 class _SMModelType(TypedDict):
/dports/devel/pylint/pylint-2.12.1/pylint/
H A Dtyping.py9 from typing import Literal, TypedDict
11 from typing_extensions import Literal, TypedDict
28 class ModuleDescriptionDict(TypedDict):
38 class ErrorDescriptionDict(TypedDict):
/dports/devel/py-libcst/libcst-0.3.23/libcst/metadata/
H A Dtype_inference_provider.py11 from mypy_extensions import TypedDict
19 class Position(TypedDict):
24 class Location(TypedDict):
30 class InferredType(TypedDict):
35 class PyreData(TypedDict, total=False):
113 class RawPyreData(TypedDict):
/dports/math/py-numpy/numpy-1.20.3/numpy/core/
H A D_ufunc_config.pyi5 from typing import Literal, Protocol, TypedDict
7 from typing_extensions import Literal, Protocol, TypedDict
15 class _ErrDict(TypedDict):
21 class _ErrDictOptional(TypedDict, total=False):
/dports/x11/kitty/kitty-0.23.1/kitty/fonts/
H A D__init__.py2 from typing import TypedDict
4 TypedDict = dict variable
7 class ListedFont(TypedDict):
/dports/devel/pylint/pylint-2.12.1/pylint/utils/
H A Dlinterstats.py8 from typing import Literal, TypedDict
10 from typing_extensions import Literal, TypedDict
13 class BadNames(TypedDict):
29 class CodeTypeCount(TypedDict):
39 class DuplicatedLines(TypedDict):
46 class NodeCount(TypedDict):
55 class UndocumentedNodes(TypedDict):
64 class ModuleStats(TypedDict):
/dports/x11/ulauncher/ulauncher/ulauncher/api/server/
H A DExtensionManifest.py9 from ulauncher.utils.mypy_extensions import TypedDict
16 OptionItemExtended = TypedDict('OptionItemExtended', {
22 Options = TypedDict('Options', {
25 ManifestPreferenceItem = TypedDict('ManifestPreferenceItem', {
33 ManifestJson = TypedDict('ManifestJson', {
/dports/devel/py-mypy/mypy-0.910/docs/source/
H A Dmore_types.rst877 TypedDict section in More types
917 ``TypedDict`` type, mypy will treat the assigned value as a ``TypedDict``,
952 ``TypedDict``\s and containers with ``TypedDict`` items.
954 (or structural subtyping) with ``TypedDict``\s. A ``TypedDict`` object with
961 added and removed, unlike ``TypedDict``. However, any ``TypedDict`` object is
1006 GuiOptions = TypedDict(
1027 ``TypedDict`` when a total one is expected. Also, a total ``TypedDict`` is not
1078 class Movie(TypedDict):
1091 class Movie(TypedDict):
1109 class MovieBase(TypedDict):
[all …]

12345678910>>...14