Skip to main content

GetMessageAfterGracePeriod

No overview available.

def GetMessageAfterGracePeriod(
message: string,
gracePeriod: time.Duration
) - > string

Formats a message to indicate that a specified grace period has been exceeded. This function is used to create a standardized string that includes both the duration of the grace period and the original message.

Parameters​

NameTypeDescription
messagestringThe original message to be included in the formatted output.
gracePeriodtime.DurationThe duration of the grace period that was exceeded, which will be included in the formatted output.

Returns​

TypeDescription
stringA formatted string indicating the grace period exceeded, in the format "Grace period [duration] exceeded|message".