Skip to content

Commit e6310c5

Browse files
author
Dani Reinón
committed
sort imports
1 parent 315a303 commit e6310c5

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

postgrest_py/_async/request_builder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
from typing import Any, Optional, Tuple
22

33
from postgrest_py.base_request_builder import (
4+
APIResponse,
45
BaseFilterRequestBuilder,
56
BaseSelectRequestBuilder,
67
CountMethod,
@@ -9,7 +10,6 @@
910
pre_select,
1011
pre_update,
1112
pre_upsert,
12-
APIResponse,
1313
)
1414
from postgrest_py.types import ReturnMethod
1515
from postgrest_py.utils import AsyncClient

postgrest_py/_sync/request_builder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
from typing import Any, Optional, Tuple
22

33
from postgrest_py.base_request_builder import (
4+
APIResponse,
45
BaseFilterRequestBuilder,
56
BaseSelectRequestBuilder,
67
CountMethod,
@@ -9,7 +10,6 @@
910
pre_select,
1011
pre_update,
1112
pre_upsert,
12-
APIResponse,
1313
)
1414
from postgrest_py.types import ReturnMethod
1515
from postgrest_py.utils import SyncClient

postgrest_py/base_request_builder.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
11
from __future__ import annotations
2+
23
from re import search
34
from typing import Any, Dict, Iterable, Optional, Tuple, Union
45

6+
from httpx import Response as RequestResponse
7+
from pydantic import BaseModel
8+
59
from postgrest_py.types import CountMethod, Filters, RequestMethod, ReturnMethod
610
from postgrest_py.utils import (
711
AsyncClient,
812
SyncClient,
913
sanitize_param,
1014
sanitize_pattern_param,
1115
)
12-
from pydantic import BaseModel
13-
from httpx import Response as RequestResponse
1416

1517

1618
def pre_select(

0 commit comments

Comments
 (0)