event_routing_backends.processors.xapi package#
Subpackages#
- event_routing_backends.processors.xapi.event_transformers package
- Submodules
- event_routing_backends.processors.xapi.event_transformers.completion_events module
- event_routing_backends.processors.xapi.event_transformers.enrollment_events module
- event_routing_backends.processors.xapi.event_transformers.exam_events module
- event_routing_backends.processors.xapi.event_transformers.forum_events module
- event_routing_backends.processors.xapi.event_transformers.grading_events module
- event_routing_backends.processors.xapi.event_transformers.navigation_events module
- event_routing_backends.processors.xapi.event_transformers.problem_interaction_events module
- event_routing_backends.processors.xapi.event_transformers.video_events module
- Module contents
- event_routing_backends.processors.xapi.tests package
- Submodules
- event_routing_backends.processors.xapi.tests.test_transformers module
- event_routing_backends.processors.xapi.tests.test_xapi module
TestXApiProcessorTestXApiProcessor.setUp()TestXApiProcessor.test_send_method_with_event_list_successfull_flow()TestXApiProcessor.test_send_method_with_invalid_object()TestXApiProcessor.test_send_method_with_no_transformer_implemented()TestXApiProcessor.test_send_method_with_successfull_flow()TestXApiProcessor.test_send_method_with_successfull_flow_no_logger()TestXApiProcessor.test_send_method_with_unknown_exception()TestXApiProcessor.test_skip_event_when_disabled()TestXApiProcessor.test_with_no_registry()
- event_routing_backends.processors.xapi.tests.test_xapi_event_transformers module
- Module contents
Submodules#
event_routing_backends.processors.xapi.constants module#
Constants for xAPI specifications.
event_routing_backends.processors.xapi.registry module#
Registry to keep track of xAPI event transformers
- class event_routing_backends.processors.xapi.registry.XApiTransformersRegistry#
Bases:
TransformerRegistryRegistry to keep track of xAPI event transformers
- mapping = {}#
event_routing_backends.processors.xapi.statements module#
xAPI statement classes
- class event_routing_backends.processors.xapi.statements.GroupActivity(*args, **kwargs)#
Bases:
ActivitySubclass of tincan.Activity which reports object_type=”GroupActivity”
For use with Activites that contain one or more child Activities, like Problems that contain multiple Questions.
- property object_type#
Object type for Activity. Will always be “Activity”
- Setter:
Tries to convert to unicode
- Setter type:
unicode
- Return type:
unicode
event_routing_backends.processors.xapi.transformer module#
event_routing_backends.processors.xapi.transformer_processor module#
xAPI processor for transforming and routing events.
- class event_routing_backends.processors.xapi.transformer_processor.XApiProcessor#
Bases:
BaseTransformerProcessorMixinxAPI Processor for transforming and routing events.
This processor first transform the event using the registered transformer and then route the events through the configured routers.
Every router configured to be used MUST support the transformed event type.
- registry#
alias of
XApiTransformersRegistry
Module contents#
xAPI processors and spec implementation.