File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
infrahub_sdk/pytest_plugin/items Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 7
7
import ujson
8
8
from httpx import HTTPStatusError
9
9
10
+ from ...node import InfrahubNode
10
11
from ..exceptions import OutputMatchError , PythonTransformDefinitionError
11
12
from ..models import InfrahubTestExpectedResult
12
13
from .base import InfrahubItem
@@ -41,7 +42,7 @@ def instantiate_transform(self) -> None:
41
42
)
42
43
client = self .session .infrahub_client # type: ignore[attr-defined]
43
44
# TODO: Look into seeing how a transform class may use the branch, but set as a empty string for the time being to keep current behaviour
44
- self .transform_instance = transform_class (branch = "" , client = client )
45
+ self .transform_instance = transform_class (branch = "" , client = client , infrahub_node = InfrahubNode )
45
46
46
47
def run_transform (self , variables : dict [str , Any ]) -> Any :
47
48
self .instantiate_transform ()
You can’t perform that action at this time.
0 commit comments