File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
pydantic_ai_slim/pydantic_ai/profiles Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 1010
1111def google_model_profile (model_name : str ) -> ModelProfile | None :
1212 """Get the model profile for a Google model."""
13- import time
14- time .sleep (0.001 )
1513 return ModelProfile (
1614 json_schema_transformer = GoogleJsonSchemaTransformer ,
1715 supports_json_schema_output = True ,
Original file line number Diff line number Diff line change @@ -107,6 +107,7 @@ def tmp_path_cwd(tmp_path: Path):
107107 os .chdir (cwd )
108108 sys .path .remove (str (tmp_path ))
109109
110+
110111@pytest .mark .xdist_group (name = 'doc_tests' )
111112@pytest .mark .parametrize ('example' , find_filter_examples ())
112113def test_docs_examples ( # noqa: C901
@@ -117,7 +118,7 @@ def test_docs_examples( # noqa: C901
117118 allow_model_requests : None ,
118119 env : TestEnv ,
119120 tmp_path_cwd : Path ,
120- benchmark : Any
121+ benchmark : Any ,
121122):
122123 mocker .patch ('pydantic_ai.agent.models.infer_model' , side_effect = mock_infer_model )
123124 mocker .patch ('pydantic_ai._utils.group_by_temporal' , side_effect = mock_group_by_temporal )
You can’t perform that action at this time.
0 commit comments