codeflowhub 0.2.1__tar.gz → 0.2.2__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.
- {codeflowhub-0.2.1 → codeflowhub-0.2.2}/PKG-INFO +1 -1
- {codeflowhub-0.2.1 → codeflowhub-0.2.2}/codeflowhub/flow.py +5 -1
- {codeflowhub-0.2.1 → codeflowhub-0.2.2}/codeflowhub.egg-info/PKG-INFO +1 -1
- {codeflowhub-0.2.1 → codeflowhub-0.2.2}/setup.py +1 -1
- {codeflowhub-0.2.1 → codeflowhub-0.2.2}/LICENSE +0 -0
- {codeflowhub-0.2.1 → codeflowhub-0.2.2}/README.md +0 -0
- {codeflowhub-0.2.1 → codeflowhub-0.2.2}/codeflowhub/__init__.py +0 -0
- {codeflowhub-0.2.1 → codeflowhub-0.2.2}/codeflowhub/action.py +0 -0
- {codeflowhub-0.2.1 → codeflowhub-0.2.2}/codeflowhub/airflow/__init__.py +0 -0
- {codeflowhub-0.2.1 → codeflowhub-0.2.2}/codeflowhub/airflow/xcom.py +0 -0
- {codeflowhub-0.2.1 → codeflowhub-0.2.2}/codeflowhub/base.py +0 -0
- {codeflowhub-0.2.1 → codeflowhub-0.2.2}/codeflowhub/model.py +0 -0
- {codeflowhub-0.2.1 → codeflowhub-0.2.2}/codeflowhub/service/__init__.py +0 -0
- {codeflowhub-0.2.1 → codeflowhub-0.2.2}/codeflowhub/service/airflow_exporter.py +0 -0
- {codeflowhub-0.2.1 → codeflowhub-0.2.2}/codeflowhub/storage/__init__.py +0 -0
- {codeflowhub-0.2.1 → codeflowhub-0.2.2}/codeflowhub/storage/local_storage.py +0 -0
- {codeflowhub-0.2.1 → codeflowhub-0.2.2}/codeflowhub/storage/s3_storage.py +0 -0
- {codeflowhub-0.2.1 → codeflowhub-0.2.2}/codeflowhub/storage/storage.py +0 -0
- {codeflowhub-0.2.1 → codeflowhub-0.2.2}/codeflowhub/task.py +0 -0
- {codeflowhub-0.2.1 → codeflowhub-0.2.2}/codeflowhub/template/__init__.py +0 -0
- {codeflowhub-0.2.1 → codeflowhub-0.2.2}/codeflowhub/template/analyze_speaker_pkg/__init__.py +0 -0
- {codeflowhub-0.2.1 → codeflowhub-0.2.2}/codeflowhub/template/analyze_speaker_pkg/main.py +0 -0
- {codeflowhub-0.2.1 → codeflowhub-0.2.2}/codeflowhub/template/extract_voice_pkg/__init__.py +0 -0
- {codeflowhub-0.2.1 → codeflowhub-0.2.2}/codeflowhub/template/extract_voice_pkg/main.py +0 -0
- {codeflowhub-0.2.1 → codeflowhub-0.2.2}/codeflowhub/template/read_pdf_pkg/__init__.py +0 -0
- {codeflowhub-0.2.1 → codeflowhub-0.2.2}/codeflowhub/template/read_pdf_pkg/main.py +0 -0
- {codeflowhub-0.2.1 → codeflowhub-0.2.2}/codeflowhub/template/transcript_pkg/__init__.py +0 -0
- {codeflowhub-0.2.1 → codeflowhub-0.2.2}/codeflowhub/template/transcript_pkg/main.py +0 -0
- {codeflowhub-0.2.1 → codeflowhub-0.2.2}/codeflowhub.egg-info/SOURCES.txt +0 -0
- {codeflowhub-0.2.1 → codeflowhub-0.2.2}/codeflowhub.egg-info/dependency_links.txt +0 -0
- {codeflowhub-0.2.1 → codeflowhub-0.2.2}/codeflowhub.egg-info/top_level.txt +0 -0
- {codeflowhub-0.2.1 → codeflowhub-0.2.2}/setup.cfg +0 -0
|
@@ -81,7 +81,7 @@ class FlowDecorator(BaseDecorator):
|
|
|
81
81
|
def _create_parser(cls, add_help=True):
|
|
82
82
|
"""FlowhHub CLI 파서 생성"""
|
|
83
83
|
parser = argparse.ArgumentParser(description='FlowhHub Workflow', add_help=add_help)
|
|
84
|
-
parser.add_argument('--env', type=str, default=
|
|
84
|
+
parser.add_argument('--env', type=str, default=None, help='Environment to use (default: default, or --export value if exporting)')
|
|
85
85
|
parser.add_argument('--id', type=str, default=None, help='Workflow run ID (default: run)')
|
|
86
86
|
parser.add_argument('--export', type=str, default=None, help='Export to external system (airflow)')
|
|
87
87
|
parser.add_argument('--job', type=str, default=None, help='Job directory path (auto-sets --input-data and --run-log)')
|
|
@@ -186,6 +186,10 @@ class FlowDecorator(BaseDecorator):
|
|
|
186
186
|
parser = self._create_parser(add_help=False)
|
|
187
187
|
args, _ = parser.parse_known_args()
|
|
188
188
|
|
|
189
|
+
# --env 미지정 시: --export가 있으면 export 값, 없으면 'default'
|
|
190
|
+
if args.env is None:
|
|
191
|
+
args.env = args.export if args.export and args.export in self.env_config else 'default'
|
|
192
|
+
|
|
189
193
|
if args.env and args.env in self.env_config:
|
|
190
194
|
self.select_env(args.env)
|
|
191
195
|
print(f'Using environment: {args.env}')
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{codeflowhub-0.2.1 → codeflowhub-0.2.2}/codeflowhub/template/analyze_speaker_pkg/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|