Home
last modified time | relevance | path

Searched refs:Callable (Results 1 – 14 of 14) sorted by relevance

/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/python3-slip-dbus/
H A D9b939c0b534c1b7958fa0a3c7aedf30bca910431.patch4 Subject: [PATCH] Python 3.10+ fix: Use collections.abc.Callable instead of
5 collections.Callable
35 - assert(func is None or isinstance(func, collections.Callable))
36 + assert(func is None or isinstance(func, collections.abc.Callable))
43 - isinstance(authfail_callback, collections.Callable))
44 + isinstance(authfail_callback, collections.abc.Callable))
65 - assert(isinstance(hook, collections.Callable))
66 + assert(isinstance(hook, collections.abc.Callable))
74 - assert isinstance(hook, collections.Callable)
75 + assert isinstance(hook, collections.abc.Callable)
/openbmc/openbmc/poky/meta/lib/oe/
H A Dmaketype.py15 from collections.abc import Callable
104 if not isinstance(obj, Callable):
/openbmc/qemu/python/qemu/qmp/
H A Devents.py436 Callable,
451 EventFilter = Callable[[Message], bool]
H A Dprotocol.py26 Callable,
51 _TaskFN = Callable[[], Awaitable[None]] # aka ``async def func() -> None``
117 F = TypeVar('F', bound=Callable[..., Any]) # pylint: disable=invalid-name
121 def require(required_state: Runstate) -> Callable[[F], F]:
/openbmc/openbmc/poky/bitbake/lib/bs4/builder/
H A D_lxml.py10 from collections.abc import Callable # Python 3.6
12 from collections import Callable
122 if isinstance(parser, Callable):
/openbmc/qemu/python/qemu/utils/
H A Dqemu_ga_client.py47 Callable,
65 def __getattr__(self, name: str) -> Callable[..., Any]:
/openbmc/qemu/tests/qemu-iotests/
H A Diotests.py34 from typing import (Any, Callable, Dict, Iterable, Iterator,
708 filters: Iterable[Callable[[Msg], Msg]] = (),
977 pre_finalize: Optional[Callable[[], None]] = None, argument
979 filters: Iterable[Callable[[Any], Any]] = (),
1562 -> Callable[[Callable[[QMPTestCase, List[Any], Dict[str, Any]], None]],
1563 Callable[[QMPTestCase, List[Any], Dict[str, Any]], None]]:
H A Dfat16.py18 from typing import Callable, List, Optional, Protocol, Set
215 sector_writer: Callable[[int, bytes], None]
/openbmc/openbmc/poky/bitbake/lib/bs4/
H A Delement.py5 from collections.abc import Callable # Python 3.6
7 from collections import Callable
226 if isinstance(formatter, Callable):
2206 if (isinstance(value, str) or isinstance(value, Callable) or hasattr(value, 'match')
2267 isinstance(self.name, Callable)
2356 if isinstance(match_against, Callable):
/openbmc/openbmc-build-scripts/scripts/
H A Dbuild-unit-test-docker36 from typing import Any, Callable, Dict, Iterable, Optional # noqa: F401
76 url: Callable[[str, str], str]
/openbmc/qemu/docs/sphinx/
H A Ddbusdoc.py15 Callable,
/openbmc/linux/tools/perf/pmu-events/
H A Djevents.py11 from typing import (Callable, Dict, Optional, Sequence, Set, Tuple)
1165 action: Callable[[Sequence[str], os.DirEntry], None]) -> None:
/openbmc/qemu/scripts/qapi/
H A Dschema.py27 Callable,
1183 what: Union[None, str, Callable[[QAPISourceInfo], str]],
/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/python3-click-spinner/
H A D0001-Update-Versioneer-to-0.22.patch55 +from typing import Callable, Dict
95 +HANDLERS: Dict[str, Dict[str, Callable]] = {}
1074 +from typing import Callable, Dict
1147 +HANDLERS: Dict[str, Dict[str, Callable]] = {}
1240 +from typing import Callable, Dict
1262 +HANDLERS: Dict[str, Dict[str, Callable]] = {}