lam-cli 0.0.6__py3-none-any.whl → 0.0.7__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- lam/lam.py +4 -3
- {lam_cli-0.0.6.dist-info → lam_cli-0.0.7.dist-info}/METADATA +1 -1
- lam_cli-0.0.7.dist-info/RECORD +8 -0
- lam_cli-0.0.6.dist-info/RECORD +0 -8
- {lam_cli-0.0.6.dist-info → lam_cli-0.0.7.dist-info}/LICENSE +0 -0
- {lam_cli-0.0.6.dist-info → lam_cli-0.0.7.dist-info}/WHEEL +0 -0
- {lam_cli-0.0.6.dist-info → lam_cli-0.0.7.dist-info}/entry_points.txt +0 -0
- {lam_cli-0.0.6.dist-info → lam_cli-0.0.7.dist-info}/top_level.txt +0 -0
lam/lam.py
CHANGED
|
@@ -104,11 +104,12 @@ def lam():
|
|
|
104
104
|
@click.argument('input', type=str)
|
|
105
105
|
@click.option('--workspace_id', default="local", help="Workspace ID")
|
|
106
106
|
@click.option('--flow_id', default="local", help="Flow ID")
|
|
107
|
+
@click.option('--execution_id', default="local", help="Execution ID")
|
|
107
108
|
@click.option('--as-json', is_flag=True, default=True, help="Output as JSON")
|
|
108
|
-
def run(program_file, input, workspace_id, flow_id, as_json):
|
|
109
|
+
def run(program_file, input, workspace_id, flow_id, execution_id, as_json):
|
|
109
110
|
timestamp = datetime.now().strftime('%Y%m%d_%H%M%S')
|
|
110
|
-
log_file = f"lam_run_{workspace_id}_{flow_id}_{timestamp}.log"
|
|
111
|
-
result_file = f"lam_result_{workspace_id}_{flow_id}_{timestamp}.json"
|
|
111
|
+
log_file = f"lam_run_{workspace_id}_{flow_id}_{execution_id}_{timestamp}.log"
|
|
112
|
+
result_file = f"lam_result_{workspace_id}_{flow_id}_{execution_id}_{timestamp}.json"
|
|
112
113
|
|
|
113
114
|
file_handler = logging.FileHandler(log_file, 'w')
|
|
114
115
|
file_handler.setFormatter(logging.Formatter('%(asctime)s - %(levelname)s - %(message)s'))
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
lam/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
+
lam/lam.py,sha256=tgtblEtVQrhgZmuDkFu6sdOMC41xtIQj05j8pryfZTY,7383
|
|
3
|
+
lam_cli-0.0.7.dist-info/LICENSE,sha256=ixuiBLtpoK3iv89l7ylKkg9rs2GzF9ukPH7ynZYzK5s,35148
|
|
4
|
+
lam_cli-0.0.7.dist-info/METADATA,sha256=2W6uPGH7oSD1Qg7MnouI_XM0xEQqVaKd0YY--_FSco0,404
|
|
5
|
+
lam_cli-0.0.7.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
|
6
|
+
lam_cli-0.0.7.dist-info/entry_points.txt,sha256=ph7QV6H2VWqf9fU5rtoAgEabDgZ4f85ZImdLXeBmdfA,36
|
|
7
|
+
lam_cli-0.0.7.dist-info/top_level.txt,sha256=WyM7-Ig60qQH9meqS293pEd83jrMtbvGJM8ALZOQCtA,4
|
|
8
|
+
lam_cli-0.0.7.dist-info/RECORD,,
|
lam_cli-0.0.6.dist-info/RECORD
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
lam/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
-
lam/lam.py,sha256=a2O622WWikM3OZq_KhTQm-3kl4JHygkYCK_NwQCeTP8,7269
|
|
3
|
-
lam_cli-0.0.6.dist-info/LICENSE,sha256=ixuiBLtpoK3iv89l7ylKkg9rs2GzF9ukPH7ynZYzK5s,35148
|
|
4
|
-
lam_cli-0.0.6.dist-info/METADATA,sha256=vl5pMwIXxzOzmq1AfrYu0eBpvcUu7eDdivn81ofKrlo,404
|
|
5
|
-
lam_cli-0.0.6.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
|
6
|
-
lam_cli-0.0.6.dist-info/entry_points.txt,sha256=ph7QV6H2VWqf9fU5rtoAgEabDgZ4f85ZImdLXeBmdfA,36
|
|
7
|
-
lam_cli-0.0.6.dist-info/top_level.txt,sha256=WyM7-Ig60qQH9meqS293pEd83jrMtbvGJM8ALZOQCtA,4
|
|
8
|
-
lam_cli-0.0.6.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|