Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changed package to be github-flow compatible. #346

Merged
merged 1 commit into from
Aug 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Release python package

on:
push:
tags:
- "*"
release:
types:
- released

jobs:
deploy_docs:
Expand Down Expand Up @@ -47,6 +47,8 @@ jobs:
python-version: "3.11"
- name: Install deps
run: poetry install
- name: Set version
run: poetry version "${{ github.ref_name }}"
- name: Release package
env:
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "taskiq"
version = "0.11.6"
version = "0.0.0"
description = "Distributed task queue with full async support"
authors = ["Pavel Kirilin <[email protected]>"]
maintainers = ["Pavel Kirilin <[email protected]>"]
Expand Down
4 changes: 2 additions & 2 deletions taskiq/scheduler/created_schedule.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,12 @@ async def unschedule(self) -> None:

def __str__(self) -> str:
return (
"CreatedSchedule("
"CreatedSchedule<"
f"id={self.schedule_id}, "
f"time={self.task.time}, "
f"cron={self.task.cron}, "
f"cron_offset={self.task.cron_offset or 'UTC'}, "
f"task_name={self.task.task_name}, "
f"args={self.task.args}, "
f"kwargs={self.task.kwargs})"
f"kwargs={self.task.kwargs}>"
)
Loading