Make kwargs explicit #170
Annotations
2 errors and 1 warning
/home/runner/work/oemof-network/oemof-network/src/oemof/network/network/entity.py#L57
return str(self) < str(other)
def __hash__(self):
return hash(self.label)
-
def __str__(self):
return str(self.label)
def __repr__(self):
return repr(
|
/home/runner/work/oemof-network/oemof-network/src/oemof/network/network/entity.py#L76
If this node was given a `label` on construction, this
attribute holds the actual object passed as a parameter. Otherwise
`node.label` is a synonym for `str(node)`.
"""
try:
- return (
- self._label
- if self._label is not None
- else self._id_label
- )
+ return self._label if self._label is not None else self._id_label
except AttributeError:
return hash(self._id_label)
@Property
def _id_label(self):
|
build (3.9)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-python@v2, actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
tox-gh-actions-dist
Expired
|
50.2 KB |
|