-
Notifications
You must be signed in to change notification settings - Fork 7
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
feat: full endpoint support; refactor: numerous dev fixes and reworkings #184
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The SDK was sensitive to the fact that it was more or less required that the `__init__.py` files in `apimodels` modules/subpackages were manually updated. This change adds some reflection run during testing to catch cases where this was forgotten or overlooked. Notably, there were in fact unexposed classes (from my own doing), justifying at least in part the benefit of this change.
This will remove the requirement during test runs that the marked class implement hashing (`__hash__`)
See also 9e3d88a
…th 5 updates Updates the requirements on [pytest](https://github.com/pytest-dev/pytest), [mypy](https://github.com/python/mypy), [black](https://github.com/psf/black), [ruff](https://github.com/astral-sh/ruff) and [tox](https://github.com/tox-dev/tox) to permit the latest version. Updates `pytest` from 8.1.1 to 8.2.0 - [Release notes](https://github.com/pytest-dev/pytest/releases) - [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst) - [Commits](pytest-dev/pytest@8.1.1...8.2.0) Updates `mypy` from 1.9.0 to 1.10.0 - [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md) - [Commits](python/mypy@1.9.0...v1.10.0) Updates `black` from 24.3.0 to 24.4.2 - [Release notes](https://github.com/psf/black/releases) - [Changelog](https://github.com/psf/black/blob/main/CHANGES.md) - [Commits](psf/black@24.3.0...24.4.2) Updates `ruff` from 0.3.4 to 0.4.2 - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](astral-sh/ruff@v0.3.4...v0.4.2) Updates `tox` to 4.15.0 - [Release notes](https://github.com/tox-dev/tox/releases) - [Changelog](https://github.com/tox-dev/tox/blob/main/docs/changelog.rst) - [Commits](tox-dev/tox@4.14.2...4.15.0) --- updated-dependencies: - dependency-name: pytest dependency-type: direct:development update-type: version-update:semver-minor dependency-group: python-packages - dependency-name: mypy dependency-type: direct:development update-type: version-update:semver-minor dependency-group: python-packages - dependency-name: black dependency-type: direct:development update-type: version-update:semver-minor dependency-group: python-packages - dependency-name: ruff dependency-type: direct:development update-type: version-update:semver-minor dependency-group: python-packages - dependency-name: tox dependency-type: direct:development dependency-group: python-packages ... Signed-off-by: dependabot[bot] <[email protected]>
See Haidra-Org/AI-Horde#403 for more information.
tazlin
force-pushed
the
rework-object-mapping
branch
from
May 22, 2024 12:48
cd747d9
to
6a636a8
Compare
The class `RequestUsesImageWorkerMixin` was too specifically named; the object logically is inherited by both image and text requests
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
General features:
allmost non-moderator endpointsFixes:
Code quality/internal developer features:
__init__.py
files inapimodels
modules/subpackages were manually updated. This change adds some reflection run during testing to catch cases where this was forgotten or overlooked. Notably, there were in fact unexposed classes (from my own doing), justifying at least in part the benefit of this change.__hash__
be implemented for most API objects. However, many API responses are not reasonable candidates for hashing, as is especially evident with the stats data. However, generally, I would like to see this as an explicit opt-out requirement, hence the decorator.Relies on Haidra-Org/AI-Horde#403