-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[feature] Add api method for python scripts.
- Loading branch information
Vitaliy Zarubin
committed
Nov 25, 2024
1 parent
7a959a9
commit 1ec8e06
Showing
3 changed files
with
40 additions
and
2 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
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
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,12 @@ | ||
#!/usr/bin/python3 | ||
|
||
from aurora_cli.src.api.group_api import aurora_cli_api | ||
|
||
|
||
def main(): | ||
result = aurora_cli_api('/app/info') | ||
print(result) | ||
|
||
|
||
if __name__ == '__main__': | ||
main() |