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
Copy file name to clipboardExpand all lines: launchable/commands/record/build.py
+12-3Lines changed: 12 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,4 @@
1
+
importdatetime
1
2
importos
2
3
importre
3
4
importsys
@@ -11,7 +12,7 @@
11
12
12
13
from ...utilsimportsubprocess
13
14
from ...utils.authenticationimportget_org_workspace
14
-
from ...utils.clickimportKEY_VALUE
15
+
from ...utils.clickimportDATETIME_WITH_TZ, KEY_VALUE
15
16
from ...utils.launchable_clientimportLaunchableClient
16
17
from ...utils.sessionimportclean_session_files, write_build
17
18
from .commitimportcommit
@@ -96,13 +97,20 @@
96
97
'lineage',
97
98
hidden=True,
98
99
)
100
+
@click.option(
101
+
'--timestamp',
102
+
'timestamp',
103
+
help='Used to overwrite the build time when importing historical data. Note: Format must be `YYYY-MM-DDThh:mm:ssTZD` or `YYYY-MM-DDThh:mm:ss` (local timezone applied)', # noqa: E501
help='Used to overwrite the session time when importing historical data. Note: Format must be `YYYY-MM-DDThh:mm:ssTZD` or `YYYY-MM-DDThh:mm:ss` (local timezone applied)', # noqa: E501
help='Used to overwrite the test executed times when importing historical data. Note: Format must be `YYYY-MM-DDThh:mm:ssTZD` or `YYYY-MM-DDThh:mm:ss` (local timezone applied)', # noqa: E501
0 commit comments