-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
48 additions
and
23 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,26 @@ | ||
from typing import Dict | ||
|
||
|
||
def YourScriptMethod(inputs: Dict[str, str]) -> Dict[str, str]: | ||
""" | ||
The main function for your script. | ||
:param inputs: An object representing the input parameters passed to the script. | ||
:type inputs: dict[str, str] | ||
:return: An object representing the output parameters returned by the script. | ||
:rtype: dict[str, str] | ||
""" | ||
|
||
# Retrieve your input parameters from process.argv after parser | ||
outputs: Dict[str, str] = {} | ||
for key, value in inputs.items(): | ||
outputs[key] = value | ||
|
||
# Other tasks for your script can be performed here | ||
# ... | ||
|
||
# Return your output parameters to the caller | ||
return outputs | ||
# Copyright (c) Laserfiche. | ||
# Licensed under the MIT License. See LICENSE in the project root for license information. | ||
|
||
from typing import Dict | ||
|
||
|
||
def YourScriptMethod(inputs: Dict[str, str]) -> Dict[str, str]: | ||
""" | ||
The main function for your script. | ||
:param inputs: An object representing the input parameters passed to the script. | ||
:type inputs: dict[str, str] | ||
:return: An object representing the output parameters returned by the script. | ||
:rtype: dict[str, str] | ||
""" | ||
|
||
# Retrieve your input parameters from process.argv after parser | ||
outputs: Dict[str, str] = {} | ||
for key, value in inputs.items(): | ||
outputs[key] = value | ||
|
||
# Other tasks for your script can be performed here | ||
# ... | ||
|
||
# Return your output parameters to the caller | ||
return outputs |
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
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