groundx 2.6.0__py3-none-any.whl → 2.6.2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of groundx might be problematic. Click here for more details.

groundx/__init__.py CHANGED
@@ -72,12 +72,12 @@ from .types import (
72
72
  WorkflowsResponse,
73
73
  )
74
74
  from .errors import BadRequestError, UnauthorizedError
75
- from . import buckets, customer, documents, groups, health, search, workflow
75
+ from . import buckets, customer, documents, groups, health, search, workflows
76
76
  from .environment import GroundXEnvironment
77
77
  from .ingest import AsyncGroundX, GroundX
78
78
  from .search import SearchContentRequestId
79
79
  from .version import __version__
80
- from .workflow import WorkflowGetRequestId
80
+ from .workflows import WorkflowGetRequestId
81
81
 
82
82
  __all__ = [
83
83
  "AsyncGroundX",
@@ -161,5 +161,5 @@ __all__ = [
161
161
  "groups",
162
162
  "health",
163
163
  "search",
164
- "workflow",
164
+ "workflows",
165
165
  ]
groundx/client.py CHANGED
@@ -11,7 +11,7 @@ from .environment import GroundXEnvironment
11
11
  from .groups.client import AsyncGroupsClient, GroupsClient
12
12
  from .health.client import AsyncHealthClient, HealthClient
13
13
  from .search.client import AsyncSearchClient, SearchClient
14
- from .workflow.client import AsyncWorkflowClient, WorkflowClient
14
+ from .workflows.client import AsyncWorkflowsClient, WorkflowsClient
15
15
 
16
16
 
17
17
  class GroundXBase:
@@ -78,7 +78,7 @@ class GroundXBase:
78
78
  self.search = SearchClient(client_wrapper=self._client_wrapper)
79
79
  self.buckets = BucketsClient(client_wrapper=self._client_wrapper)
80
80
  self.groups = GroupsClient(client_wrapper=self._client_wrapper)
81
- self.workflow = WorkflowClient(client_wrapper=self._client_wrapper)
81
+ self.workflows = WorkflowsClient(client_wrapper=self._client_wrapper)
82
82
  self.customer = CustomerClient(client_wrapper=self._client_wrapper)
83
83
  self.health = HealthClient(client_wrapper=self._client_wrapper)
84
84
 
@@ -147,7 +147,7 @@ class AsyncGroundXBase:
147
147
  self.search = AsyncSearchClient(client_wrapper=self._client_wrapper)
148
148
  self.buckets = AsyncBucketsClient(client_wrapper=self._client_wrapper)
149
149
  self.groups = AsyncGroupsClient(client_wrapper=self._client_wrapper)
150
- self.workflow = AsyncWorkflowClient(client_wrapper=self._client_wrapper)
150
+ self.workflows = AsyncWorkflowsClient(client_wrapper=self._client_wrapper)
151
151
  self.customer = AsyncCustomerClient(client_wrapper=self._client_wrapper)
152
152
  self.health = AsyncHealthClient(client_wrapper=self._client_wrapper)
153
153
 
@@ -14,10 +14,10 @@ class BaseClientWrapper:
14
14
 
15
15
  def get_headers(self) -> typing.Dict[str, str]:
16
16
  headers: typing.Dict[str, str] = {
17
- "User-Agent": "groundx/2.6.0",
17
+ "User-Agent": "groundx/2.6.2",
18
18
  "X-Fern-Language": "Python",
19
19
  "X-Fern-SDK-Name": "groundx",
20
- "X-Fern-SDK-Version": "2.6.0",
20
+ "X-Fern-SDK-Version": "2.6.2",
21
21
  }
22
22
  headers["X-API-Key"] = self.api_key
23
23
  return headers
@@ -8,29 +8,29 @@ from ..types.message_response import MessageResponse
8
8
  from ..types.workflow_response import WorkflowResponse
9
9
  from ..types.workflow_steps import WorkflowSteps
10
10
  from ..types.workflows_response import WorkflowsResponse
11
- from .raw_client import AsyncRawWorkflowClient, RawWorkflowClient
11
+ from .raw_client import AsyncRawWorkflowsClient, RawWorkflowsClient
12
12
  from .types.workflow_get_request_id import WorkflowGetRequestId
13
13
 
14
14
  # this is used as the default value for optional parameters
15
15
  OMIT = typing.cast(typing.Any, ...)
16
16
 
17
17
 
18
- class WorkflowClient:
18
+ class WorkflowsClient:
19
19
  def __init__(self, *, client_wrapper: SyncClientWrapper):
20
- self._raw_client = RawWorkflowClient(client_wrapper=client_wrapper)
20
+ self._raw_client = RawWorkflowsClient(client_wrapper=client_wrapper)
21
21
 
22
22
  @property
23
- def with_raw_response(self) -> RawWorkflowClient:
23
+ def with_raw_response(self) -> RawWorkflowsClient:
24
24
  """
25
25
  Retrieves a raw implementation of this client that returns raw responses.
26
26
 
27
27
  Returns
28
28
  -------
29
- RawWorkflowClient
29
+ RawWorkflowsClient
30
30
  """
31
31
  return self._raw_client
32
32
 
33
- def list(self, *, request_options: typing.Optional[RequestOptions] = None) -> WorkflowsResponse:
33
+ def workflow_list(self, *, request_options: typing.Optional[RequestOptions] = None) -> WorkflowsResponse:
34
34
  """
35
35
  Get all workflows associated with the API key.
36
36
 
@@ -51,12 +51,12 @@ class WorkflowClient:
51
51
  client = GroundX(
52
52
  api_key="YOUR_API_KEY",
53
53
  )
54
- client.workflow.list()
54
+ client.workflows.workflow_list()
55
55
  """
56
- _response = self._raw_client.list(request_options=request_options)
56
+ _response = self._raw_client.workflow_list(request_options=request_options)
57
57
  return _response.data
58
58
 
59
- def create(
59
+ def workflow_create(
60
60
  self,
61
61
  *,
62
62
  name: typing.Optional[str] = OMIT,
@@ -88,12 +88,12 @@ class WorkflowClient:
88
88
  client = GroundX(
89
89
  api_key="YOUR_API_KEY",
90
90
  )
91
- client.workflow.create()
91
+ client.workflows.workflow_create()
92
92
  """
93
- _response = self._raw_client.create(name=name, steps=steps, request_options=request_options)
93
+ _response = self._raw_client.workflow_create(name=name, steps=steps, request_options=request_options)
94
94
  return _response.data
95
95
 
96
- def relationship_add_to_account(
96
+ def add_to_account(
97
97
  self, *, workflow_id: str, request_options: typing.Optional[RequestOptions] = None
98
98
  ) -> MessageResponse:
99
99
  """
@@ -119,18 +119,14 @@ class WorkflowClient:
119
119
  client = GroundX(
120
120
  api_key="YOUR_API_KEY",
121
121
  )
122
- client.workflow.relationship_add_to_account(
122
+ client.workflows.add_to_account(
123
123
  workflow_id="workflowId",
124
124
  )
125
125
  """
126
- _response = self._raw_client.relationship_add_to_account(
127
- workflow_id=workflow_id, request_options=request_options
128
- )
126
+ _response = self._raw_client.add_to_account(workflow_id=workflow_id, request_options=request_options)
129
127
  return _response.data
130
128
 
131
- def relationship_remove_from_account(
132
- self, *, request_options: typing.Optional[RequestOptions] = None
133
- ) -> MessageResponse:
129
+ def remove_from_account(self, *, request_options: typing.Optional[RequestOptions] = None) -> MessageResponse:
134
130
  """
135
131
  Removes the assigned workflow from the customer account.
136
132
 
@@ -151,12 +147,12 @@ class WorkflowClient:
151
147
  client = GroundX(
152
148
  api_key="YOUR_API_KEY",
153
149
  )
154
- client.workflow.relationship_remove_from_account()
150
+ client.workflows.remove_from_account()
155
151
  """
156
- _response = self._raw_client.relationship_remove_from_account(request_options=request_options)
152
+ _response = self._raw_client.remove_from_account(request_options=request_options)
157
153
  return _response.data
158
154
 
159
- def relationship_add_to_id(
155
+ def add_to_id(
160
156
  self, id: int, *, workflow_id: str, request_options: typing.Optional[RequestOptions] = None
161
157
  ) -> MessageResponse:
162
158
  """
@@ -185,19 +181,15 @@ class WorkflowClient:
185
181
  client = GroundX(
186
182
  api_key="YOUR_API_KEY",
187
183
  )
188
- client.workflow.relationship_add_to_id(
184
+ client.workflows.add_to_id(
189
185
  id=1,
190
186
  workflow_id="workflowId",
191
187
  )
192
188
  """
193
- _response = self._raw_client.relationship_add_to_id(
194
- id, workflow_id=workflow_id, request_options=request_options
195
- )
189
+ _response = self._raw_client.add_to_id(id, workflow_id=workflow_id, request_options=request_options)
196
190
  return _response.data
197
191
 
198
- def relationship_remove_from_id(
199
- self, id: int, *, request_options: typing.Optional[RequestOptions] = None
200
- ) -> MessageResponse:
192
+ def remove_from_id(self, id: int, *, request_options: typing.Optional[RequestOptions] = None) -> MessageResponse:
201
193
  """
202
194
  Removes the assigned workflow from the customer account.
203
195
 
@@ -221,14 +213,14 @@ class WorkflowClient:
221
213
  client = GroundX(
222
214
  api_key="YOUR_API_KEY",
223
215
  )
224
- client.workflow.relationship_remove_from_id(
216
+ client.workflows.remove_from_id(
225
217
  id=1,
226
218
  )
227
219
  """
228
- _response = self._raw_client.relationship_remove_from_id(id, request_options=request_options)
220
+ _response = self._raw_client.remove_from_id(id, request_options=request_options)
229
221
  return _response.data
230
222
 
231
- def get(
223
+ def workflow_get(
232
224
  self, id: WorkflowGetRequestId, *, request_options: typing.Optional[RequestOptions] = None
233
225
  ) -> WorkflowResponse:
234
226
  """
@@ -254,14 +246,14 @@ class WorkflowClient:
254
246
  client = GroundX(
255
247
  api_key="YOUR_API_KEY",
256
248
  )
257
- client.workflow.get(
249
+ client.workflows.workflow_get(
258
250
  id=1,
259
251
  )
260
252
  """
261
- _response = self._raw_client.get(id, request_options=request_options)
253
+ _response = self._raw_client.workflow_get(id, request_options=request_options)
262
254
  return _response.data
263
255
 
264
- def update(
256
+ def workflow_update(
265
257
  self,
266
258
  id: str,
267
259
  *,
@@ -301,17 +293,17 @@ class WorkflowClient:
301
293
  client = GroundX(
302
294
  api_key="YOUR_API_KEY",
303
295
  )
304
- client.workflow.update(
296
+ client.workflows.workflow_update(
305
297
  id="id",
306
298
  workflow_id="workflowId",
307
299
  )
308
300
  """
309
- _response = self._raw_client.update(
301
+ _response = self._raw_client.workflow_update(
310
302
  id, workflow_id=workflow_id, name=name, steps=steps, request_options=request_options
311
303
  )
312
304
  return _response.data
313
305
 
314
- def delete(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> MessageResponse:
306
+ def workflow_delete(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> MessageResponse:
315
307
  """
316
308
  Delete a workflow.
317
309
 
@@ -335,30 +327,30 @@ class WorkflowClient:
335
327
  client = GroundX(
336
328
  api_key="YOUR_API_KEY",
337
329
  )
338
- client.workflow.delete(
330
+ client.workflows.workflow_delete(
339
331
  id="id",
340
332
  )
341
333
  """
342
- _response = self._raw_client.delete(id, request_options=request_options)
334
+ _response = self._raw_client.workflow_delete(id, request_options=request_options)
343
335
  return _response.data
344
336
 
345
337
 
346
- class AsyncWorkflowClient:
338
+ class AsyncWorkflowsClient:
347
339
  def __init__(self, *, client_wrapper: AsyncClientWrapper):
348
- self._raw_client = AsyncRawWorkflowClient(client_wrapper=client_wrapper)
340
+ self._raw_client = AsyncRawWorkflowsClient(client_wrapper=client_wrapper)
349
341
 
350
342
  @property
351
- def with_raw_response(self) -> AsyncRawWorkflowClient:
343
+ def with_raw_response(self) -> AsyncRawWorkflowsClient:
352
344
  """
353
345
  Retrieves a raw implementation of this client that returns raw responses.
354
346
 
355
347
  Returns
356
348
  -------
357
- AsyncRawWorkflowClient
349
+ AsyncRawWorkflowsClient
358
350
  """
359
351
  return self._raw_client
360
352
 
361
- async def list(self, *, request_options: typing.Optional[RequestOptions] = None) -> WorkflowsResponse:
353
+ async def workflow_list(self, *, request_options: typing.Optional[RequestOptions] = None) -> WorkflowsResponse:
362
354
  """
363
355
  Get all workflows associated with the API key.
364
356
 
@@ -384,15 +376,15 @@ class AsyncWorkflowClient:
384
376
 
385
377
 
386
378
  async def main() -> None:
387
- await client.workflow.list()
379
+ await client.workflows.workflow_list()
388
380
 
389
381
 
390
382
  asyncio.run(main())
391
383
  """
392
- _response = await self._raw_client.list(request_options=request_options)
384
+ _response = await self._raw_client.workflow_list(request_options=request_options)
393
385
  return _response.data
394
386
 
395
- async def create(
387
+ async def workflow_create(
396
388
  self,
397
389
  *,
398
390
  name: typing.Optional[str] = OMIT,
@@ -429,15 +421,15 @@ class AsyncWorkflowClient:
429
421
 
430
422
 
431
423
  async def main() -> None:
432
- await client.workflow.create()
424
+ await client.workflows.workflow_create()
433
425
 
434
426
 
435
427
  asyncio.run(main())
436
428
  """
437
- _response = await self._raw_client.create(name=name, steps=steps, request_options=request_options)
429
+ _response = await self._raw_client.workflow_create(name=name, steps=steps, request_options=request_options)
438
430
  return _response.data
439
431
 
440
- async def relationship_add_to_account(
432
+ async def add_to_account(
441
433
  self, *, workflow_id: str, request_options: typing.Optional[RequestOptions] = None
442
434
  ) -> MessageResponse:
443
435
  """
@@ -468,21 +460,17 @@ class AsyncWorkflowClient:
468
460
 
469
461
 
470
462
  async def main() -> None:
471
- await client.workflow.relationship_add_to_account(
463
+ await client.workflows.add_to_account(
472
464
  workflow_id="workflowId",
473
465
  )
474
466
 
475
467
 
476
468
  asyncio.run(main())
477
469
  """
478
- _response = await self._raw_client.relationship_add_to_account(
479
- workflow_id=workflow_id, request_options=request_options
480
- )
470
+ _response = await self._raw_client.add_to_account(workflow_id=workflow_id, request_options=request_options)
481
471
  return _response.data
482
472
 
483
- async def relationship_remove_from_account(
484
- self, *, request_options: typing.Optional[RequestOptions] = None
485
- ) -> MessageResponse:
473
+ async def remove_from_account(self, *, request_options: typing.Optional[RequestOptions] = None) -> MessageResponse:
486
474
  """
487
475
  Removes the assigned workflow from the customer account.
488
476
 
@@ -508,15 +496,15 @@ class AsyncWorkflowClient:
508
496
 
509
497
 
510
498
  async def main() -> None:
511
- await client.workflow.relationship_remove_from_account()
499
+ await client.workflows.remove_from_account()
512
500
 
513
501
 
514
502
  asyncio.run(main())
515
503
  """
516
- _response = await self._raw_client.relationship_remove_from_account(request_options=request_options)
504
+ _response = await self._raw_client.remove_from_account(request_options=request_options)
517
505
  return _response.data
518
506
 
519
- async def relationship_add_to_id(
507
+ async def add_to_id(
520
508
  self, id: int, *, workflow_id: str, request_options: typing.Optional[RequestOptions] = None
521
509
  ) -> MessageResponse:
522
510
  """
@@ -550,7 +538,7 @@ class AsyncWorkflowClient:
550
538
 
551
539
 
552
540
  async def main() -> None:
553
- await client.workflow.relationship_add_to_id(
541
+ await client.workflows.add_to_id(
554
542
  id=1,
555
543
  workflow_id="workflowId",
556
544
  )
@@ -558,12 +546,10 @@ class AsyncWorkflowClient:
558
546
 
559
547
  asyncio.run(main())
560
548
  """
561
- _response = await self._raw_client.relationship_add_to_id(
562
- id, workflow_id=workflow_id, request_options=request_options
563
- )
549
+ _response = await self._raw_client.add_to_id(id, workflow_id=workflow_id, request_options=request_options)
564
550
  return _response.data
565
551
 
566
- async def relationship_remove_from_id(
552
+ async def remove_from_id(
567
553
  self, id: int, *, request_options: typing.Optional[RequestOptions] = None
568
554
  ) -> MessageResponse:
569
555
  """
@@ -594,17 +580,17 @@ class AsyncWorkflowClient:
594
580
 
595
581
 
596
582
  async def main() -> None:
597
- await client.workflow.relationship_remove_from_id(
583
+ await client.workflows.remove_from_id(
598
584
  id=1,
599
585
  )
600
586
 
601
587
 
602
588
  asyncio.run(main())
603
589
  """
604
- _response = await self._raw_client.relationship_remove_from_id(id, request_options=request_options)
590
+ _response = await self._raw_client.remove_from_id(id, request_options=request_options)
605
591
  return _response.data
606
592
 
607
- async def get(
593
+ async def workflow_get(
608
594
  self, id: WorkflowGetRequestId, *, request_options: typing.Optional[RequestOptions] = None
609
595
  ) -> WorkflowResponse:
610
596
  """
@@ -635,17 +621,17 @@ class AsyncWorkflowClient:
635
621
 
636
622
 
637
623
  async def main() -> None:
638
- await client.workflow.get(
624
+ await client.workflows.workflow_get(
639
625
  id=1,
640
626
  )
641
627
 
642
628
 
643
629
  asyncio.run(main())
644
630
  """
645
- _response = await self._raw_client.get(id, request_options=request_options)
631
+ _response = await self._raw_client.workflow_get(id, request_options=request_options)
646
632
  return _response.data
647
633
 
648
- async def update(
634
+ async def workflow_update(
649
635
  self,
650
636
  id: str,
651
637
  *,
@@ -690,7 +676,7 @@ class AsyncWorkflowClient:
690
676
 
691
677
 
692
678
  async def main() -> None:
693
- await client.workflow.update(
679
+ await client.workflows.workflow_update(
694
680
  id="id",
695
681
  workflow_id="workflowId",
696
682
  )
@@ -698,12 +684,14 @@ class AsyncWorkflowClient:
698
684
 
699
685
  asyncio.run(main())
700
686
  """
701
- _response = await self._raw_client.update(
687
+ _response = await self._raw_client.workflow_update(
702
688
  id, workflow_id=workflow_id, name=name, steps=steps, request_options=request_options
703
689
  )
704
690
  return _response.data
705
691
 
706
- async def delete(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> MessageResponse:
692
+ async def workflow_delete(
693
+ self, id: str, *, request_options: typing.Optional[RequestOptions] = None
694
+ ) -> MessageResponse:
707
695
  """
708
696
  Delete a workflow.
709
697
 
@@ -732,12 +720,12 @@ class AsyncWorkflowClient:
732
720
 
733
721
 
734
722
  async def main() -> None:
735
- await client.workflow.delete(
723
+ await client.workflows.workflow_delete(
736
724
  id="id",
737
725
  )
738
726
 
739
727
 
740
728
  asyncio.run(main())
741
729
  """
742
- _response = await self._raw_client.delete(id, request_options=request_options)
730
+ _response = await self._raw_client.workflow_delete(id, request_options=request_options)
743
731
  return _response.data
@@ -20,11 +20,13 @@ from .types.workflow_get_request_id import WorkflowGetRequestId
20
20
  OMIT = typing.cast(typing.Any, ...)
21
21
 
22
22
 
23
- class RawWorkflowClient:
23
+ class RawWorkflowsClient:
24
24
  def __init__(self, *, client_wrapper: SyncClientWrapper):
25
25
  self._client_wrapper = client_wrapper
26
26
 
27
- def list(self, *, request_options: typing.Optional[RequestOptions] = None) -> HttpResponse[WorkflowsResponse]:
27
+ def workflow_list(
28
+ self, *, request_options: typing.Optional[RequestOptions] = None
29
+ ) -> HttpResponse[WorkflowsResponse]:
28
30
  """
29
31
  Get all workflows associated with the API key.
30
32
 
@@ -58,7 +60,7 @@ class RawWorkflowClient:
58
60
  raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text)
59
61
  raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
60
62
 
61
- def create(
63
+ def workflow_create(
62
64
  self,
63
65
  *,
64
66
  name: typing.Optional[str] = OMIT,
@@ -113,7 +115,7 @@ class RawWorkflowClient:
113
115
  raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text)
114
116
  raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
115
117
 
116
- def relationship_add_to_account(
118
+ def add_to_account(
117
119
  self, *, workflow_id: str, request_options: typing.Optional[RequestOptions] = None
118
120
  ) -> HttpResponse[MessageResponse]:
119
121
  """
@@ -159,7 +161,7 @@ class RawWorkflowClient:
159
161
  raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text)
160
162
  raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
161
163
 
162
- def relationship_remove_from_account(
164
+ def remove_from_account(
163
165
  self, *, request_options: typing.Optional[RequestOptions] = None
164
166
  ) -> HttpResponse[MessageResponse]:
165
167
  """
@@ -195,7 +197,7 @@ class RawWorkflowClient:
195
197
  raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text)
196
198
  raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
197
199
 
198
- def relationship_add_to_id(
200
+ def add_to_id(
199
201
  self, id: int, *, workflow_id: str, request_options: typing.Optional[RequestOptions] = None
200
202
  ) -> HttpResponse[MessageResponse]:
201
203
  """
@@ -244,7 +246,7 @@ class RawWorkflowClient:
244
246
  raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text)
245
247
  raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
246
248
 
247
- def relationship_remove_from_id(
249
+ def remove_from_id(
248
250
  self, id: int, *, request_options: typing.Optional[RequestOptions] = None
249
251
  ) -> HttpResponse[MessageResponse]:
250
252
  """
@@ -283,7 +285,7 @@ class RawWorkflowClient:
283
285
  raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text)
284
286
  raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
285
287
 
286
- def get(
288
+ def workflow_get(
287
289
  self, id: WorkflowGetRequestId, *, request_options: typing.Optional[RequestOptions] = None
288
290
  ) -> HttpResponse[WorkflowResponse]:
289
291
  """
@@ -322,7 +324,7 @@ class RawWorkflowClient:
322
324
  raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text)
323
325
  raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
324
326
 
325
- def update(
327
+ def workflow_update(
326
328
  self,
327
329
  id: str,
328
330
  *,
@@ -386,7 +388,7 @@ class RawWorkflowClient:
386
388
  raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text)
387
389
  raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
388
390
 
389
- def delete(
391
+ def workflow_delete(
390
392
  self, id: str, *, request_options: typing.Optional[RequestOptions] = None
391
393
  ) -> HttpResponse[MessageResponse]:
392
394
  """
@@ -426,11 +428,11 @@ class RawWorkflowClient:
426
428
  raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
427
429
 
428
430
 
429
- class AsyncRawWorkflowClient:
431
+ class AsyncRawWorkflowsClient:
430
432
  def __init__(self, *, client_wrapper: AsyncClientWrapper):
431
433
  self._client_wrapper = client_wrapper
432
434
 
433
- async def list(
435
+ async def workflow_list(
434
436
  self, *, request_options: typing.Optional[RequestOptions] = None
435
437
  ) -> AsyncHttpResponse[WorkflowsResponse]:
436
438
  """
@@ -466,7 +468,7 @@ class AsyncRawWorkflowClient:
466
468
  raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text)
467
469
  raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
468
470
 
469
- async def create(
471
+ async def workflow_create(
470
472
  self,
471
473
  *,
472
474
  name: typing.Optional[str] = OMIT,
@@ -521,7 +523,7 @@ class AsyncRawWorkflowClient:
521
523
  raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text)
522
524
  raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
523
525
 
524
- async def relationship_add_to_account(
526
+ async def add_to_account(
525
527
  self, *, workflow_id: str, request_options: typing.Optional[RequestOptions] = None
526
528
  ) -> AsyncHttpResponse[MessageResponse]:
527
529
  """
@@ -567,7 +569,7 @@ class AsyncRawWorkflowClient:
567
569
  raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text)
568
570
  raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
569
571
 
570
- async def relationship_remove_from_account(
572
+ async def remove_from_account(
571
573
  self, *, request_options: typing.Optional[RequestOptions] = None
572
574
  ) -> AsyncHttpResponse[MessageResponse]:
573
575
  """
@@ -603,7 +605,7 @@ class AsyncRawWorkflowClient:
603
605
  raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text)
604
606
  raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
605
607
 
606
- async def relationship_add_to_id(
608
+ async def add_to_id(
607
609
  self, id: int, *, workflow_id: str, request_options: typing.Optional[RequestOptions] = None
608
610
  ) -> AsyncHttpResponse[MessageResponse]:
609
611
  """
@@ -652,7 +654,7 @@ class AsyncRawWorkflowClient:
652
654
  raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text)
653
655
  raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
654
656
 
655
- async def relationship_remove_from_id(
657
+ async def remove_from_id(
656
658
  self, id: int, *, request_options: typing.Optional[RequestOptions] = None
657
659
  ) -> AsyncHttpResponse[MessageResponse]:
658
660
  """
@@ -691,7 +693,7 @@ class AsyncRawWorkflowClient:
691
693
  raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text)
692
694
  raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
693
695
 
694
- async def get(
696
+ async def workflow_get(
695
697
  self, id: WorkflowGetRequestId, *, request_options: typing.Optional[RequestOptions] = None
696
698
  ) -> AsyncHttpResponse[WorkflowResponse]:
697
699
  """
@@ -730,7 +732,7 @@ class AsyncRawWorkflowClient:
730
732
  raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text)
731
733
  raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
732
734
 
733
- async def update(
735
+ async def workflow_update(
734
736
  self,
735
737
  id: str,
736
738
  *,
@@ -794,7 +796,7 @@ class AsyncRawWorkflowClient:
794
796
  raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text)
795
797
  raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
796
798
 
797
- async def delete(
799
+ async def workflow_delete(
798
800
  self, id: str, *, request_options: typing.Optional[RequestOptions] = None
799
801
  ) -> AsyncHttpResponse[MessageResponse]:
800
802
  """
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: groundx
3
- Version: 2.6.0
3
+ Version: 2.6.2
4
4
  Summary:
5
5
  License: MIT
6
6
  Requires-Python: >=3.8,<4.0
@@ -1,11 +1,11 @@
1
- groundx/__init__.py,sha256=YyXRMLgmhBNmIitM02dJ5sfPrUvihf96h9pa4CQqIV4,4124
1
+ groundx/__init__.py,sha256=GPYfE6LAmJPuHE---g6UWJBO4vZSh6uAW9OCuQH0yww,4127
2
2
  groundx/buckets/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
3
3
  groundx/buckets/client.py,sha256=F1tcqQoqmrC8lQtRZvmXldIdVxIp1LWfdbAfY8SB5sM,11460
4
4
  groundx/buckets/raw_client.py,sha256=T2Ty5obN7eHbaxHGAimzjM8MGOmSOQEckhciyZkzcjE,23873
5
- groundx/client.py,sha256=cG2JMbsF_P8oJNb1dnc9HeGzKlHoJNBpcxXn5C4t5YM,6634
5
+ groundx/client.py,sha256=PksVIgU2pXup9Ewkl7NcLPvQOIhg_Do3cJVGgXqqQjE,6641
6
6
  groundx/core/__init__.py,sha256=lTcqUPXcx4112yLDd70RAPeqq6tu3eFMe1pKOqkW9JQ,1562
7
7
  groundx/core/api_error.py,sha256=44vPoTyWN59gonCIZMdzw7M1uspygiLnr3GNFOoVL2Q,614
8
- groundx/core/client_wrapper.py,sha256=ptNkchLz-Fcdgpa0dIJHtFbS8SSM0CUlgFIlx4PvDyQ,1822
8
+ groundx/core/client_wrapper.py,sha256=D1IvPdq1PXOyeZYA5uZdKfJbZLMdOwihQQdFyvMvfr8,1822
9
9
  groundx/core/datetime_utils.py,sha256=nBys2IsYrhPdszxGKCNRPSOCwa-5DWOHG95FB8G9PKo,1047
10
10
  groundx/core/file.py,sha256=d4NNbX8XvXP32z8KpK2Xovv33nFfruIrpz0QWxlgpZk,2663
11
11
  groundx/core/force_multipart.py,sha256=awxh5MtcRYe74ehY8U76jzv6fYM_w_D3Rur7KQQzSDk,429
@@ -146,12 +146,12 @@ groundx/types/workflow_steps_sect_instruct.py,sha256=EJhl5__qyC1o1-CQh9HL-bwGmWs
146
146
  groundx/types/workflow_steps_sect_summary.py,sha256=76MalXb7GO0m4x-UllrYkkvQbSjx9Qu1WROlxvyNCRU,781
147
147
  groundx/types/workflows_response.py,sha256=lKy6N4r0jTVK2S3mnmTzAvPjkmOl4BTnU2q0k-TbqjQ,597
148
148
  groundx/version.py,sha256=1yVogKaq260fQfckM2RYN2144SEw0QROsZW8ICtkG4U,74
149
- groundx/workflow/__init__.py,sha256=fGf-XTsj0bkp_nV-svtq33R1LwufLe4t_3qsSBTaTT4,161
150
- groundx/workflow/client.py,sha256=X0QECFnzIfS-pqfOgFYqhHp-P3gYXqK-49Shdw_Vwpw,19712
151
- groundx/workflow/raw_client.py,sha256=6nPOvPAmLq3r8fTd7q5_0cvP6BFepU6RGzTnQ2-Ee-w,30895
152
- groundx/workflow/types/__init__.py,sha256=zlK65Gp_dtVFjQmx6QIQfkR-T2w77KMCopzBHuCjfpY,179
153
- groundx/workflow/types/workflow_get_request_id.py,sha256=z7oyA9qhGIc0zkDgD6JaEqLOPcMfwc0NBpzi7uVuDOs,126
154
- groundx-2.6.0.dist-info/LICENSE,sha256=dFE6nY1bHnSn6NqmdlghlU1gQqLqYNphrceGVehSa7o,1065
155
- groundx-2.6.0.dist-info/METADATA,sha256=USFwTyKAv37imO-1lUUt7X672o_cBiGNNP2RMGHo_Os,5919
156
- groundx-2.6.0.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
157
- groundx-2.6.0.dist-info/RECORD,,
149
+ groundx/workflows/__init__.py,sha256=fGf-XTsj0bkp_nV-svtq33R1LwufLe4t_3qsSBTaTT4,161
150
+ groundx/workflows/client.py,sha256=4Rrn35oz4VagsdOOPSrb-Md9sXnnFPUB7Hgu6yEDmk8,19582
151
+ groundx/workflows/raw_client.py,sha256=UVI38ESwtxzew-dos5ssyJ9s-RrSd-zJVf1gKoX6-a4,30897
152
+ groundx/workflows/types/__init__.py,sha256=zlK65Gp_dtVFjQmx6QIQfkR-T2w77KMCopzBHuCjfpY,179
153
+ groundx/workflows/types/workflow_get_request_id.py,sha256=z7oyA9qhGIc0zkDgD6JaEqLOPcMfwc0NBpzi7uVuDOs,126
154
+ groundx-2.6.2.dist-info/LICENSE,sha256=dFE6nY1bHnSn6NqmdlghlU1gQqLqYNphrceGVehSa7o,1065
155
+ groundx-2.6.2.dist-info/METADATA,sha256=B1bE4tGaymiZZgP-9TvZF4UUrrwITyQpv2RDgNV3swY,5919
156
+ groundx-2.6.2.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
157
+ groundx-2.6.2.dist-info/RECORD,,
File without changes
File without changes