Skip to content

Mark the cryotank iden keyword argument as deprecated. #3326

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

Merged
merged 3 commits into from
Sep 5, 2023

Conversation

vEpiphyte
Copy link
Contributor

The iden= argument on the CryoCell and CryoTank is marked as deprecated. It will be removed in v2.150.0.

Callers should track offsets locally.

@vEpiphyte vEpiphyte added this to the v2.14x.x milestone Sep 5, 2023
@@ -151,14 +151,15 @@ async def slice(self, offs, size=None, iden=None, wait=False, timeout=None):
Args:
offs (int): The index of the desired datum (starts at 0)
size (int): The max number of items to yield.
iden (str): The iden for offset tracking.
iden (str): The iden for offset tracking. This argument is deprecated. Callers should track offsets.
Copy link
Contributor

@mikemoritz mikemoritz Sep 5, 2023

Choose a reason for hiding this comment

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

puts() and rows() use this too; did you want to also mark those?

@codecov
Copy link

codecov bot commented Sep 5, 2023

Codecov Report

Patch coverage: 75.00% and project coverage change: -0.12% ⚠️

Comparison is base (1808dff) 97.29% compared to head (02bd33e) 97.18%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3326      +/-   ##
==========================================
- Coverage   97.29%   97.18%   -0.12%     
==========================================
  Files         228      228              
  Lines       46001    46013      +12     
==========================================
- Hits        44757    44718      -39     
- Misses       1244     1295      +51     
Flag Coverage Δ
linux 97.18% <75.00%> (-0.02%) ⬇️
linux_replay ?

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

Files Changed Coverage Δ
synapse/cryotank.py 91.57% <75.00%> (-1.12%) ⬇️

... and 10 files with indirect coverage changes

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

@vEpiphyte vEpiphyte merged commit 400389e into master Sep 5, 2023
@vEpiphyte vEpiphyte deleted the depr_cryotank_iden branch September 5, 2023 19:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants