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

Type-hints + refactoring #2018

Open
wants to merge 29 commits into
base: 0.6.0
Choose a base branch
from
Open

Conversation

doublehomixide
Copy link

@doublehomixide doublehomixide commented Jan 3, 2025

Description

fix code style, add overload for publish method

Type of change

Please delete options that are not relevant.

  • New feature (a non-breaking change that adds functionality)

Checklist

  • My code adheres to the style guidelines of this project (scripts/lint.sh shows no errors)
  • I have conducted a self-review of my own code
  • My changes do not generate any new warnings

doublehomixide and others added 29 commits December 27, 2024 14:07
a way better style of code
…rtai#2005)

* chore(deps): bump the pip group across 1 directory with 6 updates

Bumps the pip group with 6 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [mkdocs-material](https://github.com/squidfunk/mkdocs-material) | `9.5.48` | `9.5.49` |
| [mypy](https://github.com/python/mypy) | `1.13.0` | `1.14.0` |
| [ruff](https://github.com/astral-sh/ruff) | `0.8.2` | `0.8.4` |
| [semgrep](https://github.com/returntocorp/semgrep) | `1.99.0` | `1.101.0` |
| [coverage[toml]](https://github.com/nedbat/coveragepy) | `7.6.1` | `7.6.9` |
| [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio) | `0.24.0` | `0.25.0` |



Updates `mkdocs-material` from 9.5.48 to 9.5.49
- [Release notes](https://github.com/squidfunk/mkdocs-material/releases)
- [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG)
- [Commits](squidfunk/mkdocs-material@9.5.48...9.5.49)

Updates `mypy` from 1.13.0 to 1.14.0
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](python/mypy@v1.13.0...v1.14.0)

Updates `ruff` from 0.8.2 to 0.8.4
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](astral-sh/ruff@0.8.2...0.8.4)

Updates `semgrep` from 1.99.0 to 1.101.0
- [Release notes](https://github.com/returntocorp/semgrep/releases)
- [Changelog](https://github.com/semgrep/semgrep/blob/develop/CHANGELOG.md)
- [Commits](semgrep/semgrep@v1.99.0...v1.101.0)

Updates `coverage[toml]` from 7.6.1 to 7.6.9
- [Release notes](https://github.com/nedbat/coveragepy/releases)
- [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst)
- [Commits](nedbat/coveragepy@7.6.1...7.6.9)

Updates `pytest-asyncio` from 0.24.0 to 0.25.0
- [Release notes](https://github.com/pytest-dev/pytest-asyncio/releases)
- [Commits](pytest-dev/pytest-asyncio@v0.24.0...v0.25.0)

---
updated-dependencies:
- dependency-name: mkdocs-material
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pip
- dependency-name: mypy
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pip
- dependency-name: ruff
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pip
- dependency-name: semgrep
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pip
- dependency-name: coverage[toml]
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pip
- dependency-name: pytest-asyncio
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pip
...

Signed-off-by: dependabot[bot] <[email protected]>

* Update pyproject.toml

* Update pyproject.toml

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Pastukhov Nikita <[email protected]>
* fix: Disabled excessive throttling for BatchSubscriber.

* fix: Use separate thread for confluent kafka consumer.

* refactor: Added run_in_executor function.

* fix: Stop consumer client after consumer tasks are stopped.
* Feat: add tests

* Feat: add concurrent subscriber

* Fix: revert ruff

* Fix: again ruff

* Fix: fastapi init

* Fix: inheritance

---------

Co-authored-by: Daniil Dumchenko <[email protected]>
Co-authored-by: Pastukhov Nikita <[email protected]>
* feat: declare queue/exchange binding

* docs: generate API References

* docs: reverting the changes and adding queue/exchange binding to the documentation

* docs: reverting the changes and adding queue/exchange binding to the documentation

* docs: reverting the changes and adding queue/exchange binding to the documentation

* docs: generate API References

* test: added some testing for the doc code snippet

* chore: polish docs

* tests: fix RMQ bind test

---------

Co-authored-by: MagicAbdel <[email protected]>
Co-authored-by: Nikita Pastukhov <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants