Commit b0938d2c authored by Javier Velázquez's avatar Javier Velázquez
Browse files

Code refactoring 4

parent 455ec60b
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -24,3 +24,5 @@ alert.db
.python-version
.agents/
.coverage
.ruff_cache/
.pytest_cache/
+4 −0
Original line number Diff line number Diff line
@@ -17,3 +17,7 @@ ignore = [
testpaths = ["src/tests"]
pythonpath = ["."]
addopts = "-v --tb=short"

[tool.pyright]
extraPaths = ["."]
+5 −5
Original line number Diff line number Diff line
@@ -18,12 +18,12 @@

from __future__ import annotations

from src.api.base_handler import BaseSliceHandler
from src.api.e2e_handler import E2EHandler
from src.api.ixia_handler import IxiaHandler
from src.api.handlers.base_handler import BaseSliceHandler
from src.api.handlers.e2e_handler import E2EHandler
from src.api.handlers.ixia_handler import IxiaHandler
from src.api.handlers.restconf_handler import RestconfHandler
from src.api.handlers.tfs_handler import TfsHandler
from src.api.main import Api
from src.api.restconf_handler import RestconfHandler
from src.api.tfs_handler import TfsHandler

__all__ = [
    "Api",
+33 −0
Original line number Diff line number Diff line
# Copyright 2022-2026 ETSI SDG TeraFlowSDN (TFS) (https://tfs.etsi.org/)
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# This file is an original contribution from Telefonica Innovación Digital S.L.

"""Handlers subpackage initialization."""

from __future__ import annotations

from src.api.handlers.base_handler import BaseSliceHandler
from src.api.handlers.e2e_handler import E2EHandler
from src.api.handlers.ixia_handler import IxiaHandler
from src.api.handlers.restconf_handler import RestconfHandler
from src.api.handlers.tfs_handler import TfsHandler

__all__ = [
    "BaseSliceHandler",
    "E2EHandler",
    "IxiaHandler",
    "RestconfHandler",
    "TfsHandler",
]
Loading