submissions.models.plagiarism module¶
-
class
submissions.models.plagiarism.
iThenticateReport
(*args, **kwargs)[source]¶ Bases:
scipost.behaviors.TimeStampedModel
iThenticate plagiarism report for a Submission.
-
uploaded_time
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
processed_time
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
doc_id
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
part_id
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
percent_match
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
status
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
get_report_url
()[source]¶ Request and return new read-only url from the iThenticate API.
Note: The read-only link is valid for only 15 minutes, saving may be worthless.
-
property
score
¶ Return the iThenticate score returned by their API as saved in the database.
-
exception
DoesNotExist
¶ Bases:
django.core.exceptions.ObjectDoesNotExist
-
exception
MultipleObjectsReturned
¶ Bases:
django.core.exceptions.MultipleObjectsReturned
-
get_next_by_created
(*, field=<django.db.models.fields.DateTimeField: created>, is_next=True, **kwargs)¶
-
get_next_by_latest_activity
(*, field=<scipost.db.fields.AutoDateTimeField: latest_activity>, is_next=True, **kwargs)¶
-
get_previous_by_created
(*, field=<django.db.models.fields.DateTimeField: created>, is_next=False, **kwargs)¶
-
get_previous_by_latest_activity
(*, field=<scipost.db.fields.AutoDateTimeField: latest_activity>, is_next=False, **kwargs)¶
-
get_status_display
(*, field=<django.db.models.fields.CharField: status>)¶
-
objects
= <django.db.models.manager.Manager object>¶
-
to_submission
¶ Accessor to the related object on the reverse side of a one-to-one relation.
In the example:
class Restaurant(Model): place = OneToOneField(Place, related_name='restaurant')
Place.restaurant
is aReverseOneToOneDescriptor
instance.
-