schrodinger.application.steps.licensing module¶
- class schrodinger.application.steps.licensing.LicenseMixin[source]¶
Bases:
objectA mixin to ensure that a step uses a
LICENSE_KEYlicense.To be mixed in with a
stepper.ReduceStep. Subclasses need to defineNO_LICENSE_MSGandLICENSE_KEY.If no licenses are available when the step is executed an
EXCEPTIONwill be raised.- LICENSE_KEY = None¶
- NO_LICENSE_MSG = None¶
- NO_MORE_LICENSES = 'No license tokens available.'¶
- EXCEPTION¶
alias of
RuntimeError
- validateSettings()[source]¶
In addition to the regular settings validation check for the license validity.
- Returns
a list of validation issues
- Return type
List[stepper.ValidationIssue]