schrodinger.application.steps.licensing module¶
- class schrodinger.application.steps.licensing.LicenseMixin[source]¶
Bases:
object
A mixin to ensure that a step uses a
LICENSE_KEY
license.To be mixed in with a
stepper.ReduceStep
. Subclasses need to defineLICENSE_KEY
.If no licenses are available when the step is executed an
EXCEPTION
will be raised.- LICENSE_KEY = None¶
- NO_MORE_LICENSES = 'No license tokens available.'¶
- EXCEPTION¶
alias of
RuntimeError