Skip to content

[Feat] doc: improve python example when a required parameter has multiple options but no default #5580

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

Open
petrasovaa opened this issue Apr 23, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@petrasovaa
Copy link
Contributor

In the new documentation of v.generalize the method option shows "string":

gs.run_command("v.generalize", input="name", output="name", method="string", threshold=float)

which is not a valid option.

Describe the solution you'd like
It would pick e.g. the first option, so that the example runs.

(The threshold is not set, so it won't run, but that's a separate issue.)

@petrasovaa petrasovaa added the enhancement New feature or request label Apr 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant