| |
- builtins.tuple(builtins.object)
-
- DependencyTask
class DependencyTask(builtins.tuple) |
|
DependencyTask(root: pathlib.Path, project_root: pathlib.Path, include: pathlib.Path, static: pathlib.Path, build_commands: List[List[str]], source_dirs: Set[pathlib.Path], compile_flags: List[str], link_flags: List[str], dep: yambs.dependency.config.Dependency, current: yambs.dependency.state.DependencyState, data: Dict[str, Any], nested: Set[yambs.dependency.config.Dependency])
A container for dependency handler invocation data. |
|
- Method resolution order:
- DependencyTask
- builtins.tuple
- builtins.object
Methods defined here:
- __getnewargs__(self)
- Return self as a plain tuple. Used by copy and pickle.
- __repr__(self)
- Return a nicely formatted representation string
- _asdict(self)
- Return a new dict which maps field names to their values.
- _replace(self, /, **kwds)
- Return a new DependencyTask object replacing specified fields with new values
Class methods defined here:
- _make(iterable) from builtins.type
- Make a new DependencyTask object from a sequence or iterable
Static methods defined here:
- __new__(_cls, root: pathlib.Path, project_root: pathlib.Path, include: pathlib.Path, static: pathlib.Path, build_commands: List[List[str]], source_dirs: Set[pathlib.Path], compile_flags: List[str], link_flags: List[str], dep: yambs.dependency.config.Dependency, current: yambs.dependency.state.DependencyState, data: Dict[str, Any], nested: Set[yambs.dependency.config.Dependency])
- Create new instance of DependencyTask(root, project_root, include, static, build_commands, source_dirs, compile_flags, link_flags, dep, current, data, nested)
Data descriptors defined here:
- root
- Alias for field number 0
- project_root
- Alias for field number 1
- include
- Alias for field number 2
- static
- Alias for field number 3
- build_commands
- Alias for field number 4
- source_dirs
- Alias for field number 5
- compile_flags
- Alias for field number 6
- link_flags
- Alias for field number 7
- dep
- Alias for field number 8
- current
- Alias for field number 9
- data
- Alias for field number 10
- nested
- Alias for field number 11
Data and other attributes defined here:
- __annotations__ = {'build_commands': typing.List[typing.List[str]], 'compile_flags': typing.List[str], 'current': <enum 'DependencyState'>, 'data': typing.Dict[str, typing.Any], 'dep': <class 'yambs.dependency.config.Dependency'>, 'include': <class 'pathlib.Path'>, 'link_flags': typing.List[str], 'nested': typing.Set[yambs.dependency.config.Dependency], 'project_root': <class 'pathlib.Path'>, 'root': <class 'pathlib.Path'>, ...}
- __match_args__ = ('root', 'project_root', 'include', 'static', 'build_commands', 'source_dirs', 'compile_flags', 'link_flags', 'dep', 'current', 'data', 'nested')
- __orig_bases__ = (<function NamedTuple>,)
- _field_defaults = {}
- _fields = ('root', 'project_root', 'include', 'static', 'build_commands', 'source_dirs', 'compile_flags', 'link_flags', 'dep', 'current', 'data', 'nested')
Methods inherited from builtins.tuple:
- __add__(self, value, /)
- Return self+value.
- __contains__(self, key, /)
- Return bool(key in self).
- __eq__(self, value, /)
- Return self==value.
- __ge__(self, value, /)
- Return self>=value.
- __getattribute__(self, name, /)
- Return getattr(self, name).
- __getitem__(self, key, /)
- Return self[key].
- __gt__(self, value, /)
- Return self>value.
- __hash__(self, /)
- Return hash(self).
- __iter__(self, /)
- Implement iter(self).
- __le__(self, value, /)
- Return self<=value.
- __len__(self, /)
- Return len(self).
- __lt__(self, value, /)
- Return self<value.
- __mul__(self, value, /)
- Return self*value.
- __ne__(self, value, /)
- Return self!=value.
- __rmul__(self, value, /)
- Return value*self.
- count(self, value, /)
- Return number of occurrences of value.
- index(self, value, start=0, stop=9223372036854775807, /)
- Return first index of value.
Raises ValueError if the value is not present.
Class methods inherited from builtins.tuple:
- __class_getitem__(...) from builtins.type
- See PEP 585
| |