Skip to content

Conversation

@ktlim
Copy link
Contributor

@ktlim ktlim commented Mar 3, 2024

Checklist

  • ran Jenkins
  • added a release note for user-visible changes to doc/changes

@codecov
Copy link

codecov bot commented Mar 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.47%. Comparing base (556ed13) to head (0aa71e5).

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #970   +/-   ##
=======================================
  Coverage   89.47%   89.47%           
=======================================
  Files         367      367           
  Lines       49198    49198           
  Branches     5960     5960           
=======================================
  Hits        44022    44022           
  Misses       3757     3757           
  Partials     1419     1419           

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


Registry methods accepting user expressions also accept a ``bind`` parameter, which is a mapping from identifier name to its corresponding value.
Identifiers appearing in user expressions will be replaced with the corresponding value from this mapping.
Choose bind identifiers that are distinct and not the same as a dimension or dimension attribute name.
Copy link
Member

@timj timj Mar 3, 2024

Choose a reason for hiding this comment

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

The second half of this comment is only true if the dimension attribute is an integer or string and it gets promoted to be a dimension at some point in the future... Floating point attributes can't become dimensions. I realize it's easy to tell people never to do it though.

@timj timj force-pushed the u/ktl/clarify-bind-ids branch from b50ef8c to d8ca1f7 Compare June 27, 2024 15:42
@timj timj force-pushed the u/ktl/clarify-bind-ids branch from d8ca1f7 to eb1fd68 Compare November 1, 2024 22:01
@timj timj force-pushed the u/ktl/clarify-bind-ids branch from eb1fd68 to 539cda5 Compare February 7, 2025 16:11
@timj timj force-pushed the u/ktl/clarify-bind-ids branch from 539cda5 to 0aa71e5 Compare February 11, 2025 12:15
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