thestage 0.5.49__py3-none-any.whl → 0.6.1__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.
thestage/__init__.py CHANGED
@@ -1,3 +1,3 @@
1
1
  from . import *
2
2
  __app_name__ = "thestage"
3
- __version__ = "0.5.49"
3
+ __version__ = "0.6.1"
@@ -135,8 +135,8 @@ def run(
135
135
  ),
136
136
  files_to_add: Optional[str] = typer.Option(
137
137
  None,
138
- "--files-to-add",
139
- "-fta",
138
+ "--files-add",
139
+ "-fa",
140
140
  help=__("Files to add to the commit. You can add files by their relative path from the working directory with a comma as a separator. Use '.' to add all files."),
141
141
  is_eager=False,
142
142
  ),
@@ -267,8 +267,8 @@ def checkout_project(
267
267
  ),
268
268
  files_to_add: Optional[str] = typer.Option(
269
269
  None,
270
- "--files-to-add",
271
- "-fta",
270
+ "--files-add",
271
+ "-fa",
272
272
  help=__("Files to add to the commit. You can add files by their relative path from the working directory with a comma as a separator. Use '.' to add all files."),
273
273
  is_eager=False,
274
274
  ),
@@ -455,8 +455,8 @@ def run_inference_simulator(
455
455
  ),
456
456
  files_to_add: Optional[str] = typer.Option(
457
457
  None,
458
- "--files-to-add",
459
- "-fta",
458
+ "--files-add",
459
+ "-fa",
460
460
  help=__("Files to add to the commit. You can add files by their relative path from the working directory with a comma as a separator. Use '.' to add all files."),
461
461
  is_eager=False,
462
462
  ),
@@ -289,7 +289,7 @@ class ProjectService(AbstractService):
289
289
  )
290
290
 
291
291
  if not files_to_add and has_changes:
292
- print(f"[{ColorScheme.USEFUL_INFO.value}]Uncommitted changes detected, but the command is being run without adding these files. If you want to include these changes in the task, use the -fta flag (e.g., -fta .)[{ColorScheme.USEFUL_INFO.value}]")
292
+ print(f"[{ColorScheme.USEFUL_INFO.value}]Uncommitted changes detected, but the command is being run without adding these files. If you want to include these changes in the task, use the -fa flag (e.g., -fa .)[{ColorScheme.USEFUL_INFO.value}]")
293
293
 
294
294
  if files_to_add:
295
295
  is_git_folder = self.__git_local_client.is_present_local_git(path=config.runtime.working_directory)
@@ -458,7 +458,7 @@ class ProjectService(AbstractService):
458
458
  )
459
459
 
460
460
  if not files_to_add and has_changes:
461
- print(f"[{ColorScheme.USEFUL_INFO.value}]Uncommitted changes detected, but the command is being run without adding these files. If you want to include these changes in the inference simulator, use the -fta flag (e.g., -fta .)[{ColorScheme.USEFUL_INFO.value}]")
461
+ print(f"[{ColorScheme.USEFUL_INFO.value}]Uncommitted changes detected, but the command is being run without adding these files. If you want to include these changes in the inference simulator, use the -fa flag (e.g., -fa .)[{ColorScheme.USEFUL_INFO.value}]")
462
462
 
463
463
  if files_to_add:
464
464
  is_git_folder = self.__git_local_client.is_present_local_git(path=config.runtime.working_directory)
@@ -747,7 +747,7 @@ class ProjectService(AbstractService):
747
747
  )
748
748
 
749
749
  if not files_to_add and has_changes:
750
- print(f"[{ColorScheme.WARNING.value}][WARNING] Uncommitted changes detected, cannot checkout with uncommitted changes. You should use the -fta flag (e.g., -fta .)[{ColorScheme.WARNING.value}]")
750
+ print(f"[{ColorScheme.WARNING.value}][WARNING] Uncommitted changes detected, cannot checkout with uncommitted changes. You should use the -fa flag (e.g., -fa .)[{ColorScheme.WARNING.value}]")
751
751
  raise typer.Exit(1)
752
752
 
753
753
  if is_commit_allowed and has_changes and files_to_add:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: thestage
3
- Version: 0.5.49
3
+ Version: 0.6.1
4
4
  Summary:
5
5
  Author: TheStage AI team
6
6
  Author-email: hello@thestage.ai
@@ -1,5 +1,5 @@
1
1
  thestage/.env,sha256=GcB35BNZN2gGwbFT-HYIBksewtL30cqdelR1fwDOj9o,188
2
- thestage/__init__.py,sha256=tJIB5e3w1mZPI2tIlnWuRMsVRvJFStgxelGb3fyDc08,68
2
+ thestage/__init__.py,sha256=JFZivFU13fX0jOHM-KKeF3xUDOFsVnE_Yag7UcWPg3M,67
3
3
  thestage/__main__.py,sha256=VJhc94MF5fBWLGHwddH3IatItmRijgDF3NNQ4O6g6ck,110
4
4
  thestage/cli_command.py,sha256=TDkmbdhlv5JD_s9DfObwliyvpuF-qRMCcBzZ9qQjn5g,2229
5
5
  thestage/cli_command_helper.py,sha256=PaLoYRuY47FipxnORGjfL_BtudDR3cPkCzlFc8giksk,1990
@@ -12,7 +12,7 @@ thestage/controllers/base_controller.py,sha256=Zppx8OLPxgfe_7rrWoX-vw9rTs6_KkQyn
12
12
  thestage/controllers/config_controller.py,sha256=g-1Jfo0y-PyA-VRYzKoJULFGfWgcLa7PJvPSNQlFj2s,5554
13
13
  thestage/controllers/container_controller.py,sha256=_GETRHtMEWF0VjwR86adCyUZ2l2awBtP-O7p_qAbBHg,15701
14
14
  thestage/controllers/instance_controller.py,sha256=FyNRivZUaTHHrlwqBYIUnwLQcCvYYS0N9GmhlOvygqc,6863
15
- thestage/controllers/project_controller.py,sha256=y3HVZA7dAUoKtxWJ6XJKqhqhqmEqwUhI8Ul3il5DG4c,32702
15
+ thestage/controllers/project_controller.py,sha256=BgzDbH86gJWNwAcqGUxJG14nGRcnoqK_hP6sXM3tVjQ,32690
16
16
  thestage/controllers/utils_controller.py,sha256=slpKGNvqAju3Zi4ktSYm9ghYI_L3R_t6r9qhsGN8Ng0,944
17
17
  thestage/debug_main.dist.py,sha256=a-MB916g639DcgjFLF5j7tsFZ3-_X6_Gm53uCr_zTXo,811
18
18
  thestage/entities/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -164,13 +164,13 @@ thestage/services/project/mapper/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRk
164
164
  thestage/services/project/mapper/project_inference_simulator_mapper.py,sha256=ydP3_ehaZxlVHpqVXz0xtDIjFLtLxGQOIVLK30griqI,833
165
165
  thestage/services/project/mapper/project_inference_simulator_model_mapper.py,sha256=Q3_CVzTNLzjRjnReqHjkueYWO_9xeQ6rDiQSR02-u-0,890
166
166
  thestage/services/project/mapper/project_task_mapper.py,sha256=T8eFnmMh4ebY35oX_tSSMiP2dGfvoPMMm0FHPXTCDGg,835
167
- thestage/services/project/project_service.py,sha256=KhOTf47FXfXByyHFdJL9YFUagEsV4cfrzSyxEm2s0U0,60729
167
+ thestage/services/project/project_service.py,sha256=OzXbsxlVtZUX14br_fqPveBz4PgxZh-2hgVsG1K_QCU,60723
168
168
  thestage/services/remote_server_service.py,sha256=UziUvQPG2TsdbCN-GeSseXm-mqp7jiNKKHgSKZ-jozM,23873
169
169
  thestage/services/service_factory.py,sha256=PEzZcOcJvgE9WjtfizA834Rkz0GXpL68iejQXW6-l4E,4388
170
170
  thestage/services/task/dto/task_dto.py,sha256=xPcJ7g70RcqrmPtwscXtXAQrX2WYNdqdwCShcivNX80,2375
171
171
  thestage/services/validation_service.py,sha256=MHH2eIPyg41otMHq9unwuLAE83BpjYIAx2sFT_DyrsI,2304
172
- thestage-0.5.49.dist-info/LICENSE.txt,sha256=2fTfWmY094en7UPSH1QIbS12Qa3Wsfx-zI6z04oNASI,584
173
- thestage-0.5.49.dist-info/METADATA,sha256=MNzbmTEvjxPW0d-Kmzl54C4cWd_kxriO4bAszECpdtY,5507
174
- thestage-0.5.49.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
175
- thestage-0.5.49.dist-info/entry_points.txt,sha256=57pMhs8zaCM-jgeTffC0WVqCsh35Uq_dUDmzXR80CI4,47
176
- thestage-0.5.49.dist-info/RECORD,,
172
+ thestage-0.6.1.dist-info/LICENSE.txt,sha256=2fTfWmY094en7UPSH1QIbS12Qa3Wsfx-zI6z04oNASI,584
173
+ thestage-0.6.1.dist-info/METADATA,sha256=XiuMkY1Ib87A5eRCtBVPpKqHj7HFNzFHi6hWB7GF_H4,5506
174
+ thestage-0.6.1.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
175
+ thestage-0.6.1.dist-info/entry_points.txt,sha256=57pMhs8zaCM-jgeTffC0WVqCsh35Uq_dUDmzXR80CI4,47
176
+ thestage-0.6.1.dist-info/RECORD,,