Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ycai
simbricks
Commits
cf898423
"vscode:/vscode.git/clone" did not exist on "83f8a5ff70d9305735b23131ed2015d3db0e7422"
Commit
cf898423
authored
Sep 03, 2024
by
Hejing Li
Browse files
system/base.py: fix component class initialization
parent
c6913bb5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
experiments/simbricks/orchestration/system/base.py
experiments/simbricks/orchestration/system/base.py
+1
-1
No files found.
experiments/simbricks/orchestration/system/base.py
View file @
cf898423
...
@@ -45,7 +45,7 @@ class Component(IdObj):
...
@@ -45,7 +45,7 @@ class Component(IdObj):
def
__init__
(
self
,
s
:
System
)
->
None
:
def
__init__
(
self
,
s
:
System
)
->
None
:
super
().
__init__
()
super
().
__init__
()
s
.
system
=
s
s
elf
.
system
=
s
s
.
parameters
=
{}
s
.
parameters
=
{}
s
.
add_component
(
self
)
s
.
add_component
(
self
)
self
.
name
:
str
=
""
self
.
name
:
str
=
""
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment