sifter.logsifter.logcondensers.models¶
Graph of models in the sifter.logsifter.logcondensers app and related apps.
-
class
sifter.logsifter.logcondensers.models.LogCondenser(*args, **kwargs)[source]¶ Bases:
sifter.condensers.models.Condenser-
exception
DoesNotExist¶
-
exception
MultipleObjectsReturned¶
-
bottle¶ 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.parentis aForwardManyToOneDescriptorinstance.
-
fittings¶ 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.childrenis aReverseManyToOneDescriptorinstance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()defined below.
-
id¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
logmunger_set¶ 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.childrenis aReverseManyToOneDescriptorinstance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()defined below.
-
objects= <cyphon.models.GetByNameManager object>¶
-
exception
-
class
sifter.logsifter.logcondensers.models.LogFitting(*args, **kwargs)[source]¶ Bases:
sifter.condensers.models.Fitting-
CONDENSER= <Q: (AND: ('model', 'logcondenser'), ('app_label', 'logcondensers'))>¶
-
CONTENT_TYPES= <Q: (OR: (AND: ('model', 'logparser'), ('app_label', 'logcondensers')), (AND: ('model', 'logcondenser'), ('app_label', 'logcondensers')))>¶
-
exception
DoesNotExist¶
-
exception
MultipleObjectsReturned¶
-
PARSER= <Q: (AND: ('model', 'logparser'), ('app_label', 'logcondensers'))>¶
-
condenser¶ 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.parentis aForwardManyToOneDescriptorinstance.
-
condenser_id¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
content_type¶ 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.parentis aForwardManyToOneDescriptorinstance.
-
content_type_id¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
field_parser¶ Provide a generic many-to-one relation through the
content_typeandobject_idfields.This class also doubles as an accessor to the related object (similar to ForwardManyToOneDescriptor) by adding itself as a model attribute.
-
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>¶
-
target_field¶ 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.parentis aForwardManyToOneDescriptorinstance.
-
-
class
sifter.logsifter.logcondensers.models.LogParser(*args, **kwargs)[source]¶ Bases:
parsers.models.StringParser-
exception
DoesNotExist¶
-
exception
MultipleObjectsReturned¶
-
get_method_display(**morekwargs)¶
-
id¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
objects= <cyphon.models.GetByNameManager object>¶
-
exception