![]() |
Belle II Software development
|
Public Member Functions | |
__init__ (self, label, git_hash=None, creation_date=None, packages=None, creation_timezone=None) | |
Public Attributes | |
label = label | |
label (or tag) used to display this revision | |
creation_date = creation_date | |
date when the validation output of this revision was created, as datetime object | |
creation_timezone = creation_timezone | |
timezone used by the creation date | |
git_hash = git_hash | |
The git commit hash which has the HEAD while the validation scripts were executed. | |
bool | most_recent = False |
is this the most recent revision in the list this revision is contained ? | |
list | packages = [] if (packages is None) else packages |
list of packages contained in this revision | |
Contains information about a specific revision
Definition at line 34 of file json_objects.py.
__init__ | ( | self, | |
label, | |||
git_hash = None, | |||
creation_date = None, | |||
packages = None, | |||
creation_timezone = None ) |
Create a new Revision object and fill all members
Definition at line 40 of file json_objects.py.
creation_date = creation_date |
date when the validation output of this revision was created, as datetime object
Definition at line 57 of file json_objects.py.
creation_timezone = creation_timezone |
timezone used by the creation date
Definition at line 60 of file json_objects.py.
git_hash = git_hash |
The git commit hash which has the HEAD while the validation scripts were executed.
Definition at line 64 of file json_objects.py.
label = label |
label (or tag) used to display this revision
Definition at line 53 of file json_objects.py.
bool most_recent = False |
is this the most recent revision in the list this revision is contained ?
Definition at line 68 of file json_objects.py.
list packages = [] if (packages is None) else packages |
list of packages contained in this revision
Definition at line 71 of file json_objects.py.