with_options method
Leave feedback
On this page
Sets conversion options for the conversion process.
def with_options(self, convert_options):
...
| Parameter | Type | Description |
|---|---|---|
| convert_options | ConvertOptions |
Conversion options. |
Returns: Handler setup interface to continue conversion building.
Sets conversion options using a provider function.
def with_options(self, options_provider):
...
| Parameter | Type | Description |
|---|---|---|
| options_provider | Func[ConvertContext, ConvertOptions] |
A function that provides conversion options based on the conversion context. |
Returns: Handler setup interface to continue conversion building.
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.