Skip to content

Commit

Permalink
Remove dispatch_action_config from FileInput
Browse files Browse the repository at this point in the history
Updated Readme
  • Loading branch information
cleavenworth committed Feb 28, 2024
1 parent ef22df7 commit bfeaa90
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ Here's the list of types of components and corresponding classes:
| rich_text_preformatted | RichTextPreformatted |
| rich_text_quote | RichTextQuote |
| rich_text_section | RichTextSection |
| file_input | FileInput |

### Composition objects

Expand Down
3 changes: 0 additions & 3 deletions blockkit/elements.py
Original file line number Diff line number Diff line change
Expand Up @@ -724,22 +724,19 @@ class FileInput(FocusableElement):
type: str = "file_input"
filetypes: Optional[List[str]] = Field(None)
maxfiles: Optional[int] = Field(None)
# dispatch_action_config: Optional[DispatchActionConfig] = None

def __init__(
self,
*,
action_id: Optional[str] = None,
filetypes: Optional[List[str]] = None,
maxfiles: Optional[int] = None,
# dispatch_action_config: Optional[DispatchActionConfig] = None,
focus_on_load: Optional[bool] = None,
):
super().__init__(
action_id=action_id,
filetypes=filetypes,
maxfiles=maxfiles,
# dispatch_action_config=dispatch_action_config,
focus_on_load=focus_on_load,
)

Expand Down

0 comments on commit bfeaa90

Please sign in to comment.