Skip to content

Commit e9759af

Browse files
committed
cleanup
1 parent a5b1982 commit e9759af

22 files changed

+192
-155
lines changed

sdks/python/hatchet_sdk/clients/events.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@
1919
)
2020
from hatchet_sdk.config import ClientConfig
2121
from hatchet_sdk.connection import new_conn
22+
from hatchet_sdk.contracts.events_pb2 import BulkPushEventRequest
23+
from hatchet_sdk.contracts.events_pb2 import Event as EventProto
24+
from hatchet_sdk.contracts.events_pb2 import Events as EventsProto
2225
from hatchet_sdk.contracts.events_pb2 import (
23-
BulkPushEventRequest,
2426
PushEventRequest,
2527
PutLogRequest,
2628
PutStreamEventRequest,
2729
)
28-
from hatchet_sdk.contracts.events_pb2 import Event as EventProto
29-
from hatchet_sdk.contracts.events_pb2 import Events as EventsProto
3030
from hatchet_sdk.contracts.events_pb2_grpc import EventsServiceStub
3131
from hatchet_sdk.logger import logger
3232
from hatchet_sdk.metadata import get_metadata

sdks/python/hatchet_sdk/contracts/dispatcher_pb2.py

Lines changed: 72 additions & 71 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdks/python/hatchet_sdk/contracts/dispatcher_pb2.pyi

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,12 @@
11
import datetime
2-
from collections.abc import Iterable as _Iterable
3-
from collections.abc import Mapping as _Mapping
4-
from typing import ClassVar as _ClassVar
5-
from typing import Optional as _Optional
6-
from typing import Union as _Union
72

8-
from google.protobuf import descriptor as _descriptor
9-
from google.protobuf import message as _message
103
from google.protobuf import timestamp_pb2 as _timestamp_pb2
114
from google.protobuf.internal import containers as _containers
125
from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
6+
from google.protobuf import descriptor as _descriptor
7+
from google.protobuf import message as _message
8+
from collections.abc import Iterable as _Iterable, Mapping as _Mapping
9+
from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
1310

1411
DESCRIPTOR: _descriptor.FileDescriptor
1512

sdks/python/hatchet_sdk/contracts/dispatcher_pb2_grpc.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
22
"""Client and server classes corresponding to protobuf-defined services."""
3-
import warnings
4-
53
import grpc
4+
import warnings
65

76
from hatchet_sdk.contracts import dispatcher_pb2 as dispatcher__pb2
87

sdks/python/hatchet_sdk/contracts/events_pb2.py

Lines changed: 2 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdks/python/hatchet_sdk/contracts/events_pb2.pyi

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
11
import datetime
2-
from collections.abc import Iterable as _Iterable
3-
from collections.abc import Mapping as _Mapping
4-
from typing import ClassVar as _ClassVar
5-
from typing import Optional as _Optional
6-
from typing import Union as _Union
72

8-
from google.protobuf import descriptor as _descriptor
9-
from google.protobuf import message as _message
103
from google.protobuf import timestamp_pb2 as _timestamp_pb2
114
from google.protobuf.internal import containers as _containers
5+
from google.protobuf import descriptor as _descriptor
6+
from google.protobuf import message as _message
7+
from collections.abc import Iterable as _Iterable, Mapping as _Mapping
8+
from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
129

1310
DESCRIPTOR: _descriptor.FileDescriptor
1411

sdks/python/hatchet_sdk/contracts/events_pb2_grpc.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
22
"""Client and server classes corresponding to protobuf-defined services."""
3-
import warnings
4-
53
import grpc
4+
import warnings
65

76
from hatchet_sdk.contracts import events_pb2 as events__pb2
87

sdks/python/hatchet_sdk/contracts/v1/dispatcher_pb2.py

Lines changed: 2 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdks/python/hatchet_sdk/contracts/v1/dispatcher_pb2.pyi

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,8 @@
1-
from collections.abc import Mapping as _Mapping
2-
from typing import ClassVar as _ClassVar
3-
from typing import Optional as _Optional
4-
from typing import Union as _Union
5-
1+
from hatchet_sdk.contracts.v1.shared import condition_pb2 as _condition_pb2
62
from google.protobuf import descriptor as _descriptor
73
from google.protobuf import message as _message
8-
9-
from hatchet_sdk.contracts.v1.shared import condition_pb2 as _condition_pb2
4+
from collections.abc import Mapping as _Mapping
5+
from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
106

117
DESCRIPTOR: _descriptor.FileDescriptor
128

sdks/python/hatchet_sdk/contracts/v1/dispatcher_pb2_grpc.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
22
"""Client and server classes corresponding to protobuf-defined services."""
3-
import warnings
4-
53
import grpc
4+
import warnings
65

76
from hatchet_sdk.contracts.v1 import dispatcher_pb2 as v1_dot_dispatcher__pb2
87

0 commit comments

Comments
 (0)