aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/vk/utils/tracking/db/backend/null.py
blob: 139a9f059c94b9b12bb431c3ae645a5a53a53a1e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Copyright 2016 Egor Tensin <Egor.Tensin@gmail.com>
# This file is licensed under the terms of the MIT License.
# See LICENSE.txt for details.

from collections.abc import Iterable

class Writer:
    def __init__(self, fd):
        pass

    def __enter__(self):
        return self

    def __exit__(self, *args):
        pass

    def on_initial_status(self, user):
        pass

    def on_status_update(self, user):
        pass

    def on_connection_error(self, e):
        pass

class Reader(Iterable):
    def __init__(self, fd):
        pass

    def __enter__(self):
        return self

    def __exit__(self, *args):
        pass

    def __iter__(self):
        pass