Belle II Software  release-08-01-10
Revision Class Reference
Inheritance diagram for Revision:
Collaboration diagram for Revision:

Public Member Functions

def __init__ (self, label, git_hash=None, creation_date=None, packages=None, creation_timezone=None)
 

Public Attributes

 label
 label (or tag) used to display this revision
 
 creation_date
 date when the validation output of this revision was created, as datetime object
 
 creation_timezone
 timezone used by the creation date
 
 git_hash
 The git commit hash which has the HEAD while the validation scripts were executed.
 
 most_recent
 is this the most recent revision in the list this revision is contained ?
 
 packages
 list of packages contained in this revision
 

Detailed Description

Contains information about a specific revision

Definition at line 34 of file json_objects.py.

Constructor & Destructor Documentation

◆ __init__()

def __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.

47  ):
48  """
49  Create a new Revision object and fill all members
50  """
51 
52 
53  self.label = label
54 
55 
57  self.creation_date = creation_date
58 
59 
60  self.creation_timezone = creation_timezone
61 
62 
64  self.git_hash = git_hash
65 
66 
68  self.most_recent = False
69 
70 
71  self.packages = [] if (packages is None) else packages
72 
73 

The documentation for this class was generated from the following file: