Skip to content
This repository has been archived by the owner on Nov 24, 2024. It is now read-only.

Commit

Permalink
fix(deps): bump napalm from 4.1.0 to 5.0.0 (#59)
Browse files Browse the repository at this point in the history
* fix(deps): bump napalm from 4.1.0 to 5.0.0

Bumps [napalm](https://github.com/napalm-automation/napalm) from 4.1.0 to 5.0.0.
- [Release notes](https://github.com/napalm-automation/napalm/releases)
- [Commits](napalm-automation/napalm@4.1.0...5.0.0)

---
updated-dependencies:
- dependency-name: napalm
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

* fix: add format parameter to get_config

Signed-off-by: Ludovic Ortega <[email protected]>

* fix: ruff formatting

Signed-off-by: Ludovic Ortega <[email protected]>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: Ludovic Ortega <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ludovic Ortega <[email protected]>
  • Loading branch information
dependabot[bot] and M0NsTeRRR authored Apr 11, 2024
1 parent 82024bb commit b756fe4
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 17 deletions.
Empty file modified .devcontainer/postCreateCommand.sh
100644 → 100755
Empty file.
8 changes: 6 additions & 2 deletions napalm_fsos_ssh/fsos.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,11 @@ def cli(
return cli_output

def get_config(
self, retrieve: str = "all", full: bool = False, sanitized: bool = False
self,
retrieve: str = "all",
full: bool = False,
sanitized: bool = False,
format="text",
) -> models.ConfigDict:
data = {
"startup": "",
Expand Down Expand Up @@ -426,7 +430,7 @@ def get_lldp_neighbors(self) -> Dict[str, List[models.LLDPNeighborDict]]:

def get_lldp_neighbors_detail(
self, interface: str = ""
) -> models.LLDPNeighborsDetailDict:
) -> Dict[str, List[models.LLDPNeighborDetailDict]]:
commands = {}
if interface == "":
command = "show lldp neighbor"
Expand Down
27 changes: 13 additions & 14 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ include = [

[tool.poetry.dependencies]
python = ">3.8,<3.12"
napalm = ">=4.0,<4.2"
napalm = ">=4.0,<5.1"

[tool.poetry.group.dev.dependencies]
pytest = ">=7.4.4,<8.2.0"
Expand Down

0 comments on commit b756fe4

Please sign in to comment.