jw-python/src/python
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jan Lindemann 819d6283bd
All checks were successful
CI / Packaging - Kali Linux (pull_request) Successful in 5m43s
CI / Packaging - OpenSUSE Tumbleweed (pull_request) Successful in 5m58s
CI / Packaging test (pull_request) Successful in 0s
auth.Auth: Add methods __eq__() and .__hash__()
Entity instances are compared by identity. The forge clients create a fresh
Owner object on every lookup, so two objects denoting the same user are
never equal, and equality-based matching - permission checks, caches keyed
on the entity - does not work.

Give Entity value equality: two entities are equal when they carry the same
kind and the same name. __hash__() is derived from the same fields, so
entities remain usable as dict keys and in sets.

Assisted-by: unsloth/Qwen3.8-27B-GGUF:Q4_K_M with pi.dev v1.6.0
Signed-off-by: Jan Lindemann <jan@janware.com>
2026-11-25 12:10:40 +01:00
..
jw auth.Auth: Add methods __eq__() and .__hash__() 2026-11-25 12:10:40 +01:00
jwutils style: Sync import formatting with current isort 2026-11-13 15:09:33 +01:00
Makefile jwutils: Move to jwutils -> jw.util 2026-06-11 23:10:25 +00:00