CSCfi/pebbles

View on GitHub
pebbles/client.py

Summary

Maintainability
A
3 hrs
Test Coverage

PBClient has 27 functions (exceeds 20 allowed). Consider refactoring.
Open

class PBClient:
    def __init__(self, token, api_base_url, ssl_verify=True):
        self.token = token
        self.api_base_url = api_base_url
        self.ssl_verify = ssl_verify
Severity: Minor
Found in pebbles/client.py - About 3 hrs to fix

    Function add_provisioning_log has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        def add_provisioning_log(self, application_session_id, message, timestamp=None, log_type='provisioning',
    Severity: Minor
    Found in pebbles/client.py - About 35 mins to fix

      There are no issues that match your filters.

      Category
      Status