|
16 | 16 | from ..errors.not_found_error import NotFoundError |
17 | 17 | from ..types.add_triple_response import AddTripleResponse |
18 | 18 | from ..types.api_error import ApiError as types_api_error_ApiError |
19 | | -from ..types.apidata_detect_patterns_response import ApidataDetectPatternsResponse |
20 | 19 | from ..types.clone_graph_response import CloneGraphResponse |
21 | 20 | from ..types.custom_instruction import CustomInstruction |
22 | 21 | from ..types.detect_config import DetectConfig |
| 22 | +from ..types.detect_patterns_response import DetectPatternsResponse |
23 | 23 | from ..types.edge_type import EdgeType |
24 | 24 | from ..types.entity_type import EntityType |
25 | 25 | from ..types.entity_type_response import EntityTypeResponse |
@@ -1094,7 +1094,7 @@ def detect_patterns( |
1094 | 1094 | seeds: typing.Optional[PatternSeeds] = OMIT, |
1095 | 1095 | user_id: typing.Optional[str] = OMIT, |
1096 | 1096 | request_options: typing.Optional[RequestOptions] = None, |
1097 | | - ) -> HttpResponse[ApidataDetectPatternsResponse]: |
| 1097 | + ) -> HttpResponse[DetectPatternsResponse]: |
1098 | 1098 | """ |
1099 | 1099 | Detects structural patterns in a knowledge graph including relationship frequencies, |
1100 | 1100 | multi-hop paths, co-occurrences, hubs, and clusters. |
@@ -1136,7 +1136,7 @@ def detect_patterns( |
1136 | 1136 |
|
1137 | 1137 | Returns |
1138 | 1138 | ------- |
1139 | | - HttpResponse[ApidataDetectPatternsResponse] |
| 1139 | + HttpResponse[DetectPatternsResponse] |
1140 | 1140 | Detected patterns |
1141 | 1141 | """ |
1142 | 1142 | _response = self._client_wrapper.httpx_client.request( |
@@ -1168,9 +1168,9 @@ def detect_patterns( |
1168 | 1168 | try: |
1169 | 1169 | if 200 <= _response.status_code < 300: |
1170 | 1170 | _data = typing.cast( |
1171 | | - ApidataDetectPatternsResponse, |
| 1171 | + DetectPatternsResponse, |
1172 | 1172 | parse_obj_as( |
1173 | | - type_=ApidataDetectPatternsResponse, # type: ignore |
| 1173 | + type_=DetectPatternsResponse, # type: ignore |
1174 | 1174 | object_=_response.json(), |
1175 | 1175 | ), |
1176 | 1176 | ) |
@@ -2636,7 +2636,7 @@ async def detect_patterns( |
2636 | 2636 | seeds: typing.Optional[PatternSeeds] = OMIT, |
2637 | 2637 | user_id: typing.Optional[str] = OMIT, |
2638 | 2638 | request_options: typing.Optional[RequestOptions] = None, |
2639 | | - ) -> AsyncHttpResponse[ApidataDetectPatternsResponse]: |
| 2639 | + ) -> AsyncHttpResponse[DetectPatternsResponse]: |
2640 | 2640 | """ |
2641 | 2641 | Detects structural patterns in a knowledge graph including relationship frequencies, |
2642 | 2642 | multi-hop paths, co-occurrences, hubs, and clusters. |
@@ -2678,7 +2678,7 @@ async def detect_patterns( |
2678 | 2678 |
|
2679 | 2679 | Returns |
2680 | 2680 | ------- |
2681 | | - AsyncHttpResponse[ApidataDetectPatternsResponse] |
| 2681 | + AsyncHttpResponse[DetectPatternsResponse] |
2682 | 2682 | Detected patterns |
2683 | 2683 | """ |
2684 | 2684 | _response = await self._client_wrapper.httpx_client.request( |
@@ -2710,9 +2710,9 @@ async def detect_patterns( |
2710 | 2710 | try: |
2711 | 2711 | if 200 <= _response.status_code < 300: |
2712 | 2712 | _data = typing.cast( |
2713 | | - ApidataDetectPatternsResponse, |
| 2713 | + DetectPatternsResponse, |
2714 | 2714 | parse_obj_as( |
2715 | | - type_=ApidataDetectPatternsResponse, # type: ignore |
| 2715 | + type_=DetectPatternsResponse, # type: ignore |
2716 | 2716 | object_=_response.json(), |
2717 | 2717 | ), |
2718 | 2718 | ) |
|
0 commit comments