supports_extension method
Leave feedback
On this page
Checks if a given file extension can be handled as DocumentType.
def supports_extension(self, file_extension):
...
| Parameter | Type | Description |
|---|---|---|
| file_extension | str |
File extension, format is “.ext”. |
Returns: bool: True if the extension is listed in ExtensionFilter.
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.