LicensingContextType#
- class ansys.dpf.core.server_context.LicensingContextType(*args, **kwds)#
Bases:
enum.EnumEnum representing different types of licensing contexts.
Overview#
Determine if two licensing contexts are compatible. |
Return the integer values of the licensing context. |
Import detail#
from ansys.dpf.core.server_context import LicensingContextType
Attribute detail#
Checks if at least one license increment exists and allows operators to block an increment.
- LicensingContextType.entry = 4#
Checks if at least one license increment exists and does not allow operators to block an increment.
Method detail#
- LicensingContextType.__int__()#
Return the integer values of the licensing context.
- Returns:
Integer values corresponding to the licensing context.
- Return type:
int
- static LicensingContextType.same_licensing_context(first, second)#
Determine if two licensing contexts are compatible.
- Parameters:
first (LicensingContextType) – The first licensing context to compare.
second (LicensingContextType) – The second licensing context to compare.
- Returns:
True if the licensing contexts are compatible, False otherwise.
- Return type:
bool