Skip to content

Commit

Permalink
Using get_template(name=) instead of get_template_by_name in doc to k…
Browse files Browse the repository at this point in the history
…eep up with code. (#114)

Thank you!
  • Loading branch information
gl-yziquel authored Oct 16, 2023
1 parent 4fb5496 commit 8697b03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/content/user-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ Template: Frame Relay switch -- ID: dd0f6f3a-ba58-3249-81cb-a1dd88407a47
Template: ATM switch -- ID: aaa764e2-b383-300f-8a0e-3493bbfdb7d2
"""

>>> server.get_template_by_name("Ethernet switch")
>>> server.get_template(name="Ethernet switch")
{'builtin': True,
'category': 'switch',
'console_type': 'none',
Expand Down

0 comments on commit 8697b03

Please sign in to comment.