with_options method

with_options

Set load options.

def with_options(self, load_options):
    ...
Parameter Type Description
load_options LoadOptions Load options.

with_options

Provides load options for the document currently being loaded.

def with_options(self, load_options_provider):
    ...
Parameter Type Description
load_options_provider Func[LoadContext, LoadOptions] Load options provider. The provider receives the load options context.

See Also