__init__ constructor
Leave feedback
On this page
Initializes a new instance of the FileInfo.file_type class.
def __init__(self):
...
Initializes a new instance of the FileInfo.file_type class.
def __init__(self, file_type):
...
| Parameter | Type | Description |
|---|---|---|
| file_type | FileType |
The type of the file. |
| Raises | Description |
|---|---|
ValueError |
If file_type is None. |
- class
FileInfo
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.