Skip to content

Commit

Permalink
Add pragma
Browse files Browse the repository at this point in the history
  • Loading branch information
Kludex committed May 13, 2024
1 parent a7acd0a commit 997dfa8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion logfire/integrations/pydantic.py
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ class LogfirePydanticPlugin:
Set the `LOGFIRE_DISABLE_PYDANTIC_PLUGIN` environment variable to `true` to disable the plugin.
"""

if Version(pydantic.__version__) < Version('2.5.0'): # pragma: no branch
if Version(pydantic.__version__) < Version('2.5.0'): # pragma: no cover

def new_schema_validator( # type: ignore[reportRedeclaration]
self, schema: CoreSchema, config: CoreConfig | None, plugin_settings: dict[str, Any]
Expand Down

0 comments on commit 997dfa8

Please sign in to comment.