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 10
10
11
11
def google_model_profile (model_name : str ) -> ModelProfile | None :
12
12
"""Get the model profile for a Google model."""
13
- import time
14
- time .sleep (0.001 )
15
13
return ModelProfile (
16
14
json_schema_transformer = GoogleJsonSchemaTransformer ,
17
15
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):
107
107
os .chdir (cwd )
108
108
sys .path .remove (str (tmp_path ))
109
109
110
+
110
111
@pytest .mark .xdist_group (name = 'doc_tests' )
111
112
@pytest .mark .parametrize ('example' , find_filter_examples ())
112
113
def test_docs_examples ( # noqa: C901
@@ -117,7 +118,7 @@ def test_docs_examples( # noqa: C901
117
118
allow_model_requests : None ,
118
119
env : TestEnv ,
119
120
tmp_path_cwd : Path ,
120
- benchmark : Any
121
+ benchmark : Any ,
121
122
):
122
123
mocker .patch ('pydantic_ai.agent.models.infer_model' , side_effect = mock_infer_model )
123
124
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