pilot.linkstec 0.0.4__tar.gz → 0.0.5__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.
Potentially problematic release.
This version of pilot.linkstec might be problematic. Click here for more details.
- {pilot_linkstec-0.0.4 → pilot_linkstec-0.0.5}/PKG-INFO +1 -1
- {pilot_linkstec-0.0.4 → pilot_linkstec-0.0.5}/pyproject.toml +1 -1
- {pilot_linkstec-0.0.4 → pilot_linkstec-0.0.5}/src/pilot/control/impl/base_controller.py +6 -4
- {pilot_linkstec-0.0.4 → pilot_linkstec-0.0.5}/src/pilot/unit/impl/base_unit.py +2 -1
- {pilot_linkstec-0.0.4 → pilot_linkstec-0.0.5}/src/pilot.linkstec.egg-info/PKG-INFO +1 -1
- {pilot_linkstec-0.0.4 → pilot_linkstec-0.0.5}/LICENSE +0 -0
- {pilot_linkstec-0.0.4 → pilot_linkstec-0.0.5}/README.md +0 -0
- {pilot_linkstec-0.0.4 → pilot_linkstec-0.0.5}/setup.cfg +0 -0
- {pilot_linkstec-0.0.4 → pilot_linkstec-0.0.5}/src/pilot/__init__.py +0 -0
- {pilot_linkstec-0.0.4 → pilot_linkstec-0.0.5}/src/pilot/config/__init__.py +0 -0
- {pilot_linkstec-0.0.4 → pilot_linkstec-0.0.5}/src/pilot/config/config_reader.py +0 -0
- {pilot_linkstec-0.0.4 → pilot_linkstec-0.0.5}/src/pilot/control/__init__.py +0 -0
- {pilot_linkstec-0.0.4 → pilot_linkstec-0.0.5}/src/pilot/control/control_interface.py +0 -0
- {pilot_linkstec-0.0.4 → pilot_linkstec-0.0.5}/src/pilot/control/impl/__init__.py +0 -0
- {pilot_linkstec-0.0.4 → pilot_linkstec-0.0.5}/src/pilot/conver/__init__.py +0 -0
- {pilot_linkstec-0.0.4 → pilot_linkstec-0.0.5}/src/pilot/conver/converfileEncodding.py +0 -0
- {pilot_linkstec-0.0.4 → pilot_linkstec-0.0.5}/src/pilot/conver/nkf_converter.py +0 -0
- {pilot_linkstec-0.0.4 → pilot_linkstec-0.0.5}/src/pilot/generater/__init__.py +0 -0
- {pilot_linkstec-0.0.4 → pilot_linkstec-0.0.5}/src/pilot/generater/vertexai.py +0 -0
- {pilot_linkstec-0.0.4 → pilot_linkstec-0.0.5}/src/pilot/job/__init__.py +0 -0
- {pilot_linkstec-0.0.4 → pilot_linkstec-0.0.5}/src/pilot/job/impl/__init__.py +0 -0
- {pilot_linkstec-0.0.4 → pilot_linkstec-0.0.5}/src/pilot/job/impl/base_job.py +0 -0
- {pilot_linkstec-0.0.4 → pilot_linkstec-0.0.5}/src/pilot/job/job_interface.py +0 -0
- {pilot_linkstec-0.0.4 → pilot_linkstec-0.0.5}/src/pilot/splitters/__init__.py +0 -0
- {pilot_linkstec-0.0.4 → pilot_linkstec-0.0.5}/src/pilot/splitters/cobolsplitter.py +0 -0
- {pilot_linkstec-0.0.4 → pilot_linkstec-0.0.5}/src/pilot/unit/__init__.py +0 -0
- {pilot_linkstec-0.0.4 → pilot_linkstec-0.0.5}/src/pilot/unit/impl/__init__.py +0 -0
- {pilot_linkstec-0.0.4 → pilot_linkstec-0.0.5}/src/pilot/unit/unit_interface.py +0 -0
- {pilot_linkstec-0.0.4 → pilot_linkstec-0.0.5}/src/pilot/util/__init__.py +0 -0
- {pilot_linkstec-0.0.4 → pilot_linkstec-0.0.5}/src/pilot/util/files.py +0 -0
- {pilot_linkstec-0.0.4 → pilot_linkstec-0.0.5}/src/pilot.linkstec.egg-info/SOURCES.txt +0 -0
- {pilot_linkstec-0.0.4 → pilot_linkstec-0.0.5}/src/pilot.linkstec.egg-info/dependency_links.txt +0 -0
- {pilot_linkstec-0.0.4 → pilot_linkstec-0.0.5}/src/pilot.linkstec.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
from concurrent.futures import ThreadPoolExecutor
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
|
|
4
4
|
from pilot.control.control_interface import ControlInterface
|
|
5
5
|
from pilot.unit.impl.base_unit import BaseUnit
|
|
6
6
|
from pilot.config.config_reader import ConfigReader
|
|
@@ -9,16 +9,18 @@ from pilot.config.config_reader import ConfigReader
|
|
|
9
9
|
class BaseController(ControlInterface):
|
|
10
10
|
|
|
11
11
|
def __init__(self):
|
|
12
|
-
|
|
12
|
+
pass
|
|
13
|
+
|
|
13
14
|
|
|
14
15
|
def _init_unit(self):
|
|
15
16
|
return BaseUnit()
|
|
16
17
|
|
|
17
|
-
def run(self):
|
|
18
|
+
def run(self,configfile: str = None):
|
|
18
19
|
import time
|
|
19
|
-
config_dto = ConfigReader().get_dto()
|
|
20
|
+
config_dto = ConfigReader(configfile).get_dto()
|
|
20
21
|
def worker():
|
|
21
22
|
unit = self._init_unit()
|
|
23
|
+
unit.config_dto = config_dto
|
|
22
24
|
unit.run()
|
|
23
25
|
with ThreadPoolExecutor(max_workers=config_dto.threads) as executor:
|
|
24
26
|
futures = []
|
|
@@ -9,7 +9,7 @@ class BaseUnit(UnitInterface):
|
|
|
9
9
|
joblist = []
|
|
10
10
|
|
|
11
11
|
def __init__(self):
|
|
12
|
-
|
|
12
|
+
pass
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
def _init_job(self,step):
|
|
@@ -28,6 +28,7 @@ class BaseUnit(UnitInterface):
|
|
|
28
28
|
for filename in filenames:
|
|
29
29
|
file_path = os.path.join(dirpath, filename)
|
|
30
30
|
job = self._init_job(step)
|
|
31
|
+
job.config_dto = self.config_dto
|
|
31
32
|
job.current_step = step
|
|
32
33
|
job.step_index = index
|
|
33
34
|
job.file_path = file_path
|
|
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
|
|
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
|
{pilot_linkstec-0.0.4 → pilot_linkstec-0.0.5}/src/pilot.linkstec.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|