Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions src/dvsim/job/deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,15 @@ def __init__(self, sim_cfg: "SimCfg") -> None:
# this current job to run
self.needs_all_dependencies_passing = True

# These variables will be extracted from the hjson file by _set_attrs,
# and then _check_attrs checks that they were indeed extracted. Define
# placeholder values here to allow a type checker to know the class has
# the field.
self.build_mode = ""
self.dry_run = False
self.flow_makefile = ""
self.name = ""

# Declare attributes that need to be extracted from the HJSon cfg.
self._define_attrs()

Expand Down
Loading