-
-
Notifications
You must be signed in to change notification settings - Fork 452
Closed
Description
Describe the bug
The example at https://github.com/pyinfra-dev/pyinfra/blob/3.x/docs/api/operations.md is wrong. The shown file example operation uses 'name' as first argument, which is explicitly forbidden and does not work.
To Reproduce
Write any operation that uses 'name' in it's argument list and observe an exception.
Expected behavior
An example in the docs, that actually works. An automated test battery to prevent wrong examples entering the docs. These are actually worse than no examples at all.
Metadata
Metadata
Assignees
Labels
No labels