graphlit-client 1.0.20250627004__py3-none-any.whl → 1.0.20250627005__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 +20 -0
- graphlit_api/client.py +32 -0
- graphlit_api/operations.py +24 -0
- graphlit_api/query_discord_channels.py +27 -0
- graphlit_api/query_discord_guilds.py +27 -0
- {graphlit_client-1.0.20250627004.dist-info → graphlit_client-1.0.20250627005.dist-info}/METADATA +1 -1
- {graphlit_client-1.0.20250627004.dist-info → graphlit_client-1.0.20250627005.dist-info}/RECORD +10 -8
- {graphlit_client-1.0.20250627004.dist-info → graphlit_client-1.0.20250627005.dist-info}/WHEEL +0 -0
- {graphlit_client-1.0.20250627004.dist-info → graphlit_client-1.0.20250627005.dist-info}/licenses/LICENSE +0 -0
- {graphlit_client-1.0.20250627004.dist-info → graphlit_client-1.0.20250627005.dist-info}/top_level.txt +0 -0
graphlit_api/__init__.py
CHANGED
@@ -1889,6 +1889,8 @@ from .operations import (
|
|
1889
1889
|
QUERY_CONTENTS_OBSERVATIONS_GQL,
|
1890
1890
|
QUERY_CONVERSATIONS_GQL,
|
1891
1891
|
QUERY_CREDITS_GQL,
|
1892
|
+
QUERY_DISCORD_CHANNELS_GQL,
|
1893
|
+
QUERY_DISCORD_GUILDS_GQL,
|
1892
1894
|
QUERY_DROPBOX_FOLDERS_GQL,
|
1893
1895
|
QUERY_EVENTS_GQL,
|
1894
1896
|
QUERY_FEEDS_GQL,
|
@@ -2295,6 +2297,16 @@ from .query_conversations import (
|
|
2295
2297
|
QueryConversationsConversationsResultsSpecification,
|
2296
2298
|
)
|
2297
2299
|
from .query_credits import QueryCredits, QueryCreditsCredits
|
2300
|
+
from .query_discord_channels import (
|
2301
|
+
QueryDiscordChannels,
|
2302
|
+
QueryDiscordChannelsDiscordChannels,
|
2303
|
+
QueryDiscordChannelsDiscordChannelsResults,
|
2304
|
+
)
|
2305
|
+
from .query_discord_guilds import (
|
2306
|
+
QueryDiscordGuilds,
|
2307
|
+
QueryDiscordGuildsDiscordGuilds,
|
2308
|
+
QueryDiscordGuildsDiscordGuildsResults,
|
2309
|
+
)
|
2298
2310
|
from .query_dropbox_folders import (
|
2299
2311
|
QueryDropboxFolders,
|
2300
2312
|
QueryDropboxFoldersDropboxFolders,
|
@@ -4811,6 +4823,8 @@ __all__ = [
|
|
4811
4823
|
"QUERY_CONTENTS_OBSERVATIONS_GQL",
|
4812
4824
|
"QUERY_CONVERSATIONS_GQL",
|
4813
4825
|
"QUERY_CREDITS_GQL",
|
4826
|
+
"QUERY_DISCORD_CHANNELS_GQL",
|
4827
|
+
"QUERY_DISCORD_GUILDS_GQL",
|
4814
4828
|
"QUERY_DROPBOX_FOLDERS_GQL",
|
4815
4829
|
"QUERY_EVENTS_GQL",
|
4816
4830
|
"QUERY_FEEDS_GQL",
|
@@ -5056,6 +5070,12 @@ __all__ = [
|
|
5056
5070
|
"QueryConversationsConversationsResultsSpecification",
|
5057
5071
|
"QueryCredits",
|
5058
5072
|
"QueryCreditsCredits",
|
5073
|
+
"QueryDiscordChannels",
|
5074
|
+
"QueryDiscordChannelsDiscordChannels",
|
5075
|
+
"QueryDiscordChannelsDiscordChannelsResults",
|
5076
|
+
"QueryDiscordGuilds",
|
5077
|
+
"QueryDiscordGuildsDiscordGuilds",
|
5078
|
+
"QueryDiscordGuildsDiscordGuildsResults",
|
5059
5079
|
"QueryDropboxFolders",
|
5060
5080
|
"QueryDropboxFoldersDropboxFolders",
|
5061
5081
|
"QueryDropboxFoldersDropboxFoldersResults",
|
graphlit_api/client.py
CHANGED
@@ -236,6 +236,8 @@ from .input_types import (
|
|
236
236
|
ConversationMessageInput,
|
237
237
|
ConversationToolResponseInput,
|
238
238
|
ConversationUpdateInput,
|
239
|
+
DiscordChannelsInput,
|
240
|
+
DiscordGuildsInput,
|
239
241
|
DropboxFoldersInput,
|
240
242
|
EntityReferenceInput,
|
241
243
|
EventFilter,
|
@@ -570,6 +572,8 @@ from .operations import (
|
|
570
572
|
QUERY_CONTENTS_OBSERVATIONS_GQL,
|
571
573
|
QUERY_CONVERSATIONS_GQL,
|
572
574
|
QUERY_CREDITS_GQL,
|
575
|
+
QUERY_DISCORD_CHANNELS_GQL,
|
576
|
+
QUERY_DISCORD_GUILDS_GQL,
|
573
577
|
QUERY_DROPBOX_FOLDERS_GQL,
|
574
578
|
QUERY_EVENTS_GQL,
|
575
579
|
QUERY_FEEDS_GQL,
|
@@ -681,6 +685,8 @@ from .query_contents_graph import QueryContentsGraph
|
|
681
685
|
from .query_contents_observations import QueryContentsObservations
|
682
686
|
from .query_conversations import QueryConversations
|
683
687
|
from .query_credits import QueryCredits
|
688
|
+
from .query_discord_channels import QueryDiscordChannels
|
689
|
+
from .query_discord_guilds import QueryDiscordGuilds
|
684
690
|
from .query_dropbox_folders import QueryDropboxFolders
|
685
691
|
from .query_events import QueryEvents
|
686
692
|
from .query_feeds import QueryFeeds
|
@@ -2823,6 +2829,32 @@ class Client(AsyncBaseClient):
|
|
2823
2829
|
data = self.get_data(response)
|
2824
2830
|
return QueryBoxFolders.model_validate(data)
|
2825
2831
|
|
2832
|
+
async def query_discord_channels(
|
2833
|
+
self, properties: DiscordChannelsInput, **kwargs: Any
|
2834
|
+
) -> QueryDiscordChannels:
|
2835
|
+
variables: Dict[str, object] = {"properties": properties}
|
2836
|
+
response = await self.execute(
|
2837
|
+
query=QUERY_DISCORD_CHANNELS_GQL,
|
2838
|
+
operation_name="QueryDiscordChannels",
|
2839
|
+
variables=variables,
|
2840
|
+
**kwargs
|
2841
|
+
)
|
2842
|
+
data = self.get_data(response)
|
2843
|
+
return QueryDiscordChannels.model_validate(data)
|
2844
|
+
|
2845
|
+
async def query_discord_guilds(
|
2846
|
+
self, properties: DiscordGuildsInput, **kwargs: Any
|
2847
|
+
) -> QueryDiscordGuilds:
|
2848
|
+
variables: Dict[str, object] = {"properties": properties}
|
2849
|
+
response = await self.execute(
|
2850
|
+
query=QUERY_DISCORD_GUILDS_GQL,
|
2851
|
+
operation_name="QueryDiscordGuilds",
|
2852
|
+
variables=variables,
|
2853
|
+
**kwargs
|
2854
|
+
)
|
2855
|
+
data = self.get_data(response)
|
2856
|
+
return QueryDiscordGuilds.model_validate(data)
|
2857
|
+
|
2826
2858
|
async def query_dropbox_folders(
|
2827
2859
|
self,
|
2828
2860
|
properties: DropboxFoldersInput,
|
graphlit_api/operations.py
CHANGED
@@ -231,6 +231,8 @@ __all__ = [
|
|
231
231
|
"QUERY_CONTENTS_OBSERVATIONS_GQL",
|
232
232
|
"QUERY_CONVERSATIONS_GQL",
|
233
233
|
"QUERY_CREDITS_GQL",
|
234
|
+
"QUERY_DISCORD_CHANNELS_GQL",
|
235
|
+
"QUERY_DISCORD_GUILDS_GQL",
|
234
236
|
"QUERY_DROPBOX_FOLDERS_GQL",
|
235
237
|
"QUERY_EVENTS_GQL",
|
236
238
|
"QUERY_FEEDS_GQL",
|
@@ -7074,6 +7076,28 @@ query QueryBoxFolders($properties: BoxFoldersInput!, $folderId: ID) {
|
|
7074
7076
|
}
|
7075
7077
|
"""
|
7076
7078
|
|
7079
|
+
QUERY_DISCORD_CHANNELS_GQL = """
|
7080
|
+
query QueryDiscordChannels($properties: DiscordChannelsInput!) {
|
7081
|
+
discordChannels(properties: $properties) {
|
7082
|
+
results {
|
7083
|
+
channelName
|
7084
|
+
channelId
|
7085
|
+
}
|
7086
|
+
}
|
7087
|
+
}
|
7088
|
+
"""
|
7089
|
+
|
7090
|
+
QUERY_DISCORD_GUILDS_GQL = """
|
7091
|
+
query QueryDiscordGuilds($properties: DiscordGuildsInput!) {
|
7092
|
+
discordGuilds(properties: $properties) {
|
7093
|
+
results {
|
7094
|
+
guildName
|
7095
|
+
guildId
|
7096
|
+
}
|
7097
|
+
}
|
7098
|
+
}
|
7099
|
+
"""
|
7100
|
+
|
7077
7101
|
QUERY_DROPBOX_FOLDERS_GQL = """
|
7078
7102
|
query QueryDropboxFolders($properties: DropboxFoldersInput!, $folderPath: String) {
|
7079
7103
|
dropboxFolders(properties: $properties, folderPath: $folderPath) {
|
@@ -0,0 +1,27 @@
|
|
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
|
+
|
10
|
+
|
11
|
+
class QueryDiscordChannels(BaseModel):
|
12
|
+
discord_channels: Optional["QueryDiscordChannelsDiscordChannels"] = Field(
|
13
|
+
alias="discordChannels"
|
14
|
+
)
|
15
|
+
|
16
|
+
|
17
|
+
class QueryDiscordChannelsDiscordChannels(BaseModel):
|
18
|
+
results: Optional[List[Optional["QueryDiscordChannelsDiscordChannelsResults"]]]
|
19
|
+
|
20
|
+
|
21
|
+
class QueryDiscordChannelsDiscordChannelsResults(BaseModel):
|
22
|
+
channel_name: Optional[str] = Field(alias="channelName")
|
23
|
+
channel_id: Optional[str] = Field(alias="channelId")
|
24
|
+
|
25
|
+
|
26
|
+
QueryDiscordChannels.model_rebuild()
|
27
|
+
QueryDiscordChannelsDiscordChannels.model_rebuild()
|
@@ -0,0 +1,27 @@
|
|
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
|
+
|
10
|
+
|
11
|
+
class QueryDiscordGuilds(BaseModel):
|
12
|
+
discord_guilds: Optional["QueryDiscordGuildsDiscordGuilds"] = Field(
|
13
|
+
alias="discordGuilds"
|
14
|
+
)
|
15
|
+
|
16
|
+
|
17
|
+
class QueryDiscordGuildsDiscordGuilds(BaseModel):
|
18
|
+
results: Optional[List[Optional["QueryDiscordGuildsDiscordGuildsResults"]]]
|
19
|
+
|
20
|
+
|
21
|
+
class QueryDiscordGuildsDiscordGuildsResults(BaseModel):
|
22
|
+
guild_name: Optional[str] = Field(alias="guildName")
|
23
|
+
guild_id: Optional[str] = Field(alias="guildId")
|
24
|
+
|
25
|
+
|
26
|
+
QueryDiscordGuilds.model_rebuild()
|
27
|
+
QueryDiscordGuildsDiscordGuilds.model_rebuild()
|
{graphlit_client-1.0.20250627004.dist-info → graphlit_client-1.0.20250627005.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=T5uaVE-hYWB-oOLXgeS-Y8J1iiK77EDrsBfFf2GlSvI,236997
|
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=HeB4dnZcylk8UN5IFm6rXN2NHrB8eFXf99PsXqbaywY,221669
|
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
|
@@ -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=
|
222
|
+
graphlit_api/operations.py,sha256=C8OtFyrUakkpCXtb3x-WPfAdqFH8Hm4KZc_oS1807ok,224881
|
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
|
@@ -237,6 +237,8 @@ graphlit_api/query_contents_graph.py,sha256=RzQHZEQOOzB0yLTvU6rBJu_Str3Gc9m8BG8f
|
|
237
237
|
graphlit_api/query_contents_observations.py,sha256=_YlrtwSeD99c0xO3Ujwlj0mS1YX9d82rO4WcdWAFbKA,15413
|
238
238
|
graphlit_api/query_conversations.py,sha256=_uO9SRB7q7M-IlTbL_0RCk3RkHMLFPKKTEtsLaKqgu4,19815
|
239
239
|
graphlit_api/query_credits.py,sha256=6uJqn4iYfBfsUtSMTCSuV4d2VTiYR4gR5tEeDH5Cf9o,1396
|
240
|
+
graphlit_api/query_discord_channels.py,sha256=nQAoOUj7HbrQVkYgXSSQzxbH5AYRjsfTQfEGWJ3YUtA,721
|
241
|
+
graphlit_api/query_discord_guilds.py,sha256=zq-sEc4AXQgWXI4xtX_bm2TnqgREKchxj8gAKiXMt6M,685
|
240
242
|
graphlit_api/query_dropbox_folders.py,sha256=KQeuBCG7GBQWV6hr3vqzhDkrgfQ73LM8jU6ETAp-21c,703
|
241
243
|
graphlit_api/query_events.py,sha256=-YWXAy3hjSHlrIk9GtiKaPow3aWppE2XO60sToSjxSc,1716
|
242
244
|
graphlit_api/query_feeds.py,sha256=347iEpFo7UjCFGpXXqv44VvTpmDXnfXsIJgPj9PT-q4,15480
|
@@ -330,8 +332,8 @@ graphlit_api/upsert_view.py,sha256=heJie4ClpyUbADUdtHvZn94Vppsf4xLmfHk9dVPLzi0,1
|
|
330
332
|
graphlit_api/upsert_workflow.py,sha256=BWzMvOF7kQWs-uLuet5jCletHq8KGD7XK-ZwWpHM5MU,16804
|
331
333
|
graphlit_api/view_exists.py,sha256=OSYvGogCDHxbHfIjcjgKBSmCoIE4gOEjnPgiS5xX_yE,351
|
332
334
|
graphlit_api/workflow_exists.py,sha256=1XVcqCW_KZ3BwUFx08lwqQdf1ZpJ6Vmi8jBqcrMqYRI,397
|
333
|
-
graphlit_client-1.0.
|
334
|
-
graphlit_client-1.0.
|
335
|
-
graphlit_client-1.0.
|
336
|
-
graphlit_client-1.0.
|
337
|
-
graphlit_client-1.0.
|
335
|
+
graphlit_client-1.0.20250627005.dist-info/licenses/LICENSE,sha256=ivF8XnUYrNZFQ1wZFMrxWshDb1h7TdSK6Qk8_3WPkhM,1095
|
336
|
+
graphlit_client-1.0.20250627005.dist-info/METADATA,sha256=R_DVgP0tl6lGijOi9EMWKqZtmLwl6CPlapwoKrSjRBc,3408
|
337
|
+
graphlit_client-1.0.20250627005.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
338
|
+
graphlit_client-1.0.20250627005.dist-info/top_level.txt,sha256=HUVfNzJrxWuHS-4M5I7XjLa8-mxYQwfx01A4YKJZSYM,22
|
339
|
+
graphlit_client-1.0.20250627005.dist-info/RECORD,,
|
{graphlit_client-1.0.20250627004.dist-info → graphlit_client-1.0.20250627005.dist-info}/WHEEL
RENAMED
File without changes
|
File without changes
|
File without changes
|