feat(flake): add function to get input names
This commit is contained in:
@@ -598,6 +598,9 @@ class Flake:
|
|||||||
assert isinstance(self._is_local, bool)
|
assert isinstance(self._is_local, bool)
|
||||||
return self._is_local
|
return self._is_local
|
||||||
|
|
||||||
|
def get_input_names(self) -> list[str]:
|
||||||
|
return self.select("inputs", apply="builtins.attrNames")
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def path(self) -> Path:
|
def path(self) -> Path:
|
||||||
if self._path is None:
|
if self._path is None:
|
||||||
|
|||||||
Reference in New Issue
Block a user