set_license method

set_license

Licenses the component.

def set_license(self, license_stream):
    ...
Parameter Type Description
license_stream io.RawIOBase The license stream.

Example

The following example demonstrates how to set a license passing Stream of the license file.

set_license

Licenses the component.

def set_license(self, license_path):
    ...
Parameter Type Description
license_path str The license path.

Example

The following example demonstrates how to set a license passing a path to the license file.

See Also