-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CU-86dtd9az1 - It might be necessary to add notify event names on the…
… manifest
- Loading branch information
luc10921
committed
May 16, 2024
1 parent
49731b6
commit 3912663
Showing
4 changed files
with
30 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
boa3_test/test_sc/interop_test/runtime/NotifyWithDynamicName.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
from boa3.sc.compiletime import public | ||
|
||
from boa3.sc.runtime import notify | ||
|
||
|
||
@public | ||
def Main(notify_name: str): | ||
notify(10, notify_name) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,5 +4,5 @@ | |
|
||
|
||
@public | ||
def Main(notify_name: str): | ||
notify(10, notify_name) | ||
def Main(): | ||
notify(10, 'unit_test') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters