autowisp.browser_interface.diagnostics.models module
Class Inheritance Diagram

Models for user-defined diagnostic expressions.
- class autowisp.browser_interface.diagnostics.models.DiagnosticExpression(*args, **kwargs)[source]
Bases:
BuiModelBase
A named expression over the per-image diagnostics.
Expressions share a flat name space with the
DiagnosticTypenames of whichever project is open, and withjd, so that one can be selected for either axis exactly like a recorded diagnostic. They live here, in the browser-interface database, rather than in a project database: an expression is a way of looking at data rather than data itself, and is worth having available in every project.A consequence of that reach is that an expression may name diagnostics the open project has never recorded. That is not an error – it is simply not offered there – so nothing here constrains the names used; resolving them is the business of
expression_data.- exception DoesNotExist
Bases:
ObjectDoesNotExist
- exception MultipleObjectsReturned
Bases:
MultipleObjectsReturned
- exception NotUpdated
Bases:
ObjectNotUpdated,DatabaseError
- created
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- description
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- expression
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- get_next_by_created(*, field=<django.db.models.fields.DateTimeField: created>, is_next=True, **kwargs)
- get_next_by_modified(*, field=<django.db.models.fields.DateTimeField: modified>, is_next=True, **kwargs)
- get_previous_by_created(*, field=<django.db.models.fields.DateTimeField: created>, is_next=False, **kwargs)
- get_previous_by_modified(*, field=<django.db.models.fields.DateTimeField: modified>, is_next=False, **kwargs)
- id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- modified
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>