|
OpenQuizz
Une application de gestion des contenus pédagogiques
|


Public Member Functions | |
| def | __init__ (self, repo, binsha, object=None, tag=None, tagger=None, tagged_date=None, tagger_tz_offset=None, message=None) |
Public Member Functions inherited from Object | |
| def | __init__ (self, repo, binsha) |
| def | new (cls, repo, id) |
| def | new_from_sha (cls, repo, sha1) |
| def | __eq__ (self, other) |
| def | __ne__ (self, other) |
| def | __hash__ (self) |
| def | __str__ (self) |
| def | __repr__ (self) |
| def | hexsha (self) |
| def | data_stream (self) |
| def | stream_data (self, ostream) |
Data Fields | |
| object | |
| tag | |
| tagger | |
| tagged_date | |
| tagger_tz_offset | |
| message | |
Data Fields inherited from Object | |
| repo | |
| binsha | |
| size | |
Static Public Attributes | |
| type | |
Static Public Attributes inherited from Object | |
| NULL_HEX_SHA | |
| NULL_BIN_SHA | |
| TYPES | |
| type | |
Non-Lightweight tag carrying additional information about an object we are pointing to.
| def __init__ | ( | self, | |
| repo, | |||
| binsha, | |||
object = None, |
|||
tag = None, |
|||
tagger = None, |
|||
tagged_date = None, |
|||
tagger_tz_offset = None, |
|||
message = None |
|||
| ) |
Initialize a tag object with additional data
:param repo: repository this object is located in
:param binsha: 20 byte SHA1
:param object: Object instance of object we are pointing to
:param tag: name of this tag
:param tagger: Actor identifying the tagger
:param tagged_date: int_seconds_since_epoch
is the DateTime of the tag creation - use time.gmtime to convert
it into a different format
:param tagged_tz_offset: int_seconds_west_of_utc is the timezone that the
authored_date is in, in a format similar to time.altzone
| message |
| object |
| tag |
| tagged_date |
| tagger |
| tagger_tz_offset |
|
static |