-
Notifications
You must be signed in to change notification settings - Fork 77
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
Deprecate project_name
in logfire.configure()
, remove old kwargs from signature
#428
Conversation
Deploying logfire-docs with Cloudflare Pages
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #428 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 130 130
Lines 9516 9527 +11
Branches 1229 1232 +3
=========================================
+ Hits 9516 9527 +11 ☔ View full report in Codecov by Sentry. |
@@ -144,11 +144,14 @@ class PydanticPlugin: | |||
"""Exclude specific modules from instrumentation.""" | |||
|
|||
|
|||
def configure( | |||
class DeprecatedKwargs(TypedDict): | |||
pass |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
By "undocumented" you mean you don't have type hints? and that's why you didn't add them here? 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, added a comment
Deprecated kwargs are now moved into
**kwargs: DeprecatedKwargs
and undocumented to leave the remaining docs cleaner.Internal discussion: https://pydantic.slack.com/archives/C05AF4A4WRM/p1725302678666539