-
Notifications
You must be signed in to change notification settings - Fork 199
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove unused source address on some monitoring messages (#3666)
This was an extra protocol complication, the source address was never used beyond immediate logging, and the source address sometimes didn't exist with a few different filler values used instead. ## Type of change - Code maintenance/cleanup
- Loading branch information
1 parent
d0a5f11
commit 20faa35
Showing
5 changed files
with
15 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,11 @@ | ||
from typing import Any, Dict, Tuple, Union | ||
from typing import Any, Dict, Tuple | ||
|
||
from typing_extensions import TypeAlias | ||
|
||
from parsl.monitoring.message_type import MessageType | ||
|
||
# A basic parsl monitoring message is wrapped by up to two wrappers: | ||
# The basic monitoring message dictionary can first be tagged, giving | ||
# a TaggedMonitoringMessage, and then that can be further tagged with | ||
# an often unused sender address, giving an AddressedMonitoringMessage. | ||
# A MonitoringMessage dictionary can be tagged, giving a | ||
# TaggedMonitoringMessage. | ||
|
||
MonitoringMessage: TypeAlias = Dict[str, Any] | ||
TaggedMonitoringMessage: TypeAlias = Tuple[MessageType, MonitoringMessage] | ||
AddressedMonitoringMessage: TypeAlias = Tuple[TaggedMonitoringMessage, Union[str, int]] |