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
f6ac836d
Commit
f6ac836d
authored
Jan 10, 2025
by
Jonas Kaufmann
Browse files
orchestration/simulation/Simulator.supported_socket_types(): actually return set and not dict
parent
9078f477
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
symphony/orchestration/simbricks/orchestration/simulation/base.py
.../orchestration/simbricks/orchestration/simulation/base.py
+1
-1
No files found.
symphony/orchestration/simbricks/orchestration/simulation/base.py
View file @
f6ac836d
...
@@ -284,7 +284,7 @@ class Simulator(utils_base.IdObj, abc.ABC):
...
@@ -284,7 +284,7 @@ class Simulator(utils_base.IdObj, abc.ABC):
def
supported_socket_types
(
def
supported_socket_types
(
self
,
interface
:
sys_conf
.
Interface
self
,
interface
:
sys_conf
.
Interface
)
->
set
[
inst_socket
.
SockType
]:
)
->
set
[
inst_socket
.
SockType
]:
return
{}
return
set
()
# Sockets to be cleaned up: always the CONNECTING sockets
# Sockets to be cleaned up: always the CONNECTING sockets
# pylint: disable=unused-argument
# pylint: disable=unused-argument
...
...
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