Skip to content
This repository was archived by the owner on Sep 8, 2025. It is now read-only.

Conversation

@songololo
Copy link
Contributor

The delete user method is not working.

This seems to be due to a leftover from javascript style string formatting (dollar sign).

Proposed edits.

These seem to work in the case of my local development environment.

@sourcery-ai
Copy link
Contributor

sourcery-ai bot commented Jan 13, 2022

Sourcery Code Quality Report

Merging this PR leaves code quality unchanged.

Quality metrics Before After Change
Complexity 0.78 ⭐ 0.78 ⭐ 0.00
Method Length 40.44 ⭐ 40.44 ⭐ 0.00
Working memory 6.58 🙂 6.58 🙂 0.00
Quality 83.24% 83.24% 0.00%
Other metrics Before After Change
Lines 1232 1232 0
Changed files Quality Before Quality After Quality Change
gotrue/_async/api.py 83.17% ⭐ 83.17% ⭐ 0.00%
gotrue/_sync/api.py 83.31% ⭐ 83.31% ⭐ 0.00%

Here are some functions in these files that still need a tune-up:

File Function Complexity Length Working Memory Quality Recommendation

Legend and Explanation

The emojis denote the absolute quality of the code:

  • ⭐ excellent
  • 🙂 good
  • 😞 poor
  • ⛔ very poor

The 👍 and 👎 indicate whether the quality has improved or gotten worse with this pull request.


Please see our documentation here for details on how these metrics are calculated.

We are actively working on this report - lots more documentation and extra metrics to come!

Help us improve this quality report!

@leynier leynier linked an issue Jan 13, 2022 that may be closed by this pull request
@leynier leynier changed the title Fixes string formatting fix: string formatting Jan 13, 2022
@leynier leynier changed the title fix: string formatting fix: string formatting in delete_user Jan 13, 2022
@leynier leynier merged commit d783015 into supabase:main Jan 13, 2022
@leynier
Copy link
Contributor

leynier commented Jan 13, 2022

@songololo thank you very much for your contribution

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Mix js string with python fstring

3 participants