Skip to content

Commit aefb7d9

Browse files
stainless-app[bot]meorphis
authored andcommitted
fix(tests): correctly generate examples with writeOnly fields
1 parent dfd7861 commit aefb7d9

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

tests/api_resources/inference_pipelines/test_rows.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ def test_method_update_with_all_params(self, client: Openlayer) -> None:
3535
config={
3636
"ground_truth_column_name": "ground_truth",
3737
"human_feedback_column_name": "human_feedback",
38+
"inference_id_column_name": "id",
3839
"latency_column_name": "latency",
3940
"timestamp_column_name": "timestamp",
4041
},
@@ -100,6 +101,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncOpenlayer)
100101
config={
101102
"ground_truth_column_name": "ground_truth",
102103
"human_feedback_column_name": "human_feedback",
104+
"inference_id_column_name": "id",
103105
"latency_column_name": "latency",
104106
"timestamp_column_name": "timestamp",
105107
},

tests/api_resources/projects/test_inference_pipelines.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ def test_method_create_with_all_params(self, client: Openlayer) -> None:
4343
workspace={
4444
"name": "Openlayer",
4545
"slug": "openlayer",
46+
"invite_code": "inviteCode",
4647
"saml_only_access": True,
4748
"wildcard_domains": ["string"],
4849
},
@@ -161,6 +162,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncOpenlayer)
161162
workspace={
162163
"name": "Openlayer",
163164
"slug": "openlayer",
165+
"invite_code": "inviteCode",
164166
"saml_only_access": True,
165167
"wildcard_domains": ["string"],
166168
},

0 commit comments

Comments
 (0)