Skip to content

Commit

Permalink
Fix method signature for get_config
Browse files Browse the repository at this point in the history
  • Loading branch information
jbemmel committed May 4, 2024
1 parent a83d5f3 commit 6c23e63
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion napalm_srl/srl.py
Original file line number Diff line number Diff line change
Expand Up @@ -1675,7 +1675,13 @@ def get_snmp_information(self):
# }


def get_config(self, retrieve='all', full=False, sanitized=False):
def get_config(
self,
retrieve: str = "all",
full: bool = False,
sanitized: bool = False,
format: str = "text", # Currently ignored
):
"""
:param retrieve: Which configuration type you want to populate, default is all of them. The rest will be set to “”.
:param full:Retrieve all the configuration. For instance, on ios, “sh run all”.
Expand Down

0 comments on commit 6c23e63

Please sign in to comment.