graphlit-client 1.0.20250627001__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 +123 -0
- graphlit_api/client.py +75 -0
- graphlit_api/delete_all_views.py +23 -0
- graphlit_api/delete_views.py +23 -0
- graphlit_api/exceptions.py +1 -1
- graphlit_api/operations.py +211 -0
- graphlit_api/upsert_view.py +316 -0
- graphlit_api/view_exists.py +19 -0
- {graphlit_client-1.0.20250627001.dist-info → graphlit_client-1.0.20250627003.dist-info}/METADATA +1 -1
- {graphlit_client-1.0.20250627001.dist-info → graphlit_client-1.0.20250627003.dist-info}/RECORD +13 -9
- {graphlit_client-1.0.20250627001.dist-info → graphlit_client-1.0.20250627003.dist-info}/WHEEL +0 -0
- {graphlit_client-1.0.20250627001.dist-info → graphlit_client-1.0.20250627003.dist-info}/licenses/LICENSE +0 -0
- {graphlit_client-1.0.20250627001.dist-info → graphlit_client-1.0.20250627003.dist-info}/top_level.txt +0 -0
graphlit_api/__init__.py
CHANGED
@@ -405,6 +405,7 @@ from .delete_all_specifications import (
|
|
405
405
|
DeleteAllSpecifications,
|
406
406
|
DeleteAllSpecificationsDeleteAllSpecifications,
|
407
407
|
)
|
408
|
+
from .delete_all_views import DeleteAllViews, DeleteAllViewsDeleteAllViews
|
408
409
|
from .delete_all_workflows import (
|
409
410
|
DeleteAllWorkflows,
|
410
411
|
DeleteAllWorkflowsDeleteAllWorkflows,
|
@@ -541,6 +542,7 @@ from .delete_specifications import (
|
|
541
542
|
)
|
542
543
|
from .delete_user import DeleteUser, DeleteUserDeleteUser
|
543
544
|
from .delete_view import DeleteView, DeleteViewDeleteView
|
545
|
+
from .delete_views import DeleteViews, DeleteViewsDeleteViews
|
544
546
|
from .delete_workflow import DeleteWorkflow, DeleteWorkflowDeleteWorkflow
|
545
547
|
from .delete_workflows import DeleteWorkflows, DeleteWorkflowsDeleteWorkflows
|
546
548
|
from .describe_encoded_image import (
|
@@ -1753,6 +1755,7 @@ from .operations import (
|
|
1753
1755
|
DELETE_ALL_REPOS_GQL,
|
1754
1756
|
DELETE_ALL_SOFTWARES_GQL,
|
1755
1757
|
DELETE_ALL_SPECIFICATIONS_GQL,
|
1758
|
+
DELETE_ALL_VIEWS_GQL,
|
1756
1759
|
DELETE_ALL_WORKFLOWS_GQL,
|
1757
1760
|
DELETE_CATEGORIES_GQL,
|
1758
1761
|
DELETE_CATEGORY_GQL,
|
@@ -1808,6 +1811,7 @@ from .operations import (
|
|
1808
1811
|
DELETE_SPECIFICATIONS_GQL,
|
1809
1812
|
DELETE_USER_GQL,
|
1810
1813
|
DELETE_VIEW_GQL,
|
1814
|
+
DELETE_VIEWS_GQL,
|
1811
1815
|
DELETE_WORKFLOW_GQL,
|
1812
1816
|
DELETE_WORKFLOWS_GQL,
|
1813
1817
|
DESCRIBE_ENCODED_IMAGE_GQL,
|
@@ -1973,7 +1977,9 @@ from .operations import (
|
|
1973
1977
|
UPSERT_CATEGORY_GQL,
|
1974
1978
|
UPSERT_LABEL_GQL,
|
1975
1979
|
UPSERT_SPECIFICATION_GQL,
|
1980
|
+
UPSERT_VIEW_GQL,
|
1976
1981
|
UPSERT_WORKFLOW_GQL,
|
1982
|
+
VIEW_EXISTS_GQL,
|
1977
1983
|
WORKFLOW_EXISTS_GQL,
|
1978
1984
|
)
|
1979
1985
|
from .prompt import (
|
@@ -2939,6 +2945,60 @@ from .upsert_specification import (
|
|
2939
2945
|
UpsertSpecification,
|
2940
2946
|
UpsertSpecificationUpsertSpecification,
|
2941
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
|
+
)
|
2942
3002
|
from .upsert_workflow import (
|
2943
3003
|
UpsertWorkflow,
|
2944
3004
|
UpsertWorkflowUpsertWorkflow,
|
@@ -2996,6 +3056,7 @@ from .upsert_workflow import (
|
|
2996
3056
|
UpsertWorkflowUpsertWorkflowStorage,
|
2997
3057
|
UpsertWorkflowUpsertWorkflowStoragePolicy,
|
2998
3058
|
)
|
3059
|
+
from .view_exists import ViewExists, ViewExistsViewExists
|
2999
3060
|
from .workflow_exists import WorkflowExists, WorkflowExistsWorkflowExists
|
3000
3061
|
|
3001
3062
|
__all__ = [
|
@@ -3498,6 +3559,7 @@ __all__ = [
|
|
3498
3559
|
"DELETE_ALL_REPOS_GQL",
|
3499
3560
|
"DELETE_ALL_SOFTWARES_GQL",
|
3500
3561
|
"DELETE_ALL_SPECIFICATIONS_GQL",
|
3562
|
+
"DELETE_ALL_VIEWS_GQL",
|
3501
3563
|
"DELETE_ALL_WORKFLOWS_GQL",
|
3502
3564
|
"DELETE_CATEGORIES_GQL",
|
3503
3565
|
"DELETE_CATEGORY_GQL",
|
@@ -3552,6 +3614,7 @@ __all__ = [
|
|
3552
3614
|
"DELETE_SPECIFICATIONS_GQL",
|
3553
3615
|
"DELETE_SPECIFICATION_GQL",
|
3554
3616
|
"DELETE_USER_GQL",
|
3617
|
+
"DELETE_VIEWS_GQL",
|
3555
3618
|
"DELETE_VIEW_GQL",
|
3556
3619
|
"DELETE_WORKFLOWS_GQL",
|
3557
3620
|
"DELETE_WORKFLOW_GQL",
|
@@ -3623,6 +3686,8 @@ __all__ = [
|
|
3623
3686
|
"DeleteAllSoftwaresDeleteAllSoftwares",
|
3624
3687
|
"DeleteAllSpecifications",
|
3625
3688
|
"DeleteAllSpecificationsDeleteAllSpecifications",
|
3689
|
+
"DeleteAllViews",
|
3690
|
+
"DeleteAllViewsDeleteAllViews",
|
3626
3691
|
"DeleteAllWorkflows",
|
3627
3692
|
"DeleteAllWorkflowsDeleteAllWorkflows",
|
3628
3693
|
"DeleteCategories",
|
@@ -3733,6 +3798,8 @@ __all__ = [
|
|
3733
3798
|
"DeleteUserDeleteUser",
|
3734
3799
|
"DeleteView",
|
3735
3800
|
"DeleteViewDeleteView",
|
3801
|
+
"DeleteViews",
|
3802
|
+
"DeleteViewsDeleteViews",
|
3736
3803
|
"DeleteWorkflow",
|
3737
3804
|
"DeleteWorkflowDeleteWorkflow",
|
3738
3805
|
"DeleteWorkflows",
|
@@ -5484,6 +5551,7 @@ __all__ = [
|
|
5484
5551
|
"UPSERT_CATEGORY_GQL",
|
5485
5552
|
"UPSERT_LABEL_GQL",
|
5486
5553
|
"UPSERT_SPECIFICATION_GQL",
|
5554
|
+
"UPSERT_VIEW_GQL",
|
5487
5555
|
"UPSERT_WORKFLOW_GQL",
|
5488
5556
|
"UnitTypes",
|
5489
5557
|
"UpdateAlert",
|
@@ -5666,6 +5734,58 @@ __all__ = [
|
|
5666
5734
|
"UpsertLabelUpsertLabel",
|
5667
5735
|
"UpsertSpecification",
|
5668
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",
|
5669
5789
|
"UpsertWorkflow",
|
5670
5790
|
"UpsertWorkflowUpsertWorkflow",
|
5671
5791
|
"UpsertWorkflowUpsertWorkflowActions",
|
@@ -5725,7 +5845,10 @@ __all__ = [
|
|
5725
5845
|
"UserInput",
|
5726
5846
|
"UserTypes",
|
5727
5847
|
"UserUpdateInput",
|
5848
|
+
"VIEW_EXISTS_GQL",
|
5728
5849
|
"VideoMetadataInput",
|
5850
|
+
"ViewExists",
|
5851
|
+
"ViewExistsViewExists",
|
5729
5852
|
"ViewFilter",
|
5730
5853
|
"ViewInput",
|
5731
5854
|
"ViewTypes",
|
graphlit_api/client.py
CHANGED
@@ -100,6 +100,7 @@ from .delete_all_products import DeleteAllProducts
|
|
100
100
|
from .delete_all_repos import DeleteAllRepos
|
101
101
|
from .delete_all_softwares import DeleteAllSoftwares
|
102
102
|
from .delete_all_specifications import DeleteAllSpecifications
|
103
|
+
from .delete_all_views import DeleteAllViews
|
103
104
|
from .delete_all_workflows import DeleteAllWorkflows
|
104
105
|
from .delete_categories import DeleteCategories
|
105
106
|
from .delete_category import DeleteCategory
|
@@ -155,6 +156,7 @@ from .delete_specification import DeleteSpecification
|
|
155
156
|
from .delete_specifications import DeleteSpecifications
|
156
157
|
from .delete_user import DeleteUser
|
157
158
|
from .delete_view import DeleteView
|
159
|
+
from .delete_views import DeleteViews
|
158
160
|
from .delete_workflow import DeleteWorkflow
|
159
161
|
from .delete_workflows import DeleteWorkflows
|
160
162
|
from .describe_encoded_image import DescribeEncodedImage
|
@@ -434,6 +436,7 @@ from .operations import (
|
|
434
436
|
DELETE_ALL_REPOS_GQL,
|
435
437
|
DELETE_ALL_SOFTWARES_GQL,
|
436
438
|
DELETE_ALL_SPECIFICATIONS_GQL,
|
439
|
+
DELETE_ALL_VIEWS_GQL,
|
437
440
|
DELETE_ALL_WORKFLOWS_GQL,
|
438
441
|
DELETE_CATEGORIES_GQL,
|
439
442
|
DELETE_CATEGORY_GQL,
|
@@ -489,6 +492,7 @@ from .operations import (
|
|
489
492
|
DELETE_SPECIFICATIONS_GQL,
|
490
493
|
DELETE_USER_GQL,
|
491
494
|
DELETE_VIEW_GQL,
|
495
|
+
DELETE_VIEWS_GQL,
|
492
496
|
DELETE_WORKFLOW_GQL,
|
493
497
|
DELETE_WORKFLOWS_GQL,
|
494
498
|
DESCRIBE_ENCODED_IMAGE_GQL,
|
@@ -654,7 +658,9 @@ from .operations import (
|
|
654
658
|
UPSERT_CATEGORY_GQL,
|
655
659
|
UPSERT_LABEL_GQL,
|
656
660
|
UPSERT_SPECIFICATION_GQL,
|
661
|
+
UPSERT_VIEW_GQL,
|
657
662
|
UPSERT_WORKFLOW_GQL,
|
663
|
+
VIEW_EXISTS_GQL,
|
658
664
|
WORKFLOW_EXISTS_GQL,
|
659
665
|
)
|
660
666
|
from .prompt import Prompt
|
@@ -762,7 +768,9 @@ from .update_workflow import UpdateWorkflow
|
|
762
768
|
from .upsert_category import UpsertCategory
|
763
769
|
from .upsert_label import UpsertLabel
|
764
770
|
from .upsert_specification import UpsertSpecification
|
771
|
+
from .upsert_view import UpsertView
|
765
772
|
from .upsert_workflow import UpsertWorkflow
|
773
|
+
from .view_exists import ViewExists
|
766
774
|
from .workflow_exists import WorkflowExists
|
767
775
|
|
768
776
|
|
@@ -5876,6 +5884,27 @@ class Client(AsyncBaseClient):
|
|
5876
5884
|
data = self.get_data(response)
|
5877
5885
|
return CreateView.model_validate(data)
|
5878
5886
|
|
5887
|
+
async def delete_all_views(
|
5888
|
+
self,
|
5889
|
+
filter: Union[Optional[ViewFilter], UnsetType] = UNSET,
|
5890
|
+
is_synchronous: Union[Optional[bool], UnsetType] = UNSET,
|
5891
|
+
correlation_id: Union[Optional[str], UnsetType] = UNSET,
|
5892
|
+
**kwargs: Any
|
5893
|
+
) -> DeleteAllViews:
|
5894
|
+
variables: Dict[str, object] = {
|
5895
|
+
"filter": filter,
|
5896
|
+
"isSynchronous": is_synchronous,
|
5897
|
+
"correlationId": correlation_id,
|
5898
|
+
}
|
5899
|
+
response = await self.execute(
|
5900
|
+
query=DELETE_ALL_VIEWS_GQL,
|
5901
|
+
operation_name="DeleteAllViews",
|
5902
|
+
variables=variables,
|
5903
|
+
**kwargs
|
5904
|
+
)
|
5905
|
+
data = self.get_data(response)
|
5906
|
+
return DeleteAllViews.model_validate(data)
|
5907
|
+
|
5879
5908
|
async def delete_view(self, id: str, **kwargs: Any) -> DeleteView:
|
5880
5909
|
variables: Dict[str, object] = {"id": id}
|
5881
5910
|
response = await self.execute(
|
@@ -5887,6 +5916,22 @@ class Client(AsyncBaseClient):
|
|
5887
5916
|
data = self.get_data(response)
|
5888
5917
|
return DeleteView.model_validate(data)
|
5889
5918
|
|
5919
|
+
async def delete_views(
|
5920
|
+
self,
|
5921
|
+
ids: List[str],
|
5922
|
+
is_synchronous: Union[Optional[bool], UnsetType] = UNSET,
|
5923
|
+
**kwargs: Any
|
5924
|
+
) -> DeleteViews:
|
5925
|
+
variables: Dict[str, object] = {"ids": ids, "isSynchronous": is_synchronous}
|
5926
|
+
response = await self.execute(
|
5927
|
+
query=DELETE_VIEWS_GQL,
|
5928
|
+
operation_name="DeleteViews",
|
5929
|
+
variables=variables,
|
5930
|
+
**kwargs
|
5931
|
+
)
|
5932
|
+
data = self.get_data(response)
|
5933
|
+
return DeleteViews.model_validate(data)
|
5934
|
+
|
5890
5935
|
async def get_view(
|
5891
5936
|
self,
|
5892
5937
|
id: str,
|
@@ -5930,6 +5975,36 @@ class Client(AsyncBaseClient):
|
|
5930
5975
|
data = self.get_data(response)
|
5931
5976
|
return UpdateView.model_validate(data)
|
5932
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
|
+
|
5989
|
+
async def view_exists(
|
5990
|
+
self,
|
5991
|
+
filter: Union[Optional[ViewFilter], UnsetType] = UNSET,
|
5992
|
+
correlation_id: Union[Optional[str], UnsetType] = UNSET,
|
5993
|
+
**kwargs: Any
|
5994
|
+
) -> ViewExists:
|
5995
|
+
variables: Dict[str, object] = {
|
5996
|
+
"filter": filter,
|
5997
|
+
"correlationId": correlation_id,
|
5998
|
+
}
|
5999
|
+
response = await self.execute(
|
6000
|
+
query=VIEW_EXISTS_GQL,
|
6001
|
+
operation_name="ViewExists",
|
6002
|
+
variables=variables,
|
6003
|
+
**kwargs
|
6004
|
+
)
|
6005
|
+
data = self.get_data(response)
|
6006
|
+
return ViewExists.model_validate(data)
|
6007
|
+
|
5933
6008
|
async def count_workflows(
|
5934
6009
|
self,
|
5935
6010
|
filter: Union[Optional[WorkflowFilter], UnsetType] = UNSET,
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# Generated by ariadne-codegen
|
2
|
+
# Source: ./documents
|
3
|
+
|
4
|
+
from typing import List, Optional
|
5
|
+
|
6
|
+
from pydantic import Field
|
7
|
+
|
8
|
+
from .base_model import BaseModel
|
9
|
+
from .enums import EntityState
|
10
|
+
|
11
|
+
|
12
|
+
class DeleteAllViews(BaseModel):
|
13
|
+
delete_all_views: Optional[List[Optional["DeleteAllViewsDeleteAllViews"]]] = Field(
|
14
|
+
alias="deleteAllViews"
|
15
|
+
)
|
16
|
+
|
17
|
+
|
18
|
+
class DeleteAllViewsDeleteAllViews(BaseModel):
|
19
|
+
id: str
|
20
|
+
state: EntityState
|
21
|
+
|
22
|
+
|
23
|
+
DeleteAllViews.model_rebuild()
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# Generated by ariadne-codegen
|
2
|
+
# Source: ./documents
|
3
|
+
|
4
|
+
from typing import List, Optional
|
5
|
+
|
6
|
+
from pydantic import Field
|
7
|
+
|
8
|
+
from .base_model import BaseModel
|
9
|
+
from .enums import EntityState
|
10
|
+
|
11
|
+
|
12
|
+
class DeleteViews(BaseModel):
|
13
|
+
delete_views: Optional[List[Optional["DeleteViewsDeleteViews"]]] = Field(
|
14
|
+
alias="deleteViews"
|
15
|
+
)
|
16
|
+
|
17
|
+
|
18
|
+
class DeleteViewsDeleteViews(BaseModel):
|
19
|
+
id: str
|
20
|
+
state: EntityState
|
21
|
+
|
22
|
+
|
23
|
+
DeleteViews.model_rebuild()
|
graphlit_api/exceptions.py
CHANGED
@@ -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}
|
18
|
+
return f"HTTP status code: {self.status_code}"
|
19
19
|
|
20
20
|
|
21
21
|
class GraphQLClientInvalidResponseError(GraphQLClientError):
|
graphlit_api/operations.py
CHANGED
@@ -97,6 +97,7 @@ __all__ = [
|
|
97
97
|
"DELETE_ALL_REPOS_GQL",
|
98
98
|
"DELETE_ALL_SOFTWARES_GQL",
|
99
99
|
"DELETE_ALL_SPECIFICATIONS_GQL",
|
100
|
+
"DELETE_ALL_VIEWS_GQL",
|
100
101
|
"DELETE_ALL_WORKFLOWS_GQL",
|
101
102
|
"DELETE_CATEGORIES_GQL",
|
102
103
|
"DELETE_CATEGORY_GQL",
|
@@ -151,6 +152,7 @@ __all__ = [
|
|
151
152
|
"DELETE_SPECIFICATIONS_GQL",
|
152
153
|
"DELETE_SPECIFICATION_GQL",
|
153
154
|
"DELETE_USER_GQL",
|
155
|
+
"DELETE_VIEWS_GQL",
|
154
156
|
"DELETE_VIEW_GQL",
|
155
157
|
"DELETE_WORKFLOWS_GQL",
|
156
158
|
"DELETE_WORKFLOW_GQL",
|
@@ -317,7 +319,9 @@ __all__ = [
|
|
317
319
|
"UPSERT_CATEGORY_GQL",
|
318
320
|
"UPSERT_LABEL_GQL",
|
319
321
|
"UPSERT_SPECIFICATION_GQL",
|
322
|
+
"UPSERT_VIEW_GQL",
|
320
323
|
"UPSERT_WORKFLOW_GQL",
|
324
|
+
"VIEW_EXISTS_GQL",
|
321
325
|
"WORKFLOW_EXISTS_GQL",
|
322
326
|
]
|
323
327
|
|
@@ -10568,6 +10572,19 @@ mutation CreateView($view: ViewInput!) {
|
|
10568
10572
|
}
|
10569
10573
|
"""
|
10570
10574
|
|
10575
|
+
DELETE_ALL_VIEWS_GQL = """
|
10576
|
+
mutation DeleteAllViews($filter: ViewFilter, $isSynchronous: Boolean, $correlationId: String) {
|
10577
|
+
deleteAllViews(
|
10578
|
+
filter: $filter
|
10579
|
+
isSynchronous: $isSynchronous
|
10580
|
+
correlationId: $correlationId
|
10581
|
+
) {
|
10582
|
+
id
|
10583
|
+
state
|
10584
|
+
}
|
10585
|
+
}
|
10586
|
+
"""
|
10587
|
+
|
10571
10588
|
DELETE_VIEW_GQL = """
|
10572
10589
|
mutation DeleteView($id: ID!) {
|
10573
10590
|
deleteView(id: $id) {
|
@@ -10577,6 +10594,15 @@ mutation DeleteView($id: ID!) {
|
|
10577
10594
|
}
|
10578
10595
|
"""
|
10579
10596
|
|
10597
|
+
DELETE_VIEWS_GQL = """
|
10598
|
+
mutation DeleteViews($ids: [ID!]!, $isSynchronous: Boolean) {
|
10599
|
+
deleteViews(ids: $ids, isSynchronous: $isSynchronous) {
|
10600
|
+
id
|
10601
|
+
state
|
10602
|
+
}
|
10603
|
+
}
|
10604
|
+
"""
|
10605
|
+
|
10580
10606
|
GET_VIEW_GQL = """
|
10581
10607
|
query GetView($id: ID!, $correlationId: String) {
|
10582
10608
|
view(id: $id, correlationId: $correlationId) {
|
@@ -11120,6 +11146,191 @@ mutation UpdateView($view: ViewUpdateInput!) {
|
|
11120
11146
|
}
|
11121
11147
|
"""
|
11122
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
|
+
|
11326
|
+
VIEW_EXISTS_GQL = """
|
11327
|
+
query ViewExists($filter: ViewFilter, $correlationId: String) {
|
11328
|
+
viewExists(filter: $filter, correlationId: $correlationId) {
|
11329
|
+
result
|
11330
|
+
}
|
11331
|
+
}
|
11332
|
+
"""
|
11333
|
+
|
11123
11334
|
COUNT_WORKFLOWS_GQL = """
|
11124
11335
|
query CountWorkflows($filter: WorkflowFilter, $correlationId: String) {
|
11125
11336
|
countWorkflows(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()
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# Generated by ariadne-codegen
|
2
|
+
# Source: ./documents
|
3
|
+
|
4
|
+
from typing import Optional
|
5
|
+
|
6
|
+
from pydantic import Field
|
7
|
+
|
8
|
+
from .base_model import BaseModel
|
9
|
+
|
10
|
+
|
11
|
+
class ViewExists(BaseModel):
|
12
|
+
view_exists: Optional["ViewExistsViewExists"] = Field(alias="viewExists")
|
13
|
+
|
14
|
+
|
15
|
+
class ViewExistsViewExists(BaseModel):
|
16
|
+
result: Optional[bool]
|
17
|
+
|
18
|
+
|
19
|
+
ViewExists.model_rebuild()
|
{graphlit_client-1.0.20250627001.dist-info → graphlit_client-1.0.20250627003.dist-info}/RECORD
RENAMED
@@ -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=
|
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=
|
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
|
@@ -99,6 +99,7 @@ graphlit_api/delete_all_products.py,sha256=A2qRbnffYYEMCUQduaXxAIwDcWx22z7rDGE7T
|
|
99
99
|
graphlit_api/delete_all_repos.py,sha256=_p6kVnTjYpfCpzGrvEMR9Y8SChLrfWhTuDZNVwajclQ,459
|
100
100
|
graphlit_api/delete_all_softwares.py,sha256=G_HayzezkSiIi3iedLQ2H3ZSV4Z8SFsuzgIF6qDfAAg,491
|
101
101
|
graphlit_api/delete_all_specifications.py,sha256=h8xNxH1trSA5hOU7PpaX2aoyx9jCuO43tHWzCRY_G4Y,531
|
102
|
+
graphlit_api/delete_all_views.py,sha256=CxzqV8RDwZC5euk6NbnNzn5lzK2I6kdw0MTk8gaB4fc,459
|
102
103
|
graphlit_api/delete_all_workflows.py,sha256=1W_ofIlRSAt7_4XIWNJCegdPSXDIqBkzyepJKdFBji8,491
|
103
104
|
graphlit_api/delete_categories.py,sha256=BieY7zDWsXKTsYv2c_fLtEkXbzTFsJ3AFJV-FKdwk2o,476
|
104
105
|
graphlit_api/delete_category.py,sha256=HUvroX0LWXLAHEJ7TBEprjbUsJ3zQzkKIEM8KhuaGcY,436
|
@@ -154,6 +155,7 @@ graphlit_api/delete_specification.py,sha256=N1xmncFTKoznDEBcqD2BbiRSpf-4tCqhT-hN
|
|
154
155
|
graphlit_api/delete_specifications.py,sha256=AR9Ipo0_tNwnAUb2PSbpt3Mmzi-U_nZ345ZWI5mdJbY,506
|
155
156
|
graphlit_api/delete_user.py,sha256=ACVimDvC5JV4I8r9EsoKBTcW28DL4WYKnRIzCkz5KRo,390
|
156
157
|
graphlit_api/delete_view.py,sha256=e-H_mzuvFpKXd_dfz3jt5dZQkoq3EqGJUSG7qwtY_uU,390
|
158
|
+
graphlit_api/delete_views.py,sha256=Ke6ECN5zLz1lg5l0HCmmXAfPF0G-wqX9SQsqeJjzPss,434
|
157
159
|
graphlit_api/delete_workflow.py,sha256=8En1P3HYHc9h5PSZumSFQyLITlxGejgpB4pnlZ9Jz2w,436
|
158
160
|
graphlit_api/delete_workflows.py,sha256=9fHteXWNKeHJU1J54bKF7uxb3FFueQFanIBY0DreKfY,468
|
159
161
|
graphlit_api/describe_encoded_image.py,sha256=9MzArgCTfepv_wBlvKYCAuY-AJtwhNMU8U_BYF1wxDk,6452
|
@@ -165,7 +167,7 @@ graphlit_api/enable_alert.py,sha256=KctjIbnyZDoDynbuD6IR2fHuNHKAtM07VVgKzTL479g,
|
|
165
167
|
graphlit_api/enable_feed.py,sha256=BhtLlEGV9p8ICodywdN9-sASWSX3w_4c3zYtf-bdaGE,390
|
166
168
|
graphlit_api/enable_user.py,sha256=_0rQnpwVYhBrRcnpfqrKTOiANgOMe-ibUAHmS-XC0qo,390
|
167
169
|
graphlit_api/enums.py,sha256=HzAu_qbW_mtz7OR-BW0_I_7N4R06NN05VjbZH-FjOdA,30399
|
168
|
-
graphlit_api/exceptions.py,sha256=
|
170
|
+
graphlit_api/exceptions.py,sha256=OQu-ZYCCV4VyMWTd1HR8gIjIK2CrA_JMlFxqOAJugWY,2411
|
169
171
|
graphlit_api/extract_contents.py,sha256=qsSy8UOJuqsUnCcuduaNPyaK2mZk_1noECT0Jgx3zRA,961
|
170
172
|
graphlit_api/extract_text.py,sha256=jfkL6ep5wzXeoelZ5nRwNRT0t7oDCUt1xrigqkMj-7M,887
|
171
173
|
graphlit_api/feed_exists.py,sha256=NlvWhqVaV-coIV_orR-XsaXhG0Gll3bPVS3tPF0zEt0,351
|
@@ -217,7 +219,7 @@ graphlit_api/lookup_contents.py,sha256=_s9tmHSm6WNIEKQ4J2JEdSsGg30HKhf3CxoiPMwZJ
|
|
217
219
|
graphlit_api/lookup_credits.py,sha256=WsV7fGbg29WWOjPRIaL2bnhISGsb0SqUlQxL7rBfNTo,1464
|
218
220
|
graphlit_api/lookup_usage.py,sha256=D_cbO0KmXDqRYqQIhNwWXNFGjwNLEy2_5aVa-SYgRzw,1711
|
219
221
|
graphlit_api/map_web.py,sha256=2rp4jFD1vDqcQ98mCVTeC0RzPqQxmmcRvHNRl8HJfFA,346
|
220
|
-
graphlit_api/operations.py,sha256=
|
222
|
+
graphlit_api/operations.py,sha256=UrIpq02WvH0SsxbolEjkbE7t68TgcvPzhOc_Kk5LjSI,223842
|
221
223
|
graphlit_api/prompt.py,sha256=jBlM3ywGnbVPYSBHMDPAy5ZlDDtndRsHnV7twcwLX1g,6203
|
222
224
|
graphlit_api/prompt_conversation.py,sha256=JMiDfxFaixz63wXcT-h948c5x2Uc6PgB3D7wORltkhU,16458
|
223
225
|
graphlit_api/prompt_specifications.py,sha256=GFLRlyp5pISfB0PVMw3RPCwGvqkA3qI5M2NiXXu2aT0,7090
|
@@ -323,10 +325,12 @@ graphlit_api/update_workflow.py,sha256=7yo3c5v4ScPdfOkPtnqyq-0hRTIkdjuHuCXDnsj8J
|
|
323
325
|
graphlit_api/upsert_category.py,sha256=Q60eV1hfyx9xV6fWNW9bhadTqWFfY4-u8V-vGMUO7Vs,396
|
324
326
|
graphlit_api/upsert_label.py,sha256=_bVWrISvyt4G4IcjAKqu8c5P6FDgaODdIGtSToJfNOY,358
|
325
327
|
graphlit_api/upsert_specification.py,sha256=23eLTL8OLAYE-j_nhjT5NgaCrSUs9Q40rGW_VhDrDoM,643
|
328
|
+
graphlit_api/upsert_view.py,sha256=heJie4ClpyUbADUdtHvZn94Vppsf4xLmfHk9dVPLzi0,10224
|
326
329
|
graphlit_api/upsert_workflow.py,sha256=BWzMvOF7kQWs-uLuet5jCletHq8KGD7XK-ZwWpHM5MU,16804
|
330
|
+
graphlit_api/view_exists.py,sha256=OSYvGogCDHxbHfIjcjgKBSmCoIE4gOEjnPgiS5xX_yE,351
|
327
331
|
graphlit_api/workflow_exists.py,sha256=1XVcqCW_KZ3BwUFx08lwqQdf1ZpJ6Vmi8jBqcrMqYRI,397
|
328
|
-
graphlit_client-1.0.
|
329
|
-
graphlit_client-1.0.
|
330
|
-
graphlit_client-1.0.
|
331
|
-
graphlit_client-1.0.
|
332
|
-
graphlit_client-1.0.
|
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,,
|
{graphlit_client-1.0.20250627001.dist-info → graphlit_client-1.0.20250627003.dist-info}/WHEEL
RENAMED
File without changes
|
File without changes
|
File without changes
|