Skip to content

Commit

Permalink
fix for daglint and improved wording in doc
Browse files Browse the repository at this point in the history
  • Loading branch information
forrejam committed Sep 16, 2024
1 parent 992ec38 commit 87f350f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/user_guide/basic_usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ scrapli supports parsing output with TextFSM and ntc-templates. This of course r
`textfsm_parse_output` method of the response object. This method will attempt to find the template for you
-- based on the textfsm-platform and the channel-input (the command sent). If textfsm parsing succeeds, the
structured result is returned. If textfsm parsing fails, an empty list is returned. The `textfsm_parse_output` method
also accepts the `raise_err` field to allow parsing exceptions to be handled by the caller.
also accepts an optional `raise_err` argument to allow parsing exceptions to be handled by the caller.

```python
from scrapli.driver.core import IOSXEDriver
Expand Down
1 change: 1 addition & 0 deletions scrapli/response.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ def textfsm_parse_output(
to_dict: convert textfsm output from list of lists to list of dicts -- basically create
dict from header and row data so it is easier to read/parse the output
raise_err: exceptions in the textfsm parser will raised for the caller to handle
Returns:
structured_result: empty list or parsed data from textfsm
Expand Down

0 comments on commit 87f350f

Please sign in to comment.