Skip to content

Add unit tests for pyamber customized_queue inner-class decorators #4779

Closed

Description

@Yicong-Huang

Task Summary

amber/src/main/python/core/util/customized_queue/inner.py ships a vendored @inner / @static_inner / @class_inner decorator family used by LinkedBlockingMultiQueue to attach inner classes to their outer scope. It has no dedicated spec. Add unit tests covering raw_inner passthrough, static_inner owner wiring, class_inner descriptor rejection, class_inner carried inheritance through outer-class subclasses, @inner instance binding (self.owner), @inner.property auto-instantiation, and @inner.cached_property per-outer-instance caching.

Task Type

  • Testing / QA

Activity

  1. added theissue type on May 3, 2026
  2. added a commit that references this issue on May 3, 2026
    d65745b
  3. added a commit that references this issue on Jun 22, 2026
    aa51e63
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions