Skip to content
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

Add support for syn:user and syn:role to repr/norm by name #3959

Merged
merged 8 commits into from
Oct 18, 2024

Conversation

invisig0th
Copy link
Contributor

No description provided.

Copy link

codecov bot commented Oct 17, 2024

Codecov Report

Attention: Patch coverage is 96.87500% with 2 lines in your changes missing coverage. Please review.

Project coverage is 96.31%. Comparing base (1f7b69d) to head (77de5af).
Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
synapse/models/syn.py 94.59% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3959      +/-   ##
==========================================
- Coverage   96.38%   96.31%   -0.07%     
==========================================
  Files         252      252              
  Lines       58499    58547      +48     
==========================================
+ Hits        56382    56389       +7     
- Misses       2117     2158      +41     
Flag Coverage Δ
linux 96.31% <96.87%> (+<0.01%) ⬆️
linux_replay ?

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

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

@invisig0th invisig0th changed the title WIP: Add support for syn:user and syn:role to repr/norm by name Add support for syn:user and syn:role to repr/norm by name Oct 18, 2024
Comment on lines +267 to +269
# TODO convert getUserByName() and getRoleByName()
# back from async? These were plumbed to avoid infecting
# type norm/repr functions with async...
Copy link
Contributor

Choose a reason for hiding this comment

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

Yeah I think we should do that when the deprecated auth:ctor config option is removed, no reason for them to be async

synapse/lib/stormtypes.py Outdated Show resolved Hide resolved
@invisig0th invisig0th merged commit b1dff23 into master Oct 18, 2024
5 checks passed
@invisig0th invisig0th deleted the visi-synuser-repr branch October 18, 2024 16:59
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