Skip to content

Commit

Permalink
fix pyi
Browse files Browse the repository at this point in the history
  • Loading branch information
Lancetnik committed Jun 13, 2023
1 parent 2fb1d17 commit 5e90c07
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 30 deletions.
6 changes: 0 additions & 6 deletions propan/fastapi/kafka/router.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,7 @@ from propan.types import AnyCallable

Partition = TypeVar("Partition")

<<<<<<< HEAD
class KafkaRouter(PropanRouter):
broker: KafkaBroker

=======
class KafkaRouter(PropanRouter[KafkaBroker]):
>>>>>>> 1acd1a468477ed27a085d3d1c6f38d967e64f1f9
def __init__(
self,
bootstrap_servers: Union[str, List[str]] = "localhost",
Expand Down
6 changes: 0 additions & 6 deletions propan/fastapi/nats/router.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,7 @@ from propan.fastapi.core.router import PropanRouter
from propan.log import access_logger
from propan.types import AnyCallable

<<<<<<< HEAD
class NatsRouter(PropanRouter):
broker: NatsBroker

=======
class NatsRouter(PropanRouter[NatsBroker]):
>>>>>>> 1acd1a468477ed27a085d3d1c6f38d967e64f1f9
def __init__(
self,
servers: Union[str, List[str]] = ["nats://localhost:4222"], # noqa: B006
Expand Down
6 changes: 0 additions & 6 deletions propan/fastapi/rabbit/router.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,7 @@ from propan.fastapi.core import PropanRouter
from propan.log import access_logger
from propan.types import AnyCallable

<<<<<<< HEAD
class RabbitRouter(PropanRouter):
broker: RabbitBroker

=======
class RabbitRouter(PropanRouter[RabbitBroker]):
>>>>>>> 1acd1a468477ed27a085d3d1c6f38d967e64f1f9
def __init__(
self,
host: str = "localhost",
Expand Down
6 changes: 0 additions & 6 deletions propan/fastapi/redis/router.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,7 @@ from propan.fastapi.core.router import PropanRouter
from propan.log import access_logger
from propan.types import AnyCallable

<<<<<<< HEAD
class RedisRouter(PropanRouter):
broker: RedisBroker

=======
class RedisRouter(PropanRouter[RedisBroker]):
>>>>>>> 1acd1a468477ed27a085d3d1c6f38d967e64f1f9
def __init__(
self,
url: str = "redis://localhost:6379",
Expand Down
6 changes: 0 additions & 6 deletions propan/fastapi/sqs/router.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,7 @@ from propan.fastapi.core.router import PropanRouter
from propan.log import access_logger
from propan.types import AnyCallable

<<<<<<< HEAD
class SQSRouter(PropanRouter):
broker: SQSBroker

=======
class SQSRouter(PropanRouter[SQSBroker]):
>>>>>>> 1acd1a468477ed27a085d3d1c6f38d967e64f1f9
def __init__(
self,
url: str = "http://localhost:9324/",
Expand Down

0 comments on commit 5e90c07

Please sign in to comment.