metawards.utils.accepts_stage
- metawards.utils.accepts_stage(func: Callable[[...], None]) bool [source]
Return whether the passed function accepts the “stage” argument, meaning that it can do different things for different day stages
- Parameters
func (function) – The function to be queries
- Returns
result – Whether or not the function accepts the “stage” argument
- Return type
bool