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

Introduce Entity.__type__ to replace ApiMessage #114

Merged
merged 2 commits into from
Jan 8, 2024

Conversation

aiven-anton
Copy link
Collaborator

@aiven-anton aiven-anton commented Jan 3, 2024

Please review commit-by-commit, the changes are actually small but touches all generated models.

To help avoid future circular imports, and to align a bit better with
the established pattern for introspection, the `ApiMessage` class is
removed in favor of adding a `__type__` class attribute to all entities.
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (6e1eac6) 96.67% compared to head (3154565) 96.69%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #114      +/-   ##
==========================================
+ Coverage   96.67%   96.69%   +0.02%     
==========================================
  Files          14       14              
  Lines         992      999       +7     
  Branches      140      140              
==========================================
+ Hits          959      966       +7     
  Misses         29       29              
  Partials        4        4              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@aiven-anton aiven-anton marked this pull request as ready for review January 3, 2024 14:31
@ivanyu ivanyu self-assigned this Jan 8, 2024
@ivanyu ivanyu merged commit 74ab72d into main Jan 8, 2024
12 checks passed
@ivanyu ivanyu deleted the aiven-anton/redesign-api-message-marker branch January 8, 2024 13:40
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.

3 participants