Skip to content

Commit 3634765

Browse files
committed
make fmt
1 parent 4382ec4 commit 3634765

File tree

9 files changed

+31
-9
lines changed

9 files changed

+31
-9
lines changed

src/dispatch/experimental/durable/function.py

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,18 @@
99
MethodType,
1010
TracebackType,
1111
)
12-
from typing import Any, Callable, Coroutine, Generator, Optional, TypeVar, Union, cast, Dict, Tuple
12+
from typing import (
13+
Any,
14+
Callable,
15+
Coroutine,
16+
Dict,
17+
Generator,
18+
Optional,
19+
Tuple,
20+
TypeVar,
21+
Union,
22+
cast,
23+
)
1324

1425
from . import frame as ext
1526
from .registry import RegisteredFunction, lookup_function, register_function

src/dispatch/function.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@
1212
Dict,
1313
Generic,
1414
Iterable,
15+
List,
1516
Optional,
1617
TypeVar,
1718
overload,
18-
List
1919
)
2020
from urllib.parse import urlparse
2121

src/dispatch/proto.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
from dataclasses import dataclass
55
from traceback import format_exception
66
from types import TracebackType
7-
from typing import Any, Optional, Dict, Tuple, List
7+
from typing import Any, Dict, List, Optional, Tuple
88

99
import google.protobuf.any_pb2
1010
import google.protobuf.message

src/dispatch/scheduler.py

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,18 @@
22
import pickle
33
import sys
44
from dataclasses import dataclass, field
5-
from typing import Any, Awaitable, Callable, Optional, Protocol, Union, List, Dict, Tuple, Set
5+
from typing import (
6+
Any,
7+
Awaitable,
8+
Callable,
9+
Dict,
10+
List,
11+
Optional,
12+
Protocol,
13+
Set,
14+
Tuple,
15+
Union,
16+
)
617

718
from typing_extensions import TypeAlias
819

src/dispatch/signature/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import logging
22
from datetime import datetime, timedelta
3-
from typing import Sequence, cast, Set
3+
from typing import Sequence, Set, cast
44

55
import http_sfv
66
from cryptography.hazmat.primitives.asymmetric.ed25519 import (

src/dispatch/status.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import enum
2-
from typing import Any, Callable, Type, Dict
2+
from typing import Any, Callable, Dict, Type
33

44
from dispatch.error import IncompatibleStateError
55
from dispatch.sdk.v1 import status_pb2 as status_pb

src/dispatch/test/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import sys
21
import concurrent.futures
2+
import sys
33

44
import grpc
55

src/dispatch/test/service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import time
66
from collections import OrderedDict
77
from dataclasses import dataclass
8-
from typing import Optional, Dict, Tuple, List, Set
8+
from typing import Dict, List, Optional, Set, Tuple
99

1010
import grpc
1111
import httpx

tests/dispatch/test_scheduler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import unittest
2-
from typing import Any, Callable, Optional, List, Type
2+
from typing import Any, Callable, List, Optional, Type
33

44
from dispatch.coroutine import AnyException, any, call, gather, race
55
from dispatch.experimental.durable import durable

0 commit comments

Comments
 (0)