Skip to content

Commit

Permalink
fix: pass attribute aether for AetherBridgeComponent (#35534)
Browse files Browse the repository at this point in the history
  • Loading branch information
elliotzh authored May 9, 2024
1 parent 3a2c666 commit 7e70f4b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ def __init__(
ae365exepool: Optional[Dict] = None,
launcher: Optional[Dict] = None,
datatransfer: Optional[Dict] = None,
aether: Optional[Dict] = None,
**kwargs,
):
_type, self._type_label = parse_name_label(type)
Expand Down Expand Up @@ -141,6 +142,7 @@ def __init__(
self.ae365exepool = ae365exepool
self.launcher = launcher
self.datatransfer = datatransfer
self.aether = aether

@classmethod
def _build_io(cls, io_dict: Union[Dict, Input, Output], is_input: bool):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -989,6 +989,7 @@ def test_load_from_internal_aether_bridge_component(self):
"mock_param1": {"type": "AnyFile", "optional": False},
"mock_param2": {"type": "AnyFile", "optional": False},
},
"aether": {"module_type": "ScrapingCloud", "ref_id": "mock_ref_id"},
"outputs": {"job_info": {"type": "AnyFile"}},
"type": "AetherBridgeComponent",
"command": "mock.exe {inputs.mock_param1} {inputs.mock_param2} {outputs.job_info}",
Expand Down

0 comments on commit 7e70f4b

Please sign in to comment.