GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

b2blaze.api   A
last analyzed

Complexity

Total Complexity 0

Size/Duplication

Total Lines 23
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
eloc 18
dl 0
loc 23
ccs 17
cts 17
cp 1
rs 10
c 0
b 0
f 0
wmc 0
1
# api.py
0 ignored issues
show
Coding Style introduced by
This module should have a docstring.

The coding style of this project requires that you add a docstring to this code element. Below, you find an example for methods:

class SomeClass:
    def some_method(self):
        """Do x and return foo."""

If you would like to know more about docstrings, we recommend to read PEP-257: Docstring Conventions.

Loading history...
2
# BackBlaze API endpoints
3
4 1
API_VERSION = '/b2api/v2'
5 1
BASE_URL = 'https://api.backblazeb2.com' + API_VERSION
6
7
8 1
class API():
0 ignored issues
show
Coding Style introduced by
This class should have a docstring.

The coding style of this project requires that you add a docstring to this code element. Below, you find an example for methods:

class SomeClass:
    def some_method(self):
        """Do x and return foo."""

If you would like to know more about docstrings, we recommend to read PEP-257: Docstring Conventions.

Loading history...
introduced by
Old-style class defined.
Loading history...
Coding Style introduced by
This class has no __init__ method.
Loading history...
9 1
    authorize = '/b2_authorize_account'
10 1
    delete_file = '/b2_hide_file'
11 1
    delete_file_version = '/b2_delete_file_version'
12 1
    file_info = '/b2_get_file_info'
13 1
    download_file_by_id = '/b2_download_file_by_id'
14 1
    list_all_files = '/b2_list_file_names'
15 1
    list_file_versions = '/b2_list_file_versions'
16 1
    upload_url = '/b2_get_upload_url'
17 1
    upload_large = '/b2_start_large_file'
18 1
    upload_large_part = '/b2_get_upload_part_url'
19 1
    upload_large_finish = '/b2_finish_large_file'
20 1
    create_bucket = '/b2_create_bucket'
21
    delete_bucket = '/b2_delete_bucket'
22
    list_all_buckets = '/b2_list_buckets'
0 ignored issues
show
Coding Style introduced by
Final newline missing
Loading history...