commit | 8171596e590e2542d9efdb0488fa8016f85c86c0 | [log] [tgz] |
---|---|---|
author | Tristan van Berkom <tristan@codethink.co.uk> | Fri Dec 11 18:58:26 2020 +0900 |
committer | Tristan van Berkom <tristan@codethink.co.uk> | Fri Jan 22 14:13:22 2021 +0900 |
tree | cbd700c35050339ab21d9a6fbf875139bf8c0da0 | |
parent | e8de0d591c8707b9be901258685350b8ffad637a [diff] |
element.py: Added internal API _mimic_artifact() This function causes the element to mimic it's artifact instance, and is initially used when instantiating from an artifact. This needs to be exposed so that ArtifactElement can trigger this activity in response to _pull_done(). Additionally, this adds the declaration of __environment and __variables to the __init__ function, as I received some complaints from pylint and mypy from this commit.