lam-cli 0.0.6__tar.gz → 0.0.7__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: lam-cli
3
- Version: 0.0.6
3
+ Version: 0.0.7
4
4
  Summary: Laminar data transformation tool
5
5
  Home-page: https://github.com/laminar-run/lam
6
6
  Author: Laminar Run, Inc.
@@ -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'))
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: lam-cli
3
- Version: 0.0.6
3
+ Version: 0.0.7
4
4
  Summary: Laminar data transformation tool
5
5
  Home-page: https://github.com/laminar-run/lam
6
6
  Author: Laminar Run, Inc.
@@ -2,7 +2,7 @@ from setuptools import find_packages, setup
2
2
 
3
3
  setup(
4
4
  name='lam-cli',
5
- version='0.0.6',
5
+ version='0.0.7',
6
6
  packages=find_packages(),
7
7
  install_requires=[
8
8
  'click',
File without changes
File without changes
File without changes
File without changes