Added iteration_logger
This commit is contained in:
@@ -33,6 +33,12 @@ class Config:
|
||||
default=os.getenv('SIA_ACTION_SCHEMA', 'action_schema.xsd'),
|
||||
help='Path to the action schema file (default: action_schema.xsd, env: SIA_ACTION_SCHEMA)'
|
||||
)
|
||||
parser.add_argument(
|
||||
'--iterations-dir',
|
||||
type=Path,
|
||||
default=os.getenv('SIA_ITERATIONS_DIR', 'iterations'),
|
||||
help='Path to the directory for storing iterations (default: iterations, env: SIA_ITERATIONS_DIR)'
|
||||
)
|
||||
parser.add_argument(
|
||||
'--server',
|
||||
action='store_true',
|
||||
@@ -112,6 +118,11 @@ class Config:
|
||||
def action_schema(self) -> Path:
|
||||
"""Path to the action schema file."""
|
||||
return self.args.action_schema
|
||||
|
||||
@property
|
||||
def iterations_dir(self) -> Path:
|
||||
"""Path to the directory for storing iterations."""
|
||||
return self.args.iterations_dir
|
||||
|
||||
@property
|
||||
def server(self) -> bool:
|
||||
|
||||
Reference in New Issue
Block a user