graphlit-client 1.0.20250627002__py3-none-any.whl → 1.0.20250627003__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.
graphlit_api/__init__.py CHANGED
@@ -1977,6 +1977,7 @@ from .operations import (
1977
1977
  UPSERT_CATEGORY_GQL,
1978
1978
  UPSERT_LABEL_GQL,
1979
1979
  UPSERT_SPECIFICATION_GQL,
1980
+ UPSERT_VIEW_GQL,
1980
1981
  UPSERT_WORKFLOW_GQL,
1981
1982
  VIEW_EXISTS_GQL,
1982
1983
  WORKFLOW_EXISTS_GQL,
@@ -2944,6 +2945,60 @@ from .upsert_specification import (
2944
2945
  UpsertSpecification,
2945
2946
  UpsertSpecificationUpsertSpecification,
2946
2947
  )
2948
+ from .upsert_view import (
2949
+ UpsertView,
2950
+ UpsertViewUpsertView,
2951
+ UpsertViewUpsertViewAugmentedFilter,
2952
+ UpsertViewUpsertViewAugmentedFilterAnd,
2953
+ UpsertViewUpsertViewAugmentedFilterAndCollections,
2954
+ UpsertViewUpsertViewAugmentedFilterAndFeeds,
2955
+ UpsertViewUpsertViewAugmentedFilterAndObservations,
2956
+ UpsertViewUpsertViewAugmentedFilterAndObservationsObservable,
2957
+ UpsertViewUpsertViewAugmentedFilterAndUsers,
2958
+ UpsertViewUpsertViewAugmentedFilterAndWorkflows,
2959
+ UpsertViewUpsertViewAugmentedFilterCollections,
2960
+ UpsertViewUpsertViewAugmentedFilterContents,
2961
+ UpsertViewUpsertViewAugmentedFilterCreationDateRange,
2962
+ UpsertViewUpsertViewAugmentedFilterDateRange,
2963
+ UpsertViewUpsertViewAugmentedFilterFeeds,
2964
+ UpsertViewUpsertViewAugmentedFilterObservations,
2965
+ UpsertViewUpsertViewAugmentedFilterObservationsObservable,
2966
+ UpsertViewUpsertViewAugmentedFilterOr,
2967
+ UpsertViewUpsertViewAugmentedFilterOrCollections,
2968
+ UpsertViewUpsertViewAugmentedFilterOrFeeds,
2969
+ UpsertViewUpsertViewAugmentedFilterOrObservations,
2970
+ UpsertViewUpsertViewAugmentedFilterOrObservationsObservable,
2971
+ UpsertViewUpsertViewAugmentedFilterOrUsers,
2972
+ UpsertViewUpsertViewAugmentedFilterOrWorkflows,
2973
+ UpsertViewUpsertViewAugmentedFilterSimilarContents,
2974
+ UpsertViewUpsertViewAugmentedFilterUsers,
2975
+ UpsertViewUpsertViewAugmentedFilterWorkflows,
2976
+ UpsertViewUpsertViewFilter,
2977
+ UpsertViewUpsertViewFilterAnd,
2978
+ UpsertViewUpsertViewFilterAndCollections,
2979
+ UpsertViewUpsertViewFilterAndFeeds,
2980
+ UpsertViewUpsertViewFilterAndObservations,
2981
+ UpsertViewUpsertViewFilterAndObservationsObservable,
2982
+ UpsertViewUpsertViewFilterAndUsers,
2983
+ UpsertViewUpsertViewFilterAndWorkflows,
2984
+ UpsertViewUpsertViewFilterCollections,
2985
+ UpsertViewUpsertViewFilterContents,
2986
+ UpsertViewUpsertViewFilterCreationDateRange,
2987
+ UpsertViewUpsertViewFilterDateRange,
2988
+ UpsertViewUpsertViewFilterFeeds,
2989
+ UpsertViewUpsertViewFilterObservations,
2990
+ UpsertViewUpsertViewFilterObservationsObservable,
2991
+ UpsertViewUpsertViewFilterOr,
2992
+ UpsertViewUpsertViewFilterOrCollections,
2993
+ UpsertViewUpsertViewFilterOrFeeds,
2994
+ UpsertViewUpsertViewFilterOrObservations,
2995
+ UpsertViewUpsertViewFilterOrObservationsObservable,
2996
+ UpsertViewUpsertViewFilterOrUsers,
2997
+ UpsertViewUpsertViewFilterOrWorkflows,
2998
+ UpsertViewUpsertViewFilterSimilarContents,
2999
+ UpsertViewUpsertViewFilterUsers,
3000
+ UpsertViewUpsertViewFilterWorkflows,
3001
+ )
2947
3002
  from .upsert_workflow import (
2948
3003
  UpsertWorkflow,
2949
3004
  UpsertWorkflowUpsertWorkflow,
@@ -5496,6 +5551,7 @@ __all__ = [
5496
5551
  "UPSERT_CATEGORY_GQL",
5497
5552
  "UPSERT_LABEL_GQL",
5498
5553
  "UPSERT_SPECIFICATION_GQL",
5554
+ "UPSERT_VIEW_GQL",
5499
5555
  "UPSERT_WORKFLOW_GQL",
5500
5556
  "UnitTypes",
5501
5557
  "UpdateAlert",
@@ -5678,6 +5734,58 @@ __all__ = [
5678
5734
  "UpsertLabelUpsertLabel",
5679
5735
  "UpsertSpecification",
5680
5736
  "UpsertSpecificationUpsertSpecification",
5737
+ "UpsertView",
5738
+ "UpsertViewUpsertView",
5739
+ "UpsertViewUpsertViewAugmentedFilter",
5740
+ "UpsertViewUpsertViewAugmentedFilterAnd",
5741
+ "UpsertViewUpsertViewAugmentedFilterAndCollections",
5742
+ "UpsertViewUpsertViewAugmentedFilterAndFeeds",
5743
+ "UpsertViewUpsertViewAugmentedFilterAndObservations",
5744
+ "UpsertViewUpsertViewAugmentedFilterAndObservationsObservable",
5745
+ "UpsertViewUpsertViewAugmentedFilterAndUsers",
5746
+ "UpsertViewUpsertViewAugmentedFilterAndWorkflows",
5747
+ "UpsertViewUpsertViewAugmentedFilterCollections",
5748
+ "UpsertViewUpsertViewAugmentedFilterContents",
5749
+ "UpsertViewUpsertViewAugmentedFilterCreationDateRange",
5750
+ "UpsertViewUpsertViewAugmentedFilterDateRange",
5751
+ "UpsertViewUpsertViewAugmentedFilterFeeds",
5752
+ "UpsertViewUpsertViewAugmentedFilterObservations",
5753
+ "UpsertViewUpsertViewAugmentedFilterObservationsObservable",
5754
+ "UpsertViewUpsertViewAugmentedFilterOr",
5755
+ "UpsertViewUpsertViewAugmentedFilterOrCollections",
5756
+ "UpsertViewUpsertViewAugmentedFilterOrFeeds",
5757
+ "UpsertViewUpsertViewAugmentedFilterOrObservations",
5758
+ "UpsertViewUpsertViewAugmentedFilterOrObservationsObservable",
5759
+ "UpsertViewUpsertViewAugmentedFilterOrUsers",
5760
+ "UpsertViewUpsertViewAugmentedFilterOrWorkflows",
5761
+ "UpsertViewUpsertViewAugmentedFilterSimilarContents",
5762
+ "UpsertViewUpsertViewAugmentedFilterUsers",
5763
+ "UpsertViewUpsertViewAugmentedFilterWorkflows",
5764
+ "UpsertViewUpsertViewFilter",
5765
+ "UpsertViewUpsertViewFilterAnd",
5766
+ "UpsertViewUpsertViewFilterAndCollections",
5767
+ "UpsertViewUpsertViewFilterAndFeeds",
5768
+ "UpsertViewUpsertViewFilterAndObservations",
5769
+ "UpsertViewUpsertViewFilterAndObservationsObservable",
5770
+ "UpsertViewUpsertViewFilterAndUsers",
5771
+ "UpsertViewUpsertViewFilterAndWorkflows",
5772
+ "UpsertViewUpsertViewFilterCollections",
5773
+ "UpsertViewUpsertViewFilterContents",
5774
+ "UpsertViewUpsertViewFilterCreationDateRange",
5775
+ "UpsertViewUpsertViewFilterDateRange",
5776
+ "UpsertViewUpsertViewFilterFeeds",
5777
+ "UpsertViewUpsertViewFilterObservations",
5778
+ "UpsertViewUpsertViewFilterObservationsObservable",
5779
+ "UpsertViewUpsertViewFilterOr",
5780
+ "UpsertViewUpsertViewFilterOrCollections",
5781
+ "UpsertViewUpsertViewFilterOrFeeds",
5782
+ "UpsertViewUpsertViewFilterOrObservations",
5783
+ "UpsertViewUpsertViewFilterOrObservationsObservable",
5784
+ "UpsertViewUpsertViewFilterOrUsers",
5785
+ "UpsertViewUpsertViewFilterOrWorkflows",
5786
+ "UpsertViewUpsertViewFilterSimilarContents",
5787
+ "UpsertViewUpsertViewFilterUsers",
5788
+ "UpsertViewUpsertViewFilterWorkflows",
5681
5789
  "UpsertWorkflow",
5682
5790
  "UpsertWorkflowUpsertWorkflow",
5683
5791
  "UpsertWorkflowUpsertWorkflowActions",
graphlit_api/client.py CHANGED
@@ -658,6 +658,7 @@ from .operations import (
658
658
  UPSERT_CATEGORY_GQL,
659
659
  UPSERT_LABEL_GQL,
660
660
  UPSERT_SPECIFICATION_GQL,
661
+ UPSERT_VIEW_GQL,
661
662
  UPSERT_WORKFLOW_GQL,
662
663
  VIEW_EXISTS_GQL,
663
664
  WORKFLOW_EXISTS_GQL,
@@ -767,6 +768,7 @@ from .update_workflow import UpdateWorkflow
767
768
  from .upsert_category import UpsertCategory
768
769
  from .upsert_label import UpsertLabel
769
770
  from .upsert_specification import UpsertSpecification
771
+ from .upsert_view import UpsertView
770
772
  from .upsert_workflow import UpsertWorkflow
771
773
  from .view_exists import ViewExists
772
774
  from .workflow_exists import WorkflowExists
@@ -5973,6 +5975,17 @@ class Client(AsyncBaseClient):
5973
5975
  data = self.get_data(response)
5974
5976
  return UpdateView.model_validate(data)
5975
5977
 
5978
+ async def upsert_view(self, view: ViewInput, **kwargs: Any) -> UpsertView:
5979
+ variables: Dict[str, object] = {"view": view}
5980
+ response = await self.execute(
5981
+ query=UPSERT_VIEW_GQL,
5982
+ operation_name="UpsertView",
5983
+ variables=variables,
5984
+ **kwargs
5985
+ )
5986
+ data = self.get_data(response)
5987
+ return UpsertView.model_validate(data)
5988
+
5976
5989
  async def view_exists(
5977
5990
  self,
5978
5991
  filter: Union[Optional[ViewFilter], UnsetType] = UNSET,
@@ -15,7 +15,7 @@ class GraphQLClientHttpError(GraphQLClientError):
15
15
  self.response = response
16
16
 
17
17
  def __str__(self) -> str:
18
- return f"HTTP status code: {self.status_code}\n{self.response.text}"
18
+ return f"HTTP status code: {self.status_code}"
19
19
 
20
20
 
21
21
  class GraphQLClientInvalidResponseError(GraphQLClientError):
@@ -319,6 +319,7 @@ __all__ = [
319
319
  "UPSERT_CATEGORY_GQL",
320
320
  "UPSERT_LABEL_GQL",
321
321
  "UPSERT_SPECIFICATION_GQL",
322
+ "UPSERT_VIEW_GQL",
322
323
  "UPSERT_WORKFLOW_GQL",
323
324
  "VIEW_EXISTS_GQL",
324
325
  "WORKFLOW_EXISTS_GQL",
@@ -11145,6 +11146,183 @@ mutation UpdateView($view: ViewUpdateInput!) {
11145
11146
  }
11146
11147
  """
11147
11148
 
11149
+ UPSERT_VIEW_GQL = """
11150
+ mutation UpsertView($view: ViewInput!) {
11151
+ upsertView(view: $view) {
11152
+ id
11153
+ name
11154
+ state
11155
+ type
11156
+ filter {
11157
+ dateRange {
11158
+ from
11159
+ to
11160
+ }
11161
+ inLast
11162
+ creationDateRange {
11163
+ from
11164
+ to
11165
+ }
11166
+ createdInLast
11167
+ types
11168
+ fileTypes
11169
+ formats
11170
+ fileExtensions
11171
+ similarContents {
11172
+ id
11173
+ }
11174
+ contents {
11175
+ id
11176
+ }
11177
+ feeds {
11178
+ id
11179
+ }
11180
+ workflows {
11181
+ id
11182
+ }
11183
+ collections {
11184
+ id
11185
+ }
11186
+ users {
11187
+ id
11188
+ }
11189
+ observations {
11190
+ type
11191
+ observable {
11192
+ id
11193
+ }
11194
+ states
11195
+ }
11196
+ or {
11197
+ feeds {
11198
+ id
11199
+ }
11200
+ workflows {
11201
+ id
11202
+ }
11203
+ collections {
11204
+ id
11205
+ }
11206
+ users {
11207
+ id
11208
+ }
11209
+ observations {
11210
+ type
11211
+ observable {
11212
+ id
11213
+ }
11214
+ states
11215
+ }
11216
+ }
11217
+ and {
11218
+ feeds {
11219
+ id
11220
+ }
11221
+ workflows {
11222
+ id
11223
+ }
11224
+ collections {
11225
+ id
11226
+ }
11227
+ users {
11228
+ id
11229
+ }
11230
+ observations {
11231
+ type
11232
+ observable {
11233
+ id
11234
+ }
11235
+ states
11236
+ }
11237
+ }
11238
+ }
11239
+ augmentedFilter {
11240
+ dateRange {
11241
+ from
11242
+ to
11243
+ }
11244
+ inLast
11245
+ creationDateRange {
11246
+ from
11247
+ to
11248
+ }
11249
+ createdInLast
11250
+ types
11251
+ fileTypes
11252
+ formats
11253
+ fileExtensions
11254
+ similarContents {
11255
+ id
11256
+ }
11257
+ contents {
11258
+ id
11259
+ }
11260
+ feeds {
11261
+ id
11262
+ }
11263
+ workflows {
11264
+ id
11265
+ }
11266
+ collections {
11267
+ id
11268
+ }
11269
+ users {
11270
+ id
11271
+ }
11272
+ observations {
11273
+ type
11274
+ observable {
11275
+ id
11276
+ }
11277
+ states
11278
+ }
11279
+ or {
11280
+ feeds {
11281
+ id
11282
+ }
11283
+ workflows {
11284
+ id
11285
+ }
11286
+ collections {
11287
+ id
11288
+ }
11289
+ users {
11290
+ id
11291
+ }
11292
+ observations {
11293
+ type
11294
+ observable {
11295
+ id
11296
+ }
11297
+ states
11298
+ }
11299
+ }
11300
+ and {
11301
+ feeds {
11302
+ id
11303
+ }
11304
+ workflows {
11305
+ id
11306
+ }
11307
+ collections {
11308
+ id
11309
+ }
11310
+ users {
11311
+ id
11312
+ }
11313
+ observations {
11314
+ type
11315
+ observable {
11316
+ id
11317
+ }
11318
+ states
11319
+ }
11320
+ }
11321
+ }
11322
+ }
11323
+ }
11324
+ """
11325
+
11148
11326
  VIEW_EXISTS_GQL = """
11149
11327
  query ViewExists($filter: ViewFilter, $correlationId: String) {
11150
11328
  viewExists(filter: $filter, correlationId: $correlationId) {
@@ -0,0 +1,316 @@
1
+ # Generated by ariadne-codegen
2
+ # Source: ./documents
3
+
4
+ from typing import Any, List, Optional
5
+
6
+ from pydantic import Field
7
+
8
+ from .base_model import BaseModel
9
+ from .enums import ContentTypes, EntityState, FileTypes, ObservableTypes, ViewTypes
10
+
11
+
12
+ class UpsertView(BaseModel):
13
+ upsert_view: Optional["UpsertViewUpsertView"] = Field(alias="upsertView")
14
+
15
+
16
+ class UpsertViewUpsertView(BaseModel):
17
+ id: str
18
+ name: str
19
+ state: EntityState
20
+ type: Optional[ViewTypes]
21
+ filter: Optional["UpsertViewUpsertViewFilter"]
22
+ augmented_filter: Optional["UpsertViewUpsertViewAugmentedFilter"] = Field(
23
+ alias="augmentedFilter"
24
+ )
25
+
26
+
27
+ class UpsertViewUpsertViewFilter(BaseModel):
28
+ date_range: Optional["UpsertViewUpsertViewFilterDateRange"] = Field(
29
+ alias="dateRange"
30
+ )
31
+ in_last: Optional[Any] = Field(alias="inLast")
32
+ creation_date_range: Optional["UpsertViewUpsertViewFilterCreationDateRange"] = (
33
+ Field(alias="creationDateRange")
34
+ )
35
+ created_in_last: Optional[Any] = Field(alias="createdInLast")
36
+ types: Optional[List[ContentTypes]]
37
+ file_types: Optional[List[Optional[FileTypes]]] = Field(alias="fileTypes")
38
+ formats: Optional[List[Optional[str]]]
39
+ file_extensions: Optional[List[str]] = Field(alias="fileExtensions")
40
+ similar_contents: Optional[List["UpsertViewUpsertViewFilterSimilarContents"]] = (
41
+ Field(alias="similarContents")
42
+ )
43
+ contents: Optional[List["UpsertViewUpsertViewFilterContents"]]
44
+ feeds: Optional[List["UpsertViewUpsertViewFilterFeeds"]]
45
+ workflows: Optional[List["UpsertViewUpsertViewFilterWorkflows"]]
46
+ collections: Optional[List["UpsertViewUpsertViewFilterCollections"]]
47
+ users: Optional[List["UpsertViewUpsertViewFilterUsers"]]
48
+ observations: Optional[List["UpsertViewUpsertViewFilterObservations"]]
49
+ or_: Optional[List["UpsertViewUpsertViewFilterOr"]] = Field(alias="or")
50
+ and_: Optional[List["UpsertViewUpsertViewFilterAnd"]] = Field(alias="and")
51
+
52
+
53
+ class UpsertViewUpsertViewFilterDateRange(BaseModel):
54
+ from_: Optional[Any] = Field(alias="from")
55
+ to: Optional[Any]
56
+
57
+
58
+ class UpsertViewUpsertViewFilterCreationDateRange(BaseModel):
59
+ from_: Optional[Any] = Field(alias="from")
60
+ to: Optional[Any]
61
+
62
+
63
+ class UpsertViewUpsertViewFilterSimilarContents(BaseModel):
64
+ id: str
65
+
66
+
67
+ class UpsertViewUpsertViewFilterContents(BaseModel):
68
+ id: str
69
+
70
+
71
+ class UpsertViewUpsertViewFilterFeeds(BaseModel):
72
+ id: str
73
+
74
+
75
+ class UpsertViewUpsertViewFilterWorkflows(BaseModel):
76
+ id: str
77
+
78
+
79
+ class UpsertViewUpsertViewFilterCollections(BaseModel):
80
+ id: str
81
+
82
+
83
+ class UpsertViewUpsertViewFilterUsers(BaseModel):
84
+ id: str
85
+
86
+
87
+ class UpsertViewUpsertViewFilterObservations(BaseModel):
88
+ type: ObservableTypes
89
+ observable: "UpsertViewUpsertViewFilterObservationsObservable"
90
+ states: Optional[List[Optional[EntityState]]]
91
+
92
+
93
+ class UpsertViewUpsertViewFilterObservationsObservable(BaseModel):
94
+ id: str
95
+
96
+
97
+ class UpsertViewUpsertViewFilterOr(BaseModel):
98
+ feeds: Optional[List["UpsertViewUpsertViewFilterOrFeeds"]]
99
+ workflows: Optional[List["UpsertViewUpsertViewFilterOrWorkflows"]]
100
+ collections: Optional[List["UpsertViewUpsertViewFilterOrCollections"]]
101
+ users: Optional[List["UpsertViewUpsertViewFilterOrUsers"]]
102
+ observations: Optional[List["UpsertViewUpsertViewFilterOrObservations"]]
103
+
104
+
105
+ class UpsertViewUpsertViewFilterOrFeeds(BaseModel):
106
+ id: str
107
+
108
+
109
+ class UpsertViewUpsertViewFilterOrWorkflows(BaseModel):
110
+ id: str
111
+
112
+
113
+ class UpsertViewUpsertViewFilterOrCollections(BaseModel):
114
+ id: str
115
+
116
+
117
+ class UpsertViewUpsertViewFilterOrUsers(BaseModel):
118
+ id: str
119
+
120
+
121
+ class UpsertViewUpsertViewFilterOrObservations(BaseModel):
122
+ type: ObservableTypes
123
+ observable: "UpsertViewUpsertViewFilterOrObservationsObservable"
124
+ states: Optional[List[Optional[EntityState]]]
125
+
126
+
127
+ class UpsertViewUpsertViewFilterOrObservationsObservable(BaseModel):
128
+ id: str
129
+
130
+
131
+ class UpsertViewUpsertViewFilterAnd(BaseModel):
132
+ feeds: Optional[List["UpsertViewUpsertViewFilterAndFeeds"]]
133
+ workflows: Optional[List["UpsertViewUpsertViewFilterAndWorkflows"]]
134
+ collections: Optional[List["UpsertViewUpsertViewFilterAndCollections"]]
135
+ users: Optional[List["UpsertViewUpsertViewFilterAndUsers"]]
136
+ observations: Optional[List["UpsertViewUpsertViewFilterAndObservations"]]
137
+
138
+
139
+ class UpsertViewUpsertViewFilterAndFeeds(BaseModel):
140
+ id: str
141
+
142
+
143
+ class UpsertViewUpsertViewFilterAndWorkflows(BaseModel):
144
+ id: str
145
+
146
+
147
+ class UpsertViewUpsertViewFilterAndCollections(BaseModel):
148
+ id: str
149
+
150
+
151
+ class UpsertViewUpsertViewFilterAndUsers(BaseModel):
152
+ id: str
153
+
154
+
155
+ class UpsertViewUpsertViewFilterAndObservations(BaseModel):
156
+ type: ObservableTypes
157
+ observable: "UpsertViewUpsertViewFilterAndObservationsObservable"
158
+ states: Optional[List[Optional[EntityState]]]
159
+
160
+
161
+ class UpsertViewUpsertViewFilterAndObservationsObservable(BaseModel):
162
+ id: str
163
+
164
+
165
+ class UpsertViewUpsertViewAugmentedFilter(BaseModel):
166
+ date_range: Optional["UpsertViewUpsertViewAugmentedFilterDateRange"] = Field(
167
+ alias="dateRange"
168
+ )
169
+ in_last: Optional[Any] = Field(alias="inLast")
170
+ creation_date_range: Optional[
171
+ "UpsertViewUpsertViewAugmentedFilterCreationDateRange"
172
+ ] = Field(alias="creationDateRange")
173
+ created_in_last: Optional[Any] = Field(alias="createdInLast")
174
+ types: Optional[List[ContentTypes]]
175
+ file_types: Optional[List[Optional[FileTypes]]] = Field(alias="fileTypes")
176
+ formats: Optional[List[Optional[str]]]
177
+ file_extensions: Optional[List[str]] = Field(alias="fileExtensions")
178
+ similar_contents: Optional[
179
+ List["UpsertViewUpsertViewAugmentedFilterSimilarContents"]
180
+ ] = Field(alias="similarContents")
181
+ contents: Optional[List["UpsertViewUpsertViewAugmentedFilterContents"]]
182
+ feeds: Optional[List["UpsertViewUpsertViewAugmentedFilterFeeds"]]
183
+ workflows: Optional[List["UpsertViewUpsertViewAugmentedFilterWorkflows"]]
184
+ collections: Optional[List["UpsertViewUpsertViewAugmentedFilterCollections"]]
185
+ users: Optional[List["UpsertViewUpsertViewAugmentedFilterUsers"]]
186
+ observations: Optional[List["UpsertViewUpsertViewAugmentedFilterObservations"]]
187
+ or_: Optional[List["UpsertViewUpsertViewAugmentedFilterOr"]] = Field(alias="or")
188
+ and_: Optional[List["UpsertViewUpsertViewAugmentedFilterAnd"]] = Field(alias="and")
189
+
190
+
191
+ class UpsertViewUpsertViewAugmentedFilterDateRange(BaseModel):
192
+ from_: Optional[Any] = Field(alias="from")
193
+ to: Optional[Any]
194
+
195
+
196
+ class UpsertViewUpsertViewAugmentedFilterCreationDateRange(BaseModel):
197
+ from_: Optional[Any] = Field(alias="from")
198
+ to: Optional[Any]
199
+
200
+
201
+ class UpsertViewUpsertViewAugmentedFilterSimilarContents(BaseModel):
202
+ id: str
203
+
204
+
205
+ class UpsertViewUpsertViewAugmentedFilterContents(BaseModel):
206
+ id: str
207
+
208
+
209
+ class UpsertViewUpsertViewAugmentedFilterFeeds(BaseModel):
210
+ id: str
211
+
212
+
213
+ class UpsertViewUpsertViewAugmentedFilterWorkflows(BaseModel):
214
+ id: str
215
+
216
+
217
+ class UpsertViewUpsertViewAugmentedFilterCollections(BaseModel):
218
+ id: str
219
+
220
+
221
+ class UpsertViewUpsertViewAugmentedFilterUsers(BaseModel):
222
+ id: str
223
+
224
+
225
+ class UpsertViewUpsertViewAugmentedFilterObservations(BaseModel):
226
+ type: ObservableTypes
227
+ observable: "UpsertViewUpsertViewAugmentedFilterObservationsObservable"
228
+ states: Optional[List[Optional[EntityState]]]
229
+
230
+
231
+ class UpsertViewUpsertViewAugmentedFilterObservationsObservable(BaseModel):
232
+ id: str
233
+
234
+
235
+ class UpsertViewUpsertViewAugmentedFilterOr(BaseModel):
236
+ feeds: Optional[List["UpsertViewUpsertViewAugmentedFilterOrFeeds"]]
237
+ workflows: Optional[List["UpsertViewUpsertViewAugmentedFilterOrWorkflows"]]
238
+ collections: Optional[List["UpsertViewUpsertViewAugmentedFilterOrCollections"]]
239
+ users: Optional[List["UpsertViewUpsertViewAugmentedFilterOrUsers"]]
240
+ observations: Optional[List["UpsertViewUpsertViewAugmentedFilterOrObservations"]]
241
+
242
+
243
+ class UpsertViewUpsertViewAugmentedFilterOrFeeds(BaseModel):
244
+ id: str
245
+
246
+
247
+ class UpsertViewUpsertViewAugmentedFilterOrWorkflows(BaseModel):
248
+ id: str
249
+
250
+
251
+ class UpsertViewUpsertViewAugmentedFilterOrCollections(BaseModel):
252
+ id: str
253
+
254
+
255
+ class UpsertViewUpsertViewAugmentedFilterOrUsers(BaseModel):
256
+ id: str
257
+
258
+
259
+ class UpsertViewUpsertViewAugmentedFilterOrObservations(BaseModel):
260
+ type: ObservableTypes
261
+ observable: "UpsertViewUpsertViewAugmentedFilterOrObservationsObservable"
262
+ states: Optional[List[Optional[EntityState]]]
263
+
264
+
265
+ class UpsertViewUpsertViewAugmentedFilterOrObservationsObservable(BaseModel):
266
+ id: str
267
+
268
+
269
+ class UpsertViewUpsertViewAugmentedFilterAnd(BaseModel):
270
+ feeds: Optional[List["UpsertViewUpsertViewAugmentedFilterAndFeeds"]]
271
+ workflows: Optional[List["UpsertViewUpsertViewAugmentedFilterAndWorkflows"]]
272
+ collections: Optional[List["UpsertViewUpsertViewAugmentedFilterAndCollections"]]
273
+ users: Optional[List["UpsertViewUpsertViewAugmentedFilterAndUsers"]]
274
+ observations: Optional[List["UpsertViewUpsertViewAugmentedFilterAndObservations"]]
275
+
276
+
277
+ class UpsertViewUpsertViewAugmentedFilterAndFeeds(BaseModel):
278
+ id: str
279
+
280
+
281
+ class UpsertViewUpsertViewAugmentedFilterAndWorkflows(BaseModel):
282
+ id: str
283
+
284
+
285
+ class UpsertViewUpsertViewAugmentedFilterAndCollections(BaseModel):
286
+ id: str
287
+
288
+
289
+ class UpsertViewUpsertViewAugmentedFilterAndUsers(BaseModel):
290
+ id: str
291
+
292
+
293
+ class UpsertViewUpsertViewAugmentedFilterAndObservations(BaseModel):
294
+ type: ObservableTypes
295
+ observable: "UpsertViewUpsertViewAugmentedFilterAndObservationsObservable"
296
+ states: Optional[List[Optional[EntityState]]]
297
+
298
+
299
+ class UpsertViewUpsertViewAugmentedFilterAndObservationsObservable(BaseModel):
300
+ id: str
301
+
302
+
303
+ UpsertView.model_rebuild()
304
+ UpsertViewUpsertView.model_rebuild()
305
+ UpsertViewUpsertViewFilter.model_rebuild()
306
+ UpsertViewUpsertViewFilterObservations.model_rebuild()
307
+ UpsertViewUpsertViewFilterOr.model_rebuild()
308
+ UpsertViewUpsertViewFilterOrObservations.model_rebuild()
309
+ UpsertViewUpsertViewFilterAnd.model_rebuild()
310
+ UpsertViewUpsertViewFilterAndObservations.model_rebuild()
311
+ UpsertViewUpsertViewAugmentedFilter.model_rebuild()
312
+ UpsertViewUpsertViewAugmentedFilterObservations.model_rebuild()
313
+ UpsertViewUpsertViewAugmentedFilterOr.model_rebuild()
314
+ UpsertViewUpsertViewAugmentedFilterOrObservations.model_rebuild()
315
+ UpsertViewUpsertViewAugmentedFilterAnd.model_rebuild()
316
+ UpsertViewUpsertViewAugmentedFilterAndObservations.model_rebuild()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: graphlit-client
3
- Version: 1.0.20250627002
3
+ Version: 1.0.20250627003
4
4
  Summary: Graphlit API Python Client
5
5
  Home-page: https://github.com/graphlit/graphlit-client-python
6
6
  Author: Unstruk Data Inc.
@@ -1,13 +1,13 @@
1
1
  graphlit/__init__.py,sha256=4AyigTlFQWP40lnaaQ1H1iRT_B1hIXW9bgPanbwmTvs,32
2
2
  graphlit/graphlit.py,sha256=g2znIWEb6fIwMKGm5G_BY4VHdaZi6hLO4Y6FdBjNesM,2389
3
- graphlit_api/__init__.py,sha256=xAZqDQS2xgG4i82ldRwhwdQRPC4ZlkN5QwTExPKeT3Y,230979
3
+ graphlit_api/__init__.py,sha256=qcTVaW0pEZLPqwgcVkJKptad6fjsgxiM2wKiZMOtAEQ,235994
4
4
  graphlit_api/add_contents_to_collections.py,sha256=K7tNpLn8-lRVaVT39iKr-VtCKRWVONyL_h6cC0L606Y,888
5
5
  graphlit_api/ask_graphlit.py,sha256=U2grdqvzeFMjTzM5ACTEXV2Rk-R_WAwdslzWAtZb6i8,6489
6
6
  graphlit_api/async_base_client.py,sha256=v0KUVwe2_RIQa8Mn7l_yD5McUe7B03vhclJ9SP4XGgw,12578
7
7
  graphlit_api/base_model.py,sha256=o2d-DixASFCGztr3rTiGX0AwgFu7Awr7EgD70FI8a-I,620
8
8
  graphlit_api/branch_conversation.py,sha256=iU3IsoM526AHUHjX0ODAyOPTpyS9N5RqSdytoAOmKbU,539
9
9
  graphlit_api/clear_conversation.py,sha256=5GOmc2wfupV-7EHWyi3v6LA0pSVLtFNCzxPJm42Dp6Y,531
10
- graphlit_api/client.py,sha256=obbaeXykXw7rJ_OxvlChK0z2YHKrjM3viGK1pTJ6VSU,219059
10
+ graphlit_api/client.py,sha256=MeFlE4AimLSALkvoDbZPxzl88V5pEbMYzEYRHMBdX4Q,219515
11
11
  graphlit_api/close_conversation.py,sha256=HcIUUiNf7hnuLZ7Fy6IcgfuHMSyWyJ7uOEy1EEETy_4,531
12
12
  graphlit_api/complete_conversation.py,sha256=39v86YLrm9IGQVcsRHUyxoTkiT1sNoVPQZzim5FxSZo,16844
13
13
  graphlit_api/continue_conversation.py,sha256=Ba_ufN-4Ji6ZjznlilvS85xxkdV5JGpnuEQUU-qGXBk,16844
@@ -167,7 +167,7 @@ graphlit_api/enable_alert.py,sha256=KctjIbnyZDoDynbuD6IR2fHuNHKAtM07VVgKzTL479g,
167
167
  graphlit_api/enable_feed.py,sha256=BhtLlEGV9p8ICodywdN9-sASWSX3w_4c3zYtf-bdaGE,390
168
168
  graphlit_api/enable_user.py,sha256=_0rQnpwVYhBrRcnpfqrKTOiANgOMe-ibUAHmS-XC0qo,390
169
169
  graphlit_api/enums.py,sha256=HzAu_qbW_mtz7OR-BW0_I_7N4R06NN05VjbZH-FjOdA,30399
170
- graphlit_api/exceptions.py,sha256=s0ECCqA83fhlv5GqIpT-fNFIZ7sRABG23Wj7DcEl4X0,2433
170
+ graphlit_api/exceptions.py,sha256=OQu-ZYCCV4VyMWTd1HR8gIjIK2CrA_JMlFxqOAJugWY,2411
171
171
  graphlit_api/extract_contents.py,sha256=qsSy8UOJuqsUnCcuduaNPyaK2mZk_1noECT0Jgx3zRA,961
172
172
  graphlit_api/extract_text.py,sha256=jfkL6ep5wzXeoelZ5nRwNRT0t7oDCUt1xrigqkMj-7M,887
173
173
  graphlit_api/feed_exists.py,sha256=NlvWhqVaV-coIV_orR-XsaXhG0Gll3bPVS3tPF0zEt0,351
@@ -219,7 +219,7 @@ graphlit_api/lookup_contents.py,sha256=_s9tmHSm6WNIEKQ4J2JEdSsGg30HKhf3CxoiPMwZJ
219
219
  graphlit_api/lookup_credits.py,sha256=WsV7fGbg29WWOjPRIaL2bnhISGsb0SqUlQxL7rBfNTo,1464
220
220
  graphlit_api/lookup_usage.py,sha256=D_cbO0KmXDqRYqQIhNwWXNFGjwNLEy2_5aVa-SYgRzw,1711
221
221
  graphlit_api/map_web.py,sha256=2rp4jFD1vDqcQ98mCVTeC0RzPqQxmmcRvHNRl8HJfFA,346
222
- graphlit_api/operations.py,sha256=M1yqV4bK1ah35hV8VVP7Yt8dhcQt_U3fmh0oGFuUp2s,221381
222
+ graphlit_api/operations.py,sha256=UrIpq02WvH0SsxbolEjkbE7t68TgcvPzhOc_Kk5LjSI,223842
223
223
  graphlit_api/prompt.py,sha256=jBlM3ywGnbVPYSBHMDPAy5ZlDDtndRsHnV7twcwLX1g,6203
224
224
  graphlit_api/prompt_conversation.py,sha256=JMiDfxFaixz63wXcT-h948c5x2Uc6PgB3D7wORltkhU,16458
225
225
  graphlit_api/prompt_specifications.py,sha256=GFLRlyp5pISfB0PVMw3RPCwGvqkA3qI5M2NiXXu2aT0,7090
@@ -325,11 +325,12 @@ graphlit_api/update_workflow.py,sha256=7yo3c5v4ScPdfOkPtnqyq-0hRTIkdjuHuCXDnsj8J
325
325
  graphlit_api/upsert_category.py,sha256=Q60eV1hfyx9xV6fWNW9bhadTqWFfY4-u8V-vGMUO7Vs,396
326
326
  graphlit_api/upsert_label.py,sha256=_bVWrISvyt4G4IcjAKqu8c5P6FDgaODdIGtSToJfNOY,358
327
327
  graphlit_api/upsert_specification.py,sha256=23eLTL8OLAYE-j_nhjT5NgaCrSUs9Q40rGW_VhDrDoM,643
328
+ graphlit_api/upsert_view.py,sha256=heJie4ClpyUbADUdtHvZn94Vppsf4xLmfHk9dVPLzi0,10224
328
329
  graphlit_api/upsert_workflow.py,sha256=BWzMvOF7kQWs-uLuet5jCletHq8KGD7XK-ZwWpHM5MU,16804
329
330
  graphlit_api/view_exists.py,sha256=OSYvGogCDHxbHfIjcjgKBSmCoIE4gOEjnPgiS5xX_yE,351
330
331
  graphlit_api/workflow_exists.py,sha256=1XVcqCW_KZ3BwUFx08lwqQdf1ZpJ6Vmi8jBqcrMqYRI,397
331
- graphlit_client-1.0.20250627002.dist-info/licenses/LICENSE,sha256=ivF8XnUYrNZFQ1wZFMrxWshDb1h7TdSK6Qk8_3WPkhM,1095
332
- graphlit_client-1.0.20250627002.dist-info/METADATA,sha256=Uf_Uw0EJotN4iDrZ1yElclNNobBHYzNdgQFftsDLTOo,3408
333
- graphlit_client-1.0.20250627002.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
334
- graphlit_client-1.0.20250627002.dist-info/top_level.txt,sha256=HUVfNzJrxWuHS-4M5I7XjLa8-mxYQwfx01A4YKJZSYM,22
335
- graphlit_client-1.0.20250627002.dist-info/RECORD,,
332
+ graphlit_client-1.0.20250627003.dist-info/licenses/LICENSE,sha256=ivF8XnUYrNZFQ1wZFMrxWshDb1h7TdSK6Qk8_3WPkhM,1095
333
+ graphlit_client-1.0.20250627003.dist-info/METADATA,sha256=8WEYAonJCyG4-qdqXSULsdwtzer_9vpm7eBFCsuHNP0,3408
334
+ graphlit_client-1.0.20250627003.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
335
+ graphlit_client-1.0.20250627003.dist-info/top_level.txt,sha256=HUVfNzJrxWuHS-4M5I7XjLa8-mxYQwfx01A4YKJZSYM,22
336
+ graphlit_client-1.0.20250627003.dist-info/RECORD,,