aboutsummaryrefslogtreecommitdiff
path: root/.venv/lib/python3.12/site-packages/postgrest/deprecated_client.py
blob: 1d7d9722d36f0ee5652a41305458b9b8512b512b (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
from __future__ import annotations

from deprecation import deprecated

from ._async.client import AsyncPostgrestClient
from .version import __version__


class Client(AsyncPostgrestClient):
    """Alias to PostgrestClient."""

    @deprecated("0.2.0", "1.0.0", __version__, "Use PostgrestClient instead")
    def __init__(self, *args, **kwargs):
        super().__init__(*args, **kwargs)


PostgrestClient = Client