Skip to content

[bot] Merge master/a19bac34 into rel/dev#1381

Merged
yenkins-admin merged 2 commits intorel/devfrom
snapshot-master-a19bac34-to-rel/dev
Mar 2, 2026
Merged

[bot] Merge master/a19bac34 into rel/dev#1381
yenkins-admin merged 2 commits intorel/devfrom
snapshot-master-a19bac34-to-rel/dev

Conversation

@yenkins-admin
Copy link
Contributor

🚀 Automated PR to perform merge from master into rel/dev with changes up to a19bac3 (created by https://github.com/gooddata/gooddata-python-sdk/actions/runs/22579174023).

hkad98 and others added 2 commits March 2, 2026 13:25
… models

Unify attrs usage to the modern `@define` API (recommended since attrs 20.1.0).
This eliminates three co-existing styles (@attr.s, @attrs.define, @define with
redundant auto_attribs) in favor of a single consistent pattern: bare `@define`
with `from attrs import define, field, ...`.

Key changes across 82 files:
- @attr.s / @attr.s(auto_attribs=True) → @define
- @attr.s(auto_attribs=True, kw_only=True) → @define(kw_only=True)
- @attrs.define(...) → @define(...)
- Dropped redundant auto_attribs=True from existing @define calls
- attr.field/Factory/asdict/Attribute → field/Factory/asdict/Attribute
- import attr / import attrs → from attrs import define, ...
- from attr.setters → from attrs.setters

Enables slots=True by default (@define's default), which is safe here:
no dynamic attribute assignment, max 2-level inheritance, cattrs-compatible.

JIRA: trivial
risk: low
refactor(gooddata-sdk): migrate @attr.s to @define
@yenkins-admin yenkins-admin merged commit 3895b6d into rel/dev Mar 2, 2026
1 check passed
@yenkins-admin yenkins-admin deleted the snapshot-master-a19bac34-to-rel/dev branch March 2, 2026 13:57
@codecov
Copy link

codecov bot commented Mar 2, 2026

Codecov Report

❌ Patch coverage is 99.87421% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 77.55%. Comparing base (3698ce1) to head (a19bac3).
⚠️ Report is 445 commits behind head on rel/dev.

Files with missing lines Patch % Lines
packages/gooddata-sdk/src/gooddata_sdk/config.py 87.50% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           rel/dev    #1381      +/-   ##
===========================================
- Coverage    77.60%   77.55%   -0.06%     
===========================================
  Files          224      224              
  Lines        14466    14432      -34     
===========================================
- Hits         11227    11193      -34     
  Misses        3239     3239              

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

2 participants