pilot.linkstec 0.0.15__py3-none-any.whl → 0.0.17__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 pilot.linkstec might be problematic. Click here for more details.

@@ -2,11 +2,12 @@ import os
2
2
  import shutil
3
3
 
4
4
  from pilot.job.job_interface import JobInterface
5
- from pilot.config.config_reader import ConfigReader
5
+ from pilot.logging.logger import get_logger
6
6
 
7
7
 
8
8
  class BaseJob(JobInterface):
9
9
  def __init__(self):
10
+ self.logger = get_logger(__name__)
10
11
  self.config_dto = None
11
12
  self._current_step = None
12
13
  self._file_path = None
@@ -15,6 +16,7 @@ class BaseJob(JobInterface):
15
16
  self._next_step_file_path = None
16
17
  self._content = None
17
18
 
19
+
18
20
  @property
19
21
  def current_step(self):
20
22
  return self._current_step
File without changes
@@ -0,0 +1,8 @@
1
+ from abc import ABC, abstractmethod
2
+ from typing import List
3
+
4
+
5
+ class CodeProcessor(ABC):
6
+ @abstractmethod
7
+ def process(self, lines: List[str]) -> List[str]:
8
+ pass
@@ -0,0 +1,14 @@
1
+ from typing import List
2
+
3
+ from pilot.processor.code_processor import CodeProcessor
4
+
5
+
6
+ class CodeProcessorPipeline:
7
+ def __init__(self, processors: List[CodeProcessor]):
8
+ self.processors = processors
9
+
10
+ def run(self, lines: List[str]) -> List[str]:
11
+ result = lines
12
+ for processor in self.processors:
13
+ result = processor.process(result)
14
+ return result
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pilot.linkstec
3
- Version: 0.0.15
3
+ Version: 0.0.17
4
4
  Summary: pilot of the ship, a tool for managing and deploying Python projects.
5
5
  Author-email: wanglr <wanglr1980@gmail.com>
6
6
  License-Expression: MIT
@@ -13,9 +13,12 @@ pilot/generater/vertexai.py,sha256=v-hEvPwsUtrxP57yu9f5pUBj7BGImegO4lv10QWM1XA,2
13
13
  pilot/job/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
14
14
  pilot/job/job_interface.py,sha256=LL0hfuFfnKnkpQD99jv1hkaAIAFM-JJPrX3PFxN6O_A,120
15
15
  pilot/job/impl/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
16
- pilot/job/impl/base_job.py,sha256=rxh2WgKBf3yJ_x0aPFMGpP8aKjPiGbD4767OqseuZWg,14015
16
+ pilot/job/impl/base_job.py,sha256=iojwBJApivsCmHG9HRCJrWUwtbBc_GrCI31xac0JYtE,14053
17
17
  pilot/logging/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
18
18
  pilot/logging/logger.py,sha256=TF7eGr3w8GK5v4sf71lDt97uVoBtCgqrZuCdbMmeQBU,1815
19
+ pilot/processor/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
20
+ pilot/processor/code_processor.py,sha256=aIjRZ3eoiuLL7_g1LyEF0yhC3puVBZou3JJdKF1sQ2E,183
21
+ pilot/processor/code_processor_pipeline.py,sha256=ZW2JQeAUbH_sYmgh3oI2O10FhbRS9ZNNBnNjjImH9GM,406
19
22
  pilot/splitters/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
20
23
  pilot/splitters/cobolsplitter.py,sha256=oPwxKRjA7TyXWaWV3jdy59lJZy1mRn6yxD9ivqFYCuY,5461
21
24
  pilot/unit/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -24,8 +27,8 @@ pilot/unit/impl/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
24
27
  pilot/unit/impl/base_unit.py,sha256=LsFPpL28aSNv5rsZhfKv6CWhAw1XR4n-A6FOn2RBrZo,1272
25
28
  pilot/util/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
26
29
  pilot/util/files.py,sha256=v9uzfzo3Aq4xgnUIASEZeBJoA2nD9Qz_EA3P-FwzGFQ,1896
27
- pilot_linkstec-0.0.15.dist-info/licenses/LICENSE,sha256=6kbiFSfobTZ7beWiKnHpN902HgBx-Jzgcme0SvKqhKY,1091
28
- pilot_linkstec-0.0.15.dist-info/METADATA,sha256=cnelVXeTfz-4eAEBKxVqV0l9tBz2ndYw6vlPMKbZyBo,679
29
- pilot_linkstec-0.0.15.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
30
- pilot_linkstec-0.0.15.dist-info/top_level.txt,sha256=BijnVJdXnIPxxx3s60M848seL4Z12gNUPod6KPJxK9c,6
31
- pilot_linkstec-0.0.15.dist-info/RECORD,,
30
+ pilot_linkstec-0.0.17.dist-info/licenses/LICENSE,sha256=6kbiFSfobTZ7beWiKnHpN902HgBx-Jzgcme0SvKqhKY,1091
31
+ pilot_linkstec-0.0.17.dist-info/METADATA,sha256=I1C8EXOcmoJ4Pz2Hx-K_RSpzo94SpjUoXone8hbVkO0,679
32
+ pilot_linkstec-0.0.17.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
33
+ pilot_linkstec-0.0.17.dist-info/top_level.txt,sha256=BijnVJdXnIPxxx3s60M848seL4Z12gNUPod6KPJxK9c,6
34
+ pilot_linkstec-0.0.17.dist-info/RECORD,,