You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
returnf"Version of object {self.path} created at {self.createdAtDt.strftime('%Y-%m-%d %H:%M:%S')}, valid from {self.validFromAsDt.strftime('%Y-%m-%d %H:%M:%S')}, run {run_number} (uuid {self.uuid})"
46
49
else:
47
-
returnf"Version of object {self.path} created at {self.createdAtDt.strftime('%Y-%m-%d %H:%M:%S')}, valid from {self.validFromAsDt.strftime('%Y-%m-%d %H:%M:%S')} (uuid {self.uuid}, " \
48
-
f"ts {self.validFrom})"
50
+
run_number="None"
51
+
52
+
representation=f"Version of object {self.path} created at {self.createdAtDt.strftime('%Y-%m-%d %H:%M:%S')}, valid from" \
53
+
f"{self.validFromAsDt.strftime('%Y-%m-%d %H:%M:%S')}, uuid {self.uuid}, run {run_number}"
54
+
ifObjectVersion.print_details:
55
+
representation+=f", metadata: {self.metadata}"
56
+
returnrepresentation
49
57
50
58
51
59
classCcdb:
@@ -58,9 +66,10 @@ class Ccdb:
58
66
counter_preserved: int=0
59
67
set_adjustable_eov: bool=False# if True, set the metadata adjustableEOV before change validity
0 commit comments