From 7b147d6964e6390a93b069c6cc2a06bdc2c7651f Mon Sep 17 00:00:00 2001 From: eduardormorais Date: Thu, 28 Aug 2025 18:01:24 -0300 Subject: Feature - Separation of API communication logic into a separate class. Code adjustments and improvements. --- docs/source/conf.py | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) (limited to 'docs/source') diff --git a/docs/source/conf.py b/docs/source/conf.py index 4b3b786..c644a0d 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -6,33 +6,31 @@ # -- Project information ----------------------------------------------------- # https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information -project = 'pyvyos' -copyright = '2024, Roberto Berto' -author = 'Roberto Berto' -release = '0.2.1' +project = "pyvyos" +copyright = "2024, Roberto Berto" +author = "Roberto Berto" +release = "0.2.1" # -- General configuration --------------------------------------------------- # https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration -templates_path = ['_templates'] +templates_path = ["_templates"] exclude_patterns = [] - # -- Options for HTML output ------------------------------------------------- # https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output -html_theme = 'sphinx_rtd_theme' -html_static_path = ['_static'] +html_theme = "sphinx_rtd_theme" +html_static_path = ["_static"] import os import sys -sys.path.insert(0, os.path.abspath('../../pyvyos')) -extensions = [ - 'sphinx.ext.autodoc', - 'sphinx_rtd_theme', +sys.path.insert(0, os.path.abspath("../../pyvyos")) +extensions = [ + "sphinx.ext.autodoc", + "sphinx_rtd_theme", ] - -- cgit v1.2.3 From 33cbb56d994a523c5a68f037aed0912fea08fa4d Mon Sep 17 00:00:00 2001 From: eduardormorais Date: Fri, 29 Aug 2025 14:00:39 -0300 Subject: Feature/9910428810 - Updating version. --- docs/source/conf.py | 2 +- poetry.lock | 7 +++---- pyproject.toml | 4 ++-- pyvyos/rest.py | 1 - 4 files changed, 6 insertions(+), 8 deletions(-) (limited to 'docs/source') diff --git a/docs/source/conf.py b/docs/source/conf.py index c644a0d..bfa4675 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -9,7 +9,7 @@ project = "pyvyos" copyright = "2024, Roberto Berto" author = "Roberto Berto" -release = "0.2.1" +release = "0.3.0" # -- General configuration --------------------------------------------------- # https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration diff --git a/poetry.lock b/poetry.lock index cd92fd7..462f621 100644 --- a/poetry.lock +++ b/poetry.lock @@ -137,14 +137,13 @@ cli = ["click (>=5.0)"] [[package]] name = "requests" -version = "2.32.3" +version = "2.32.4" description = "Python HTTP for Humans." optional = false python-versions = ">=3.8" files = [ - {file = "requests-2.32.3-py3-none-any.whl", hash = "sha256:70761cfe03c773ceb22aa2f671b4757976145175cdfca038c02654d061d6dcc6"}, - {file = "requests-2.32.3.tar.gz", hash = "sha256:55365417734eb18255590a9ff9eb97e9e1da868d4ccd6402399eaf68af20a760"}, -] + {file = "requests-2.32.4-py3-none-any.whl", hash = "sha256:27babd3cda2a6d50b30443204ee89830707d396671944c998b5975b031ac2b2c"}, + {file = "requests-2.32.4.tar.gz", hash = "sha256:27d0316682c8a29834d3264820024b62a36942083d52caf2f14c0591336d3422"},] [package.dependencies] certifi = ">=2017.4.17" diff --git a/pyproject.toml b/pyproject.toml index 6eee47d..bfe74e3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "pyvyos" -version = "0.2.2" +version = "0.3.0" authors = [ { name="Roberto Berto", email="463349+robertoberto@users.noreply.github.com" }, ] @@ -34,7 +34,7 @@ dev-dependencies = [ name = "pyvyos" description = "Python SDK for interacting with VyOS API" authors = ["Roberto Berto <463349+robertoberto@users.noreply.github.com>"] -version = "0.2.2" +version = "0.3.0" [tool.poetry.dependencies] python = ">=3.8" diff --git a/pyvyos/rest.py b/pyvyos/rest.py index f67d2c2..22b95d5 100644 --- a/pyvyos/rest.py +++ b/pyvyos/rest.py @@ -52,7 +52,6 @@ class RestClient(ABC): port: Porta de acesso verify: Verificar certificados SSL timeout: Timeout de requisição em segundos - max_retries: Número máximo de tentativas de reconexão """ super().__init__() self.hostname = hostname -- cgit v1.2.3