I have a method that has the default argument set to "None". (it can be string as well) > @allure.step( > "Send message: '{message}' on {channel} with props: '{props}'") > def send_message( > self, > channel: str, > message: str, > username: str = None, > props: Dict = None) -> None: > ... Calling this method without the `props` parameter: > self.bot.send_message( > channel=self.DZIUNIA['mm_channel_id'], > message=letter) causes a Python exception: > E KeyError: 'props'