Skip to content

feat: export APIResponse and APIError from postgrest-py #152

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 2 commits into from
Feb 19, 2022

Conversation

dreinon
Copy link
Contributor

@dreinon dreinon commented Feb 19, 2022

To be merged after updating postgrest_py.

@dreinon dreinon changed the title Export api response and error feat: export APIResponse and APIError from postgrest-py Feb 19, 2022
@dreinon dreinon force-pushed the export-api-response-error branch from b0d4294 to 2a03fa3 Compare February 19, 2022 20:37
@sourcery-ai
Copy link
Contributor

sourcery-ai bot commented Feb 19, 2022

Sourcery Code Quality Report

❌  Merging this PR will decrease code quality in the affected files by 0.50%.

Quality metrics Before After Change
Complexity 0.00 ⭐ 0.00 ⭐ 0.00
Method Length 19.00 ⭐ 22.00 ⭐ 3.00 👎
Working memory 2.00 ⭐ 2.00 ⭐ 0.00
Quality 98.50% 98.00% -0.50% 👎
Other metrics Before After Change
Lines 8 10 2
Changed files Quality Before Quality After Quality Change
supabase/init.py 98.50% ⭐ 98.00% ⭐ -0.50% 👎

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!

@codecov
Copy link

codecov bot commented Feb 19, 2022

Codecov Report

Merging #152 (a84eff3) into develop (3588eba) will increase coverage by 0.11%.
The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #152      +/-   ##
===========================================
+ Coverage    65.29%   65.41%   +0.11%     
===========================================
  Files           10       10              
  Lines          291      292       +1     
===========================================
+ Hits           190      191       +1     
  Misses         101      101              
Impacted Files Coverage Δ
supabase/__init__.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3588eba...a84eff3. Read the comment docs.

@dreinon dreinon merged commit 21a69da into develop Feb 19, 2022
@dreinon dreinon deleted the export-api-response-error branch February 19, 2022 20:52
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.

1 participant