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.
Completed
Push — master ( 9f3e8d...05150b )
by Dmitry
01:01
created

ImagineAdapterInterface.create_cached_item()   A

Complexity

Conditions 1

Size

Total Lines 8

Duplication

Lines 0
Ratio 0 %
Metric Value
dl 0
loc 8
rs 9.4285
cc 1
1
"""
2
This module implement a storage adapter interface.
3
"""
4
5
6
class ImagineAdapterInterface(object):
7
    """
8
    Storage adapter interface
9
    """
10
    def get_item(self, path):
11
        """
12
        Get resource item
13
        :param path: string
14
        :return: Image
15
        """
16
        raise NotImplementedError()
17
18
    def create_cached_item(self, path, content):
19
        """
20
        Create cached resource item
21
        :param path: string
22
        :param content: Image
23
        :return:
24
        """
25
        raise NotImplementedError()
26
27
    def get_cached_item(self, path):
28
        """
29
        Get cached resource item
30
        :param path: string
31
        :return:
32
        """
33
        raise NotImplementedError()
34
35
    def check_cached_item(self, path):
36
        """
37
        Check for cached resource item exists
38
        :param path: string
39
        :return:
40
        """
41
        raise NotImplementedError()
42
43
    def remove_cached_item(self, path):
44
        """
45
        Remove cached resource item
46
        :param path: string
47
        :return:
48
        """
49
        raise NotImplementedError()
50