Skip to content

Conversation

@Kludex
Copy link
Member

@Kludex Kludex commented Jan 2, 2025

No description provided.

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Jan 2, 2025

Deploying logfire-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 556bf49
Status: ✅  Deploy successful!
Preview URL: https://de8fa95a.logfire-docs.pages.dev
Branch Preview URL: https://add-capture-request-body-and.logfire-docs.pages.dev

View logs

@codecov
Copy link

codecov bot commented Jan 3, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (47f3dca) to head (556bf49).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #769   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          137       137           
  Lines        10925     10873   -52     
  Branches       781       772    -9     
=========================================
- Hits         10925     10873   -52     

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

@Kludex Kludex force-pushed the add-capture-request-body-and-capture-response-body branch from b93f416 to 208f3aa Compare January 6, 2025 11:35
@Kludex Kludex requested a review from alexmojaki January 6, 2025 11:35
@cached_property
def text(self) -> str:
return decode_body(self.content, self.content_type_charset)
return self.content.decode(self.content_type_charset)
Copy link
Contributor

@alexmojaki alexmojaki Jan 6, 2025

Choose a reason for hiding this comment

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

Please inline this property, it's now simple enough that it's not useful to users, the fact that it can raise errors can surprise users, and it doesn't actually need to be cached.

@Kludex Kludex enabled auto-merge (squash) January 6, 2025 14:53
@Kludex Kludex merged commit 8284b3f into main Jan 6, 2025
14 checks passed
@Kludex Kludex deleted the add-capture-request-body-and-capture-response-body branch January 6, 2025 14:56
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