Orange-OpenSource/python-onapsdk

View on GitHub
src/onapsdk/aai/business/pnf.py

Summary

Maintainability
B
5 hrs
Test Coverage
A
98%

Function __init__ has 31 arguments (exceeds 4 allowed). Consider refactoring.
Open

    def __init__(self,  # pylint: disable=too-many-arguments, too-many-locals
Severity: Major
Found in src/onapsdk/aai/business/pnf.py - About 3 hrs to fix

    Function __init__ has 32 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        def __init__(self,  # pylint: disable=too-many-arguments, too-many-locals
                     service_instance: "ServiceInstance",
                     pnf_name: str,
                     in_maint: bool,
                     selflink: str = None,
    Severity: Minor
    Found in src/onapsdk/aai/business/pnf.py - About 1 hr to fix

      Function pnf has a Cognitive Complexity of 6 (exceeds 5 allowed). Consider refactoring.
      Open

          def pnf(self) -> "Pnf":
              """Pnf associated with that pnf instance.
      
              Raises:
                  ResourceNotFound: Could not find PNF for that PNF instance
      Severity: Minor
      Found in src/onapsdk/aai/business/pnf.py - About 25 mins to fix

      Cognitive Complexity

      Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

      A method's cognitive complexity is based on a few simple rules:

      • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
      • Code is considered more complex for each "break in the linear flow of the code"
      • Code is considered more complex when "flow breaking structures are nested"

      Further reading

      Line too long (93 > 79 characters)
      Open

                  model_version_id (str, optional): The ASDC model version for this resource model.
      Severity: Minor
      Found in src/onapsdk/aai/business/pnf.py by pep8

      Limit all lines to a maximum of 79 characters.

      There are still many devices around that are limited to 80 character
      lines; plus, limiting windows to 80 characters makes it possible to
      have several windows side-by-side.  The default wrapping on such
      devices looks ugly.  Therefore, please limit all lines to a maximum
      of 79 characters. For flowing long blocks of text (docstrings or
      comments), limiting the length to 72 characters is recommended.
      
      Reports error E501.

      The backslash is redundant between brackets
      Open

                  "Get all pnf instances", \
      Severity: Minor
      Found in src/onapsdk/aai/business/pnf.py by pep8

      Avoid explicit line join between brackets.

      The preferred way of wrapping long lines is by using Python's
      implied line continuation inside parentheses, brackets and braces.
      Long lines can be broken over multiple lines by wrapping expressions
      in parentheses.  These should be used in preference to using a
      backslash for line continuation.
      
      E502: aaa = [123, \\n       123]
      E502: aaa = ("bbb " \\n       "ccc")
      
      Okay: aaa = [123,\n       123]
      Okay: aaa = ("bbb "\n       "ccc")
      Okay: aaa = "bbb " \\n    "ccc"
      Okay: aaa = 123  # \\

      Expected 2 blank lines, found 1
      Open

      class PnfInstance(Instance):  # pylint: disable=too-many-instance-attributes
      Severity: Minor
      Found in src/onapsdk/aai/business/pnf.py by pep8

      Separate top-level function and class definitions with two blank lines.

      Method definitions inside a class are separated by a single blank
      line.
      
      Extra blank lines may be used (sparingly) to separate groups of
      related functions.  Blank lines may be omitted between a bunch of
      related one-liners (e.g. a set of dummy implementations).
      
      Use blank lines in functions, sparingly, to indicate logical
      sections.
      
      Okay: def a():\n    pass\n\n\ndef b():\n    pass
      Okay: def a():\n    pass\n\n\nasync def b():\n    pass
      Okay: def a():\n    pass\n\n\n# Foo\n# Bar\n\ndef b():\n    pass
      Okay: default = 1\nfoo = 1
      Okay: classify = 1\nfoo = 1
      
      E301: class Foo:\n    b = 0\n    def bar():\n        pass
      E302: def a():\n    pass\n\ndef b(n):\n    pass
      E302: def a():\n    pass\n\nasync def b(n):\n    pass
      E303: def a():\n    pass\n\n\n\ndef b(n):\n    pass
      E303: def a():\n\n\n\n    pass
      E304: @decorator\n\ndef a():\n    pass
      E305: def a():\n    pass\na()
      E306: def a():\n    def b():\n        pass\n    def c():\n        pass

      Line too long (99 > 79 characters)
      Open

                  frame_id (str, optional): ID of the physical frame (relay rack) where pnf is installed.
      Severity: Minor
      Found in src/onapsdk/aai/business/pnf.py by pep8

      Limit all lines to a maximum of 79 characters.

      There are still many devices around that are limited to 80 character
      lines; plus, limiting windows to 80 characters makes it possible to
      have several windows side-by-side.  The default wrapping on such
      devices looks ugly.  Therefore, please limit all lines to a maximum
      of 79 characters. For flowing long blocks of text (docstrings or
      comments), limiting the length to 72 characters is recommended.
      
      Reports error E501.

      Line too long (81 > 79 characters)
      Open

                  ipaddress_v6_aim (str, optional): IPV6 AIM address. Defaults to None.
      Severity: Minor
      Found in src/onapsdk/aai/business/pnf.py by pep8

      Limit all lines to a maximum of 79 characters.

      There are still many devices around that are limited to 80 character
      lines; plus, limiting windows to 80 characters makes it possible to
      have several windows side-by-side.  The default wrapping on such
      devices looks ugly.  Therefore, please limit all lines to a maximum
      of 79 characters. For flowing long blocks of text (docstrings or
      comments), limiting the length to 72 characters is recommended.
      
      Reports error E501.

      Line too long (89 > 79 characters)
      Open

                  equip_vendor (str, optional): Equipment vendor. Source of truth should define
      Severity: Minor
      Found in src/onapsdk/aai/business/pnf.py by pep8

      Limit all lines to a maximum of 79 characters.

      There are still many devices around that are limited to 80 character
      lines; plus, limiting windows to 80 characters makes it possible to
      have several windows side-by-side.  The default wrapping on such
      devices looks ugly.  Therefore, please limit all lines to a maximum
      of 79 characters. For flowing long blocks of text (docstrings or
      comments), limiting the length to 72 characters is recommended.
      
      Reports error E501.

      Line too long (93 > 79 characters)
      Open

                  operational_status (str, optional): Store the operational-status for this object.
      Severity: Minor
      Found in src/onapsdk/aai/business/pnf.py by pep8

      Limit all lines to a maximum of 79 characters.

      There are still many devices around that are limited to 80 character
      lines; plus, limiting windows to 80 characters makes it possible to
      have several windows side-by-side.  The default wrapping on such
      devices looks ugly.  Therefore, please limit all lines to a maximum
      of 79 characters. For flowing long blocks of text (docstrings or
      comments), limiting the length to 72 characters is recommended.
      
      Reports error E501.

      Line too long (85 > 79 characters)
      Open

                  selflink (str, optional): URL to endpoint where AAI can get more details.
      Severity: Minor
      Found in src/onapsdk/aai/business/pnf.py by pep8

      Limit all lines to a maximum of 79 characters.

      There are still many devices around that are limited to 80 character
      lines; plus, limiting windows to 80 characters makes it possible to
      have several windows side-by-side.  The default wrapping on such
      devices looks ugly.  Therefore, please limit all lines to a maximum
      of 79 characters. For flowing long blocks of text (docstrings or
      comments), limiting the length to 72 characters is recommended.
      
      Reports error E501.

      The backslash is redundant between brackets
      Open

              for pnf_data in cls.send_message_json( \
      Severity: Minor
      Found in src/onapsdk/aai/business/pnf.py by pep8

      Avoid explicit line join between brackets.

      The preferred way of wrapping long lines is by using Python's
      implied line continuation inside parentheses, brackets and braces.
      Long lines can be broken over multiple lines by wrapping expressions
      in parentheses.  These should be used in preference to using a
      backslash for line continuation.
      
      E502: aaa = [123, \\n       123]
      E502: aaa = ("bbb " \\n       "ccc")
      
      Okay: aaa = [123,\n       123]
      Okay: aaa = ("bbb "\n       "ccc")
      Okay: aaa = "bbb " \\n    "ccc"
      Okay: aaa = 123  # \\

      Line too long (81 > 79 characters)
      Open

              You don't have to wait for that task finish, because it's not async task.
      Severity: Minor
      Found in src/onapsdk/aai/business/pnf.py by pep8

      Limit all lines to a maximum of 79 characters.

      There are still many devices around that are limited to 80 character
      lines; plus, limiting windows to 80 characters makes it possible to
      have several windows side-by-side.  The default wrapping on such
      devices looks ugly.  Therefore, please limit all lines to a maximum
      of 79 characters. For flowing long blocks of text (docstrings or
      comments), limiting the length to 72 characters is recommended.
      
      Reports error E501.

      Line too long (87 > 79 characters)
      Open

                         ipaddress_v4_loopback_0=api_response.get("ipaddress-v4-loopback-0"),
      Severity: Minor
      Found in src/onapsdk/aai/business/pnf.py by pep8

      Limit all lines to a maximum of 79 characters.

      There are still many devices around that are limited to 80 character
      lines; plus, limiting windows to 80 characters makes it possible to
      have several windows side-by-side.  The default wrapping on such
      devices looks ugly.  Therefore, please limit all lines to a maximum
      of 79 characters. For flowing long blocks of text (docstrings or
      comments), limiting the length to 72 characters is recommended.
      
      Reports error E501.

      Line too long (99 > 79 characters)
      Open

                  nf_role (str, optional): Nf Role is the role performed by this instance in the network.
      Severity: Minor
      Found in src/onapsdk/aai/business/pnf.py by pep8

      Limit all lines to a maximum of 79 characters.

      There are still many devices around that are limited to 80 character
      lines; plus, limiting windows to 80 characters makes it possible to
      have several windows side-by-side.  The default wrapping on such
      devices looks ugly.  Therefore, please limit all lines to a maximum
      of 79 characters. For flowing long blocks of text (docstrings or
      comments), limiting the length to 72 characters is recommended.
      
      Reports error E501.

      Line too long (85 > 79 characters)
      Open

                  admin_status (str, optional): admin Status of this PNF. Defaults to None.
      Severity: Minor
      Found in src/onapsdk/aai/business/pnf.py by pep8

      Limit all lines to a maximum of 79 characters.

      There are still many devices around that are limited to 80 character
      lines; plus, limiting windows to 80 characters makes it possible to
      have several windows side-by-side.  The default wrapping on such
      devices looks ugly.  Therefore, please limit all lines to a maximum
      of 79 characters. For flowing long blocks of text (docstrings or
      comments), limiting the length to 72 characters is recommended.
      
      Reports error E501.

      Line too long (95 > 79 characters)
      Open

                  pnf_ipv4_address (str, optional): This is the IP address (IPv4) for the PNF itself.
      Severity: Minor
      Found in src/onapsdk/aai/business/pnf.py by pep8

      Limit all lines to a maximum of 79 characters.

      There are still many devices around that are limited to 80 character
      lines; plus, limiting windows to 80 characters makes it possible to
      have several windows side-by-side.  The default wrapping on such
      devices looks ugly.  Therefore, please limit all lines to a maximum
      of 79 characters. For flowing long blocks of text (docstrings or
      comments), limiting the length to 72 characters is recommended.
      
      Reports error E501.

      Line too long (99 > 79 characters)
      Open

                  equip_type (str, optional): Equipment type. Source of truth should define valid values.
      Severity: Minor
      Found in src/onapsdk/aai/business/pnf.py by pep8

      Limit all lines to a maximum of 79 characters.

      There are still many devices around that are limited to 80 character
      lines; plus, limiting windows to 80 characters makes it possible to
      have several windows side-by-side.  The default wrapping on such
      devices looks ugly.  Therefore, please limit all lines to a maximum
      of 79 characters. For flowing long blocks of text (docstrings or
      comments), limiting the length to 72 characters is recommended.
      
      Reports error E501.

      Line too long (84 > 79 characters)
      Open

                  model_customization_id (str, optional): Store the model-customization-id
      Severity: Minor
      Found in src/onapsdk/aai/business/pnf.py by pep8

      Limit all lines to a maximum of 79 characters.

      There are still many devices around that are limited to 80 character
      lines; plus, limiting windows to 80 characters makes it possible to
      have several windows side-by-side.  The default wrapping on such
      devices looks ugly.  Therefore, please limit all lines to a maximum
      of 79 characters. For flowing long blocks of text (docstrings or
      comments), limiting the length to 72 characters is recommended.
      
      Reports error E501.

      Line too long (97 > 79 characters)
      Open

                      This is the IPv4 address that the PNF iself can be accessed at. Defaults to None.
      Severity: Minor
      Found in src/onapsdk/aai/business/pnf.py by pep8

      Limit all lines to a maximum of 79 characters.

      There are still many devices around that are limited to 80 character
      lines; plus, limiting windows to 80 characters makes it possible to
      have several windows side-by-side.  The default wrapping on such
      devices looks ugly.  Therefore, please limit all lines to a maximum
      of 79 characters. For flowing long blocks of text (docstrings or
      comments), limiting the length to 72 characters is recommended.
      
      Reports error E501.

      Line too long (95 > 79 characters)
      Open

                  in_maint (bool): Used to indicate whether or not this object is in maintenance mode
      Severity: Minor
      Found in src/onapsdk/aai/business/pnf.py by pep8

      Limit all lines to a maximum of 79 characters.

      There are still many devices around that are limited to 80 character
      lines; plus, limiting windows to 80 characters makes it possible to
      have several windows side-by-side.  The default wrapping on such
      devices looks ugly.  Therefore, please limit all lines to a maximum
      of 79 characters. For flowing long blocks of text (docstrings or
      comments), limiting the length to 72 characters is recommended.
      
      Reports error E501.

      Line too long (86 > 79 characters)
      Open

                  sw_version (str, optional): sw-version is the version of SW for the hosted
      Severity: Minor
      Found in src/onapsdk/aai/business/pnf.py by pep8

      Limit all lines to a maximum of 79 characters.

      There are still many devices around that are limited to 80 character
      lines; plus, limiting windows to 80 characters makes it possible to
      have several windows side-by-side.  The default wrapping on such
      devices looks ugly.  Therefore, please limit all lines to a maximum
      of 79 characters. For flowing long blocks of text (docstrings or
      comments), limiting the length to 72 characters is recommended.
      
      Reports error E501.

      Line too long (81 > 79 characters)
      Open

                  ipaddress_v6_oam (str, optional): IPV6 OAM address. Defaults to None.
      Severity: Minor
      Found in src/onapsdk/aai/business/pnf.py by pep8

      Limit all lines to a maximum of 79 characters.

      There are still many devices around that are limited to 80 character
      lines; plus, limiting windows to 80 characters makes it possible to
      have several windows side-by-side.  The default wrapping on such
      devices looks ugly.  Therefore, please limit all lines to a maximum
      of 79 characters. For flowing long blocks of text (docstrings or
      comments), limiting the length to 72 characters is recommended.
      
      Reports error E501.

      Line too long (94 > 79 characters)
      Open

                  prov_status (str, optional): Prov Status of this device (not under canopi control)
      Severity: Minor
      Found in src/onapsdk/aai/business/pnf.py by pep8

      Limit all lines to a maximum of 79 characters.

      There are still many devices around that are limited to 80 character
      lines; plus, limiting windows to 80 characters makes it possible to
      have several windows side-by-side.  The default wrapping on such
      devices looks ugly.  Therefore, please limit all lines to a maximum
      of 79 characters. For flowing long blocks of text (docstrings or
      comments), limiting the length to 72 characters is recommended.
      
      Reports error E501.

      Line too long (97 > 79 characters)
      Open

                      This is the IPv6 address that the PNF iself can be accessed at. Defaults to None.
      Severity: Minor
      Found in src/onapsdk/aai/business/pnf.py by pep8

      Limit all lines to a maximum of 79 characters.

      There are still many devices around that are limited to 80 character
      lines; plus, limiting windows to 80 characters makes it possible to
      have several windows side-by-side.  The default wrapping on such
      devices looks ugly.  Therefore, please limit all lines to a maximum
      of 79 characters. For flowing long blocks of text (docstrings or
      comments), limiting the length to 72 characters is recommended.
      
      Reports error E501.

      Line too long (87 > 79 characters)
      Open

                                       service_instance: "ServiceInstance") -> "PnfInstance":
      Severity: Minor
      Found in src/onapsdk/aai/business/pnf.py by pep8

      Limit all lines to a maximum of 79 characters.

      There are still many devices around that are limited to 80 character
      lines; plus, limiting windows to 80 characters makes it possible to
      have several windows side-by-side.  The default wrapping on such
      devices looks ugly.  Therefore, please limit all lines to a maximum
      of 79 characters. For flowing long blocks of text (docstrings or
      comments), limiting the length to 72 characters is recommended.
      
      Reports error E501.

      Line too long (95 > 79 characters)
      Open

                  ipaddress_v4_loopback_0 (str, optional): IPV4 Loopback 0 address. Defaults to None.
      Severity: Minor
      Found in src/onapsdk/aai/business/pnf.py by pep8

      Limit all lines to a maximum of 79 characters.

      There are still many devices around that are limited to 80 character
      lines; plus, limiting windows to 80 characters makes it possible to
      have several windows side-by-side.  The default wrapping on such
      devices looks ugly.  Therefore, please limit all lines to a maximum
      of 79 characters. For flowing long blocks of text (docstrings or
      comments), limiting the length to 72 characters is recommended.
      
      Reports error E501.

      Line too long (95 > 79 characters)
      Open

                  ipaddress_v6_loopback_0 (str, optional): IPV6 Loopback 0 address. Defaults to None.
      Severity: Minor
      Found in src/onapsdk/aai/business/pnf.py by pep8

      Limit all lines to a maximum of 79 characters.

      There are still many devices around that are limited to 80 character
      lines; plus, limiting windows to 80 characters makes it possible to
      have several windows side-by-side.  The default wrapping on such
      devices looks ugly.  Therefore, please limit all lines to a maximum
      of 79 characters. For flowing long blocks of text (docstrings or
      comments), limiting the length to 72 characters is recommended.
      
      Reports error E501.

      Line too long (95 > 79 characters)
      Open

                  inv_status (str, optional): CANOPI's inventory status. Only set with values exactly
      Severity: Minor
      Found in src/onapsdk/aai/business/pnf.py by pep8

      Limit all lines to a maximum of 79 characters.

      There are still many devices around that are limited to 80 character
      lines; plus, limiting windows to 80 characters makes it possible to
      have several windows side-by-side.  The default wrapping on such
      devices looks ugly.  Therefore, please limit all lines to a maximum
      of 79 characters. For flowing long blocks of text (docstrings or
      comments), limiting the length to 72 characters is recommended.
      
      Reports error E501.

      Line too long (90 > 79 characters)
      Open

                  model_invariant_id (str, optional): The ASDC model id for this resource model.
      Severity: Minor
      Found in src/onapsdk/aai/business/pnf.py by pep8

      Limit all lines to a maximum of 79 characters.

      There are still many devices around that are limited to 80 character
      lines; plus, limiting windows to 80 characters makes it possible to
      have several windows side-by-side.  The default wrapping on such
      devices looks ugly.  Therefore, please limit all lines to a maximum
      of 79 characters. For flowing long blocks of text (docstrings or
      comments), limiting the length to 72 characters is recommended.
      
      Reports error E501.

      Line too long (81 > 79 characters)
      Open

                         orchestration_status=api_response.get("orchestration-status"),
      Severity: Minor
      Found in src/onapsdk/aai/business/pnf.py by pep8

      Limit all lines to a maximum of 79 characters.

      There are still many devices around that are limited to 80 character
      lines; plus, limiting windows to 80 characters makes it possible to
      have several windows side-by-side.  The default wrapping on such
      devices looks ugly.  Therefore, please limit all lines to a maximum
      of 79 characters. For flowing long blocks of text (docstrings or
      comments), limiting the length to 72 characters is recommended.
      
      Reports error E501.

      Line too long (85 > 79 characters)
      Open

                         model_customization_id=api_response.get("model-customization-id"),
      Severity: Minor
      Found in src/onapsdk/aai/business/pnf.py by pep8

      Limit all lines to a maximum of 79 characters.

      There are still many devices around that are limited to 80 character
      lines; plus, limiting windows to 80 characters makes it possible to
      have several windows side-by-side.  The default wrapping on such
      devices looks ugly.  Therefore, please limit all lines to a maximum
      of 79 characters. For flowing long blocks of text (docstrings or
      comments), limiting the length to 72 characters is recommended.
      
      Reports error E501.

      Line too long (94 > 79 characters)
      Open

                  service_instance (ServiceInstance): Service instance with which network is related
      Severity: Minor
      Found in src/onapsdk/aai/business/pnf.py by pep8

      Limit all lines to a maximum of 79 characters.

      There are still many devices around that are limited to 80 character
      lines; plus, limiting windows to 80 characters makes it possible to
      have several windows side-by-side.  The default wrapping on such
      devices looks ugly.  Therefore, please limit all lines to a maximum
      of 79 characters. For flowing long blocks of text (docstrings or
      comments), limiting the length to 72 characters is recommended.
      
      Reports error E501.

      Line too long (87 > 79 characters)
      Open

                         ipaddress_v6_loopback_0=api_response.get("ipaddress-v6-loopback-0"),
      Severity: Minor
      Found in src/onapsdk/aai/business/pnf.py by pep8

      Limit all lines to a maximum of 79 characters.

      There are still many devices around that are limited to 80 character
      lines; plus, limiting windows to 80 characters makes it possible to
      have several windows side-by-side.  The default wrapping on such
      devices looks ugly.  Therefore, please limit all lines to a maximum
      of 79 characters. For flowing long blocks of text (docstrings or
      comments), limiting the length to 72 characters is recommended.
      
      Reports error E501.

      Line too long (86 > 79 characters)
      Open

                      Must be empty on create, valid on update and delete. Defaults to None.
      Severity: Minor
      Found in src/onapsdk/aai/business/pnf.py by pep8

      Limit all lines to a maximum of 79 characters.

      There are still many devices around that are limited to 80 character
      lines; plus, limiting windows to 80 characters makes it possible to
      have several windows side-by-side.  The default wrapping on such
      devices looks ugly.  Therefore, please limit all lines to a maximum
      of 79 characters. For flowing long blocks of text (docstrings or
      comments), limiting the length to 72 characters is recommended.
      
      Reports error E501.

      Line too long (95 > 79 characters)
      Open

                  pnf_ipv6_address (str, optional): This is the IP address (IPv6) for the PNF itself.
      Severity: Minor
      Found in src/onapsdk/aai/business/pnf.py by pep8

      Limit all lines to a maximum of 79 characters.

      There are still many devices around that are limited to 80 character
      lines; plus, limiting windows to 80 characters makes it possible to
      have several windows side-by-side.  The default wrapping on such
      devices looks ugly.  Therefore, please limit all lines to a maximum
      of 79 characters. For flowing long blocks of text (docstrings or
      comments), limiting the length to 72 characters is recommended.
      
      Reports error E501.

      Line too long (83 > 79 characters)
      Open

                  orchestration_status (str, optional): Orchestration status of this pnf.
      Severity: Minor
      Found in src/onapsdk/aai/business/pnf.py by pep8

      Limit all lines to a maximum of 79 characters.

      There are still many devices around that are limited to 80 character
      lines; plus, limiting windows to 80 characters makes it possible to
      have several windows side-by-side.  The default wrapping on such
      devices looks ugly.  Therefore, please limit all lines to a maximum
      of 79 characters. For flowing long blocks of text (docstrings or
      comments), limiting the length to 72 characters is recommended.
      
      Reports error E501.

      Line too long (87 > 79 characters)
      Open

                      (maintenance mode = True). This field (in conjunction with prov_status)
      Severity: Minor
      Found in src/onapsdk/aai/business/pnf.py by pep8

      Limit all lines to a maximum of 79 characters.

      There are still many devices around that are limited to 80 character
      lines; plus, limiting windows to 80 characters makes it possible to
      have several windows side-by-side.  The default wrapping on such
      devices looks ugly.  Therefore, please limit all lines to a maximum
      of 79 characters. For flowing long blocks of text (docstrings or
      comments), limiting the length to 72 characters is recommended.
      
      Reports error E501.

      Line too long (96 > 79 characters)
      Open

                  management_option (str, optional): identifier of managed customer. Defaults to None.
      Severity: Minor
      Found in src/onapsdk/aai/business/pnf.py by pep8

      Limit all lines to a maximum of 79 characters.

      There are still many devices around that are limited to 80 character
      lines; plus, limiting windows to 80 characters makes it possible to
      have several windows side-by-side.  The default wrapping on such
      devices looks ugly.  Therefore, please limit all lines to a maximum
      of 79 characters. For flowing long blocks of text (docstrings or
      comments), limiting the length to 72 characters is recommended.
      
      Reports error E501.

      The backslash is redundant between brackets
      Open

                  "GET", \
      Severity: Minor
      Found in src/onapsdk/aai/business/pnf.py by pep8

      Avoid explicit line join between brackets.

      The preferred way of wrapping long lines is by using Python's
      implied line continuation inside parentheses, brackets and braces.
      Long lines can be broken over multiple lines by wrapping expressions
      in parentheses.  These should be used in preference to using a
      backslash for line continuation.
      
      E502: aaa = [123, \\n       123]
      E502: aaa = ("bbb " \\n       "ccc")
      
      Okay: aaa = [123,\n       123]
      Okay: aaa = ("bbb "\n       "ccc")
      Okay: aaa = "bbb " \\n    "ccc"
      Okay: aaa = 123  # \\

      The backslash is redundant between brackets
      Open

                  cls.get_all_url() \
      Severity: Minor
      Found in src/onapsdk/aai/business/pnf.py by pep8

      Avoid explicit line join between brackets.

      The preferred way of wrapping long lines is by using Python's
      implied line continuation inside parentheses, brackets and braces.
      Long lines can be broken over multiple lines by wrapping expressions
      in parentheses.  These should be used in preference to using a
      backslash for line continuation.
      
      E502: aaa = [123, \\n       123]
      E502: aaa = ("bbb " \\n       "ccc")
      
      Okay: aaa = [123,\n       123]
      Okay: aaa = ("bbb "\n       "ccc")
      Okay: aaa = "bbb " \\n    "ccc"
      Okay: aaa = 123  # \\

      Line too long (99 > 79 characters)
      Open

              PNF deletion it's just A&AI resource deletion. That's difference between another instances.
      Severity: Minor
      Found in src/onapsdk/aai/business/pnf.py by pep8

      Limit all lines to a maximum of 79 characters.

      There are still many devices around that are limited to 80 character
      lines; plus, limiting windows to 80 characters makes it possible to
      have several windows side-by-side.  The default wrapping on such
      devices looks ugly.  Therefore, please limit all lines to a maximum
      of 79 characters. For flowing long blocks of text (docstrings or
      comments), limiting the length to 72 characters is recommended.
      
      Reports error E501.

      Line too long (87 > 79 characters)
      Open

                  equip_model (str, optional): Equipment model. Source of truth should define
      Severity: Minor
      Found in src/onapsdk/aai/business/pnf.py by pep8

      Limit all lines to a maximum of 79 characters.

      There are still many devices around that are limited to 80 character
      lines; plus, limiting windows to 80 characters makes it possible to
      have several windows side-by-side.  The default wrapping on such
      devices looks ugly.  Therefore, please limit all lines to a maximum
      of 79 characters. For flowing long blocks of text (docstrings or
      comments), limiting the length to 72 characters is recommended.
      
      Reports error E501.

      Line too long (89 > 79 characters)
      Open

                  serial_number (str, optional): Serial number of the device. Defaults to None.
      Severity: Minor
      Found in src/onapsdk/aai/business/pnf.py by pep8

      Limit all lines to a maximum of 79 characters.

      There are still many devices around that are limited to 80 character
      lines; plus, limiting windows to 80 characters makes it possible to
      have several windows side-by-side.  The default wrapping on such
      devices looks ugly.  Therefore, please limit all lines to a maximum
      of 79 characters. For flowing long blocks of text (docstrings or
      comments), limiting the length to 72 characters is recommended.
      
      Reports error E501.

      Line too long (81 > 79 characters)
      Open

                  ipaddress_v4_aim (str, optional): IPV4 AIM address. Defaults to None.
      Severity: Minor
      Found in src/onapsdk/aai/business/pnf.py by pep8

      Limit all lines to a maximum of 79 characters.

      There are still many devices around that are limited to 80 character
      lines; plus, limiting windows to 80 characters makes it possible to
      have several windows side-by-side.  The default wrapping on such
      devices looks ugly.  Therefore, please limit all lines to a maximum
      of 79 characters. For flowing long blocks of text (docstrings or
      comments), limiting the length to 72 characters is recommended.
      
      Reports error E501.

      Line too long (84 > 79 characters)
      Open

              return f"{self.base_url}{self.api_version}/network/pnfs/pnf/{self.pnf_name}"
      Severity: Minor
      Found in src/onapsdk/aai/business/pnf.py by pep8

      Limit all lines to a maximum of 79 characters.

      There are still many devices around that are limited to 80 character
      lines; plus, limiting windows to 80 characters makes it possible to
      have several windows side-by-side.  The default wrapping on such
      devices looks ugly.  Therefore, please limit all lines to a maximum
      of 79 characters. For flowing long blocks of text (docstrings or
      comments), limiting the length to 72 characters is recommended.
      
      Reports error E501.

      Line too long (81 > 79 characters)
      Open

                                f"{self.url}?resource-version={self.resource_version}")
      Severity: Minor
      Found in src/onapsdk/aai/business/pnf.py by pep8

      Limit all lines to a maximum of 79 characters.

      There are still many devices around that are limited to 80 character
      lines; plus, limiting windows to 80 characters makes it possible to
      have several windows side-by-side.  The default wrapping on such
      devices looks ugly.  Therefore, please limit all lines to a maximum
      of 79 characters. For flowing long blocks of text (docstrings or
      comments), limiting the length to 72 characters is recommended.
      
      Reports error E501.

      There are no issues that match your filters.

      Category
      Status