Skip to content

Commit d648646

Browse files
authored
fix: another slack schema error (#728)
# Motivation <!-- Why is this change necessary? --> # Content <!-- Please include a summary of the change --> # Testing <!-- How was the change tested? --> # Please check the following before marking your PR as ready for review - [ ] I have added tests for my changes - [ ] I have updated the documentation or added new documentation as needed
1 parent 9c453a6 commit d648646

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/codegen/extensions/slack/types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class RichTextElement(BaseModel):
1515
class RichTextSection(BaseModel):
1616
type: Literal["rich_text_section", "rich_text_list", "rich_text_quote", "rich_text_preformatted", "text", "channel", "user", "emoji", "link"]
1717
elements: list[RichTextElement]
18-
style: dict | None = None
18+
style: dict | str | None = None # Can be either a dict for rich text styling or a string for list styles (e.g. "bullet")
1919

2020

2121
class Block(BaseModel):

0 commit comments

Comments
 (0)