inputs: remove info.name proxy property
This helper property is misleading since it is not the name of the input in the context of the manifest, but actually "type". Name is a left-over from the nomenclature of format v1, where the type of stages and inputs was called `name`.
This commit is contained in:
parent
463e67d61c
commit
8c1a0a2eeb
1 changed files with 1 additions and 5 deletions
|
|
@ -46,16 +46,12 @@ class Input:
|
|||
|
||||
def calc_id(self):
|
||||
m = hashlib.sha256()
|
||||
m.update(json.dumps(self.name, sort_keys=True).encode())
|
||||
m.update(json.dumps(self.info.name, sort_keys=True).encode())
|
||||
m.update(json.dumps(self.origin, sort_keys=True).encode())
|
||||
m.update(json.dumps(self.refs, sort_keys=True).encode())
|
||||
m.update(json.dumps(self.options, sort_keys=True).encode())
|
||||
return m.hexdigest()
|
||||
|
||||
@property
|
||||
def name(self) -> str:
|
||||
return self.info.name
|
||||
|
||||
def run(self, storeapi: StoreServer) -> Tuple[str, Dict]:
|
||||
name = self.info.name
|
||||
msg = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue