machineconfig 6.31__py3-none-any.whl → 6.32__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.
Potentially problematic release.
This version of machineconfig might be problematic. Click here for more details.
- machineconfig/cluster/sessions_managers/utils/maker.py +3 -3
- {machineconfig-6.31.dist-info → machineconfig-6.32.dist-info}/METADATA +1 -1
- {machineconfig-6.31.dist-info → machineconfig-6.32.dist-info}/RECORD +6 -6
- {machineconfig-6.31.dist-info → machineconfig-6.32.dist-info}/WHEEL +0 -0
- {machineconfig-6.31.dist-info → machineconfig-6.32.dist-info}/entry_points.txt +0 -0
- {machineconfig-6.31.dist-info → machineconfig-6.32.dist-info}/top_level.txt +0 -0
|
@@ -7,7 +7,6 @@ from pathlib import Path
|
|
|
7
7
|
def get_fire_command_and_artifact_files(func: FunctionType):
|
|
8
8
|
from machineconfig.utils.meta import function_to_script
|
|
9
9
|
py_script = function_to_script(func)
|
|
10
|
-
from pathlib import Path
|
|
11
10
|
from machineconfig.utils.accessories import randstr
|
|
12
11
|
py_script_path = Path.home().joinpath("tmp_results", "tmp_py_scripts", f"tmp_{randstr(10)}.py")
|
|
13
12
|
py_script_path.parent.mkdir(parents=True, exist_ok=True)
|
|
@@ -21,8 +20,9 @@ def get_fire_command_and_artifact_files(func: FunctionType):
|
|
|
21
20
|
return tab_config, py_script_path
|
|
22
21
|
def get_fire_command_and_artifact_files_v2(func: FunctionType):
|
|
23
22
|
import inspect
|
|
24
|
-
path = inspect.getfile(func)
|
|
25
|
-
|
|
23
|
+
path = Path(inspect.getfile(func))
|
|
24
|
+
path_relative = path.relative_to(Path.home())
|
|
25
|
+
command_to_run = f"""$HOME/.local/bin/fire {path_relative} {func.__name__} """
|
|
26
26
|
tab_config: TabConfig = {
|
|
27
27
|
"command": command_to_run,
|
|
28
28
|
"startDir": "$HOME",
|
|
@@ -25,7 +25,7 @@ machineconfig/cluster/sessions_managers/zellij_remote_manager.py,sha256=xzih0y8_
|
|
|
25
25
|
machineconfig/cluster/sessions_managers/helpers/enhanced_command_runner.py,sha256=3vcQVg-HHa_WTxBGPtKMAdoSqJVa2EO5KAtrY8a6I3c,5264
|
|
26
26
|
machineconfig/cluster/sessions_managers/helpers/load_balancer_helper.py,sha256=i5TRittC1IWTgMZNyG8AR5qq-3WrGp3xgIx2m5ktT7g,7526
|
|
27
27
|
machineconfig/cluster/sessions_managers/utils/load_balancer.py,sha256=Y4RQmhROY6o7JXSJXRrBTkoAuEmu1gvmvN_7JKPw5sc,3178
|
|
28
|
-
machineconfig/cluster/sessions_managers/utils/maker.py,sha256=
|
|
28
|
+
machineconfig/cluster/sessions_managers/utils/maker.py,sha256=CeV9XrF5OhgNZe-qa916hNuy7mD9w-9TLOL3nLPXENs,2110
|
|
29
29
|
machineconfig/cluster/sessions_managers/wt_utils/layout_generator.py,sha256=OA50j16uUS9ZTjL38TLuR3jufIOln_EszMZpbWyejTo,6972
|
|
30
30
|
machineconfig/cluster/sessions_managers/wt_utils/process_monitor.py,sha256=Mitm7mKiKl5lT0OiEUHAqVg2Q21RjsKO1-hpJTHJ5lM,15196
|
|
31
31
|
machineconfig/cluster/sessions_managers/wt_utils/remote_executor.py,sha256=lApUy67_WhfaBXqt0meZSx_QvwiXjN0YLdyE3c7kP_s,6744
|
|
@@ -422,8 +422,8 @@ machineconfig/utils/schemas/installer/installer_types.py,sha256=QClRY61QaduBPJoS
|
|
|
422
422
|
machineconfig/utils/schemas/layouts/layout_types.py,sha256=TcqlZdGVoH8htG5fHn1KWXhRdPueAcoyApppZsPAPto,2020
|
|
423
423
|
machineconfig/utils/schemas/repos/repos_types.py,sha256=ECVr-3IVIo8yjmYmVXX2mnDDN1SLSwvQIhx4KDDQHBQ,405
|
|
424
424
|
machineconfig/utils/ssh_utils/utils.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
425
|
-
machineconfig-6.
|
|
426
|
-
machineconfig-6.
|
|
427
|
-
machineconfig-6.
|
|
428
|
-
machineconfig-6.
|
|
429
|
-
machineconfig-6.
|
|
425
|
+
machineconfig-6.32.dist-info/METADATA,sha256=vVj42KcByWj_yUt6oAbD7f23iUI4tnUbWvnyX2RsIQM,3012
|
|
426
|
+
machineconfig-6.32.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
427
|
+
machineconfig-6.32.dist-info/entry_points.txt,sha256=M0jwN_brZdXWhmNVeXLvdKxfkv8WhhXFZYcuKBA9qnk,418
|
|
428
|
+
machineconfig-6.32.dist-info/top_level.txt,sha256=porRtB8qms8fOIUJgK-tO83_FeH6Bpe12oUVC670teA,14
|
|
429
|
+
machineconfig-6.32.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|