Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add discover_scripts service #22

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from
Draft

Conversation

malinovsku
Copy link

The discover_scripts method has been added for creating services, similar to native integration, but with some additions, optional constants FIELDS, DESCRIPTION, NAME for service parameters are expected in the script, an example below.
With this feature, it is easier to share scripts and services are clear to run.
The revision does not affect the previous functionality in any way, but only complements

NAME = "test"
DESCRIPTION = "new script"
FIELDS = {"url": {"required": True, "selector": {"template": ""}}}

@malinovsku malinovsku reopened this Jan 27, 2024
@malinovsku
Copy link
Author

pr updated for version 1.0.2

@malinovsku malinovsku marked this pull request as draft February 8, 2024 20:47
weissm added a commit to weissm/PythonScriptsPro that referenced this pull request Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant