Skip to content

Commit fed030c

Browse files
committed
Fix changes in Tesseract core API
1 parent b576658 commit fed030c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tesseract_jax/tesseract_compat.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -108,13 +108,13 @@ def __init__(self, tesseract_client: Tesseract) -> None:
108108
]["properties"]
109109
)
110110

111-
self.differentiable_input_paths = self.client.input_schema[
112-
"differentiable_arrays"
113-
]
111+
self.differentiable_input_paths = self.client.openapi_schema["components"][
112+
"schemas"
113+
]["ApplyInputSchema"]["differentiable_arrays"]
114114

115-
self.differentiable_output_paths = self.client.output_schema[
116-
"differentiable_arrays"
117-
]
115+
self.differentiable_output_paths = self.client.openapi_schema["components"][
116+
"schemas"
117+
]["ApplyOutputSchema"]["differentiable_arrays"]
118118

119119
self.available_methods = self.client.available_endpoints
120120

0 commit comments

Comments
 (0)