set_license method
set_license
Apply a license to the current process.
def set_license(self, license_source):
...
| Parameter | Type | Description |
|---|---|---|
| license_source | Either a string path to a .lic file or a readable file-like object that yields the license bytes. File-like inputs are written to a temporary file before being passed to the bridge. |
| Raises | Description |
|---|---|
TypeError |
If license_source is neither a string path nor a readable file-like object. |
See Also
- class
License