Skip to content

Commit

Permalink
Merge branch 'develop' into doc/taipy-doc#1115-dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
FabienLelaquais authored Oct 3, 2024
2 parents 8b46362 + 33441dd commit 1440d25
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions contributors.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ yarikoptic
Luke-0162
Satoshi-Sh
kushal34712
DeepanshuProgrammer
4 changes: 2 additions & 2 deletions taipy/gui/extension/library.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@ def __init__(
*react_component* is ignored.
Arguments:
default_property (str): the name of the default property for this element.
properties (List[ElementProperty]): The list of properties for this element.
default_property (str): The name of the default property for this element.
properties (Dict[str, ElementProperty]): The dictionary containing the properties of this element, where the keys are the property names and the values are instances of ElementProperty.
inner_properties (Optional[List[ElementProperty]]): The optional list of inner properties for this element.<br/>
Default values are set/binded automatically.
react_component (Optional[str]): The name of the component to be created on the front-end.<br/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def test_execute_job():
mck_2.assert_called_once_with(job.task) # This should be called to check if job needs to run
mck_1.assert_called_once_with(job)
assert job.is_running() # The job is not executed since the dispatch is mocked
assert scenario.dn.edit_in_progress # outputs must NOT have been unlocked because the disptach is mocked
assert scenario.dn.edit_in_progress # outputs must NOT have been unlocked because the dispatch is mocked


def test_execute_job_to_skip():
Expand Down Expand Up @@ -85,7 +85,7 @@ def test_execute_job_skippable_with_force():
mck_1.assert_called_once_with(job) # This should be called to dispatch the job
mck_2.assert_not_called() # This should NOT be called since we force the execution anyway
assert job.is_running() # The job is not executed since the dispatch is mocked
assert scenario.dn.edit_in_progress # outputs must NOT have been unlocked because the disptach is mocked
assert scenario.dn.edit_in_progress # outputs must NOT have been unlocked because the dispatch is mocked


def test_execute_jobs_synchronously():
Expand Down

0 comments on commit 1440d25

Please sign in to comment.