Feature
- class canvasapi.feature.Feature(requester, attributes)
- Parameters:
requester (
canvasapi.requester.Requester) – The requester to pass HTTP requests through.attributes (dict) – The JSON object to build this object with.
FeatureFlag
- class canvasapi.feature.FeatureFlag(requester, attributes)
- Parameters:
requester (
canvasapi.requester.Requester) – The requester to pass HTTP requests through.attributes (dict) – The JSON object to build this object with.
- delete(feature, **kwargs)
Remove a feature flag for a given account, course or user.
- set_feature_flag(feature, **kwargs)
Set a feature flag for a given account, course or user.
- Calls:
PUT /api/v1/courses/:course_id/features/flags/:feature
- Parameters:
feature (
canvasapi.feature.Feature) – The feature object to set- Return type: