Skip to content

Conversation

@EdCaunt
Copy link
Contributor

@EdCaunt EdCaunt commented Nov 13, 2024

Adds a default no-op _arg_values, _arg_check etc to any subclasses of AbstractSymbol.

@codecov
Copy link

codecov bot commented Nov 13, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 87.26%. Comparing base (2f18ab8) to head (acdcb1e).
Report is 3 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2482      +/-   ##
==========================================
- Coverage   87.26%   87.26%   -0.01%     
==========================================
  Files         238      238              
  Lines       45278    45271       -7     
  Branches     4022     4022              
==========================================
- Hits        39512    39505       -7     
  Misses       5085     5085              
  Partials      681      681              

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

Copy link
Contributor

@mloubout mloubout left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What issue is this for?



class Scalar(Symbol, ArgProvider):
class Scalar(Symbol):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well that was intentional

  • Scalar carry data
  • Symbol don't carry data

So the second one is not an arg provider as it does not have values

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's to remove the extraneous no-op methods in Thickness. Maybe DataSymbol should get ArgProvider instead then?

@mloubout mloubout added the API api (symbolics, types, ...) label Nov 13, 2024
@FabioLuporini FabioLuporini merged commit 0fe2027 into master Nov 13, 2024
@FabioLuporini FabioLuporini deleted the datasymbol branch November 13, 2024 16:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

API api (symbolics, types, ...)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants