src.runtime package¶
Subpackages¶
Submodules¶
src.runtime.apps module¶
src.runtime.models module¶
-
class
src.runtime.models.
DemoReplayer
(id, running)¶ Bases:
src.common.models.CommonModel
-
exception
DoesNotExist
¶ Bases:
django.core.exceptions.ObjectDoesNotExist
-
exception
MultipleObjectsReturned
¶ Bases:
django.core.exceptions.MultipleObjectsReturned
-
id
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
objects
= <django.db.models.manager.Manager object>¶
-
running
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
to_dict
()¶
-
exception
-
class
src.runtime.models.
XEvent
(id, config, xid, trace)¶ Bases:
src.common.models.CommonModel
-
exception
DoesNotExist
¶ Bases:
django.core.exceptions.ObjectDoesNotExist
-
exception
MultipleObjectsReturned
¶ Bases:
django.core.exceptions.MultipleObjectsReturned
-
config
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
id
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
objects
= <django.db.models.manager.Manager object>¶
-
to_dict
()¶
-
trace
¶ Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parent
is aForwardManyToOneDescriptor
instance.
-
trace_id
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
xid
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
exception
-
class
src.runtime.models.
XLog
(id, config, real_log)¶ Bases:
src.common.models.CommonModel
-
exception
DoesNotExist
¶ Bases:
django.core.exceptions.ObjectDoesNotExist
-
exception
MultipleObjectsReturned
¶ Bases:
django.core.exceptions.MultipleObjectsReturned
-
config
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
id
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
objects
= <django.db.models.manager.Manager object>¶
-
real_log
¶ Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parent
is aForwardManyToOneDescriptor
instance.
-
real_log_id
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
to_dict
()¶
-
xlog
¶ Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
-
exception
-
class
src.runtime.models.
XTrace
(id, config, name, xlog, completed, first_event, last_event, n_events, error, real_log, reg_results, class_results, reg_actual, duration, class_actual, reg_model, class_model)¶ Bases:
src.common.models.CommonModel
-
exception
DoesNotExist
¶ Bases:
django.core.exceptions.ObjectDoesNotExist
-
exception
MultipleObjectsReturned
¶ Bases:
django.core.exceptions.MultipleObjectsReturned
-
class_actual
¶ A placeholder class that provides a way to set the attribute on the model.
-
class_model
¶ Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parent
is aForwardManyToOneDescriptor
instance.
-
class_model_id
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
class_results
¶ A placeholder class that provides a way to set the attribute on the model.
-
completed
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
config
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
duration
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
error
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
first_event
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
id
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
last_event
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
n_events
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
name
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
objects
= <django.db.models.manager.Manager object>¶
-
real_log
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
reg_actual
¶ A placeholder class that provides a way to set the attribute on the model.
-
reg_model
¶ Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parent
is aForwardManyToOneDescriptor
instance.
-
reg_model_id
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
reg_results
¶ A placeholder class that provides a way to set the attribute on the model.
-
to_dict
()¶
-
xlog
¶ Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parent
is aForwardManyToOneDescriptor
instance.
-
xlog_id
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
xtrace
¶ Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
-
exception
src.runtime.replay_core module¶
src.runtime.replayer module¶
src.runtime.serializers module¶
-
class
src.runtime.serializers.
TraceSerializer
(instance=None, data=<class 'rest_framework.fields.empty'>, **kwargs)¶ Bases:
rest_framework.serializers.ModelSerializer
-
class
Meta
¶ Bases:
object
-
fields
= ('id', 'name', 'completed', 'real_log', 'first_event', 'last_event', 'n_events', 'reg_results', 'class_results', 'reg_actual', 'class_actual', 'duration', 'error')¶
-
model
¶ alias of
src.runtime.models.XTrace
-
-
class