PyCapability
class PyCapability(capability)
Bases: object
The interface for a grantee’s capability.
- Parameters: capability (ICapability)
__init__(capability)
Creates a new PyCapability object.
Args: : capability: A ICapability object.
Returns: None.
- Parameters: capability (ICapability)
- Return type: None
Methods
__init__ (capability) |
Creates a new PyCapability object. |
---|
Attributes
mode |
The capability mode from PermissionsCapabilityModes. |
---|---|
name |
The capability name from PermissionsCapabilityNames. |
property mode : str
The capability mode from PermissionsCapabilityModes.
property name : str
The capability name from PermissionsCapabilityNames.