Skip to content

Remove _REDIRECT; serializer relies on _arg_spec only - #319

Merged
rozyczko merged 1 commit into
292-remove-objbasefrom
157-remove-redirect-rebased
Oct 5, 2026
Merged

rozyczko merged 1 commit into
292-remove-objbasefrom
157-remove-redirect-rebased

Conversation

@rozyczko

@rozyczko rozyczko commented Oct 5, 2026 •

Copy link
Copy Markdown
Member

Properly rebased branch, without extra artifacts from merging 292-remove-objbase

Look at #314 to find more info

Removed the _REDIRECT mechanism from DescriptorBase and Parameter, and updated the _convert_to_dict method in SerializerBase to use only _arg_spec for determining which attributes to serialize.

@rozyczko rozyczko added [scope] maintenance Code/tooling cleanup, no feature or bugfix (major.minor.PATCH) [priority] high Should be prioritized soon [area] parameters and descriptors Anything related to Parameters or Descriptors [area] base classes Changes to or creation of new base classes labels Oct 5, 2026
@codecov

codecov Bot commented Oct 5, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (292-remove-objbase@0f1fb8b). Learn more about missing BASE report.

Additional details and impacted files

Impacted file tree graph

@@                  Coverage Diff                  @@
##             292-remove-objbase     #319   +/-   ##
=====================================================
  Coverage                      ?   94.12%           
=====================================================
  Files                         ?       52           
  Lines                         ?     4139           
  Branches                      ?        0           
=====================================================
  Hits                          ?     3896           
  Misses                        ?      243           
  Partials                      ?        0           
Flag Coverage Δ
unittests 94.12% <100.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
src/easyscience/io/serializer_base.py 98.15% <100.00%> (ø)
src/easyscience/variable/descriptor_base.py 96.22% <ø> (ø)
src/easyscience/variable/parameter.py 95.24% <100.00%> (ø)

@rozyczko

rozyczko commented Oct 5, 2026

Copy link
Copy Markdown
Member Author

Since the original PR was approved, I will be merging this.

@rozyczko
rozyczko merged commit e5bbff6 into 292-remove-objbase Oct 5, 2026
32 checks passed
@rozyczko
rozyczko deleted the 157-remove-redirect-rebased branch October 5, 2026 17:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[area] base classes Changes to or creation of new base classes [area] parameters and descriptors Anything related to Parameters or Descriptors [priority] high Should be prioritized soon [scope] maintenance Code/tooling cleanup, no feature or bugfix (major.minor.PATCH)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant