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
f8a938ff
Commit
f8a938ff
authored
Dec 21, 2024
by
Jonas Kaufmann
Browse files
orchestration/helpers/simulation: fix type annotation on enable_sync_simulation()
parent
27c7b522
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/helpers/simulation.py
...chestration/simbricks/orchestration/helpers/simulation.py
+1
-1
No files found.
symphony/orchestration/simbricks/orchestration/helpers/simulation.py
View file @
f8a938ff
...
...
@@ -34,7 +34,7 @@ def add_specs(simulator: sim_base.Simulator, *specifications) -> None:
def
enable_sync_simulation
(
simulation
:
sim_base
.
Simulation
,
amount
:
int
=
None
,
ratio
:
sim_chan
.
Time
=
None
simulation
:
sim_base
.
Simulation
,
amount
:
int
|
None
=
None
,
ratio
:
sim_chan
.
Time
=
None
)
->
None
:
utils_base
.
has_expected_type
(
obj
=
simulation
,
expected_type
=
sim_base
.
Simulation
)
set_period
:
bool
=
amount
is
not
None
and
ratio
is
not
None
...
...
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