Skip to content

Commit

Permalink
Import Self from typing_extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
albireox committed Dec 21, 2024
1 parent 82033d5 commit 00bdfcd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ jobs:
run: |
uv pip install pytest pytest-mock pytest-asyncio pytest-cov
uv run pytest
env:
PYTEST_RABBITMQ_CTL: '/usr/lib/rabbitmq/bin/rabbitmqctl'
PYTEST_RABBITMQ_SERVER: '/usr/lib/rabbitmq/bin/rabbitmq-server'

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
Expand Down
2 changes: 1 addition & 1 deletion src/lvmopstools/pubsub.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@
Callable,
ClassVar,
Literal,
Self,
overload,
)

import aio_pika
from aio_pika.abc import AbstractIncomingMessage
from pydantic import BaseModel, Field
from typing_extensions import Self

from lvmopstools import config
from lvmopstools.retrier import Retrier
Expand Down

0 comments on commit 00bdfcd

Please sign in to comment.