dondaum commented on code in PR #58603:
URL: https://github.com/apache/airflow/pull/58603#discussion_r2653965284


##########
providers/discord/src/airflow/providers/discord/notifications/discord.py:
##########
@@ -39,18 +43,21 @@ class DiscordNotifier(BaseNotifier):
     :param username: The username to send the message as. Optional
     :param avatar_url: The URL of the avatar to use for the message. Optional
     :param tts: Text to speech.
+    :param embed: Discord embed object. See:
+           
https://discord.com/developers/docs/resources/message#embed-object-embed-author-structure
     """
 
     # A property that specifies the attributes that can be templated.
-    template_fields = ("discord_conn_id", "text", "username", "avatar_url", 
"tts")
+    template_fields = ("discord_conn_id", "text", "username", "avatar_url", 
"tts", "embed")

Review Comment:
   Yes it can. At runtime a TypedDict behaves the same as standard dicts.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to