naget 0.3.0__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.
- naget/__init__.py +134 -0
- naget/_client.py +2348 -0
- naget/_config.py +110 -0
- naget/_errors.py +72 -0
- naget/_models.py +561 -0
- naget/_transport.py +227 -0
- naget/cli.py +1174 -0
- naget/generated/__init__.py +0 -0
- naget/generated/schema.py +2197 -0
- naget/public-defaults.json +1 -0
- naget-0.3.0.dist-info/METADATA +931 -0
- naget-0.3.0.dist-info/RECORD +15 -0
- naget-0.3.0.dist-info/WHEEL +4 -0
- naget-0.3.0.dist-info/entry_points.txt +2 -0
- naget-0.3.0.dist-info/licenses/LICENSE +21 -0
naget/__init__.py
ADDED
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
"""Naget Python SDK."""
|
|
2
|
+
|
|
3
|
+
from ._client import AsyncNaget, Naget
|
|
4
|
+
from ._errors import (
|
|
5
|
+
APIConnectionError,
|
|
6
|
+
APIError,
|
|
7
|
+
APITimeoutError,
|
|
8
|
+
AuthenticationError,
|
|
9
|
+
ConflictError,
|
|
10
|
+
ConfigurationError,
|
|
11
|
+
ExpiredOperationError,
|
|
12
|
+
NotFoundError,
|
|
13
|
+
OperationFailedError,
|
|
14
|
+
RateLimitError,
|
|
15
|
+
ValidationError,
|
|
16
|
+
)
|
|
17
|
+
from ._models import (
|
|
18
|
+
SEARCH_MODES,
|
|
19
|
+
SEARCH_OUTPUT_FORMATS,
|
|
20
|
+
SEARCH_RESULT_FIELDS,
|
|
21
|
+
SEARCH_TIERS,
|
|
22
|
+
WEB_INDEX_TIERS,
|
|
23
|
+
Agent,
|
|
24
|
+
SearchTool,
|
|
25
|
+
SearchToolBulkIngestionResult,
|
|
26
|
+
SearchToolBulkSchemaProposal,
|
|
27
|
+
SearchToolBulkUploadReference,
|
|
28
|
+
SearchToolParser,
|
|
29
|
+
SearchToolParserFilePreview,
|
|
30
|
+
SearchToolParserPreview,
|
|
31
|
+
SearchToolUploadCompletion,
|
|
32
|
+
SearchToolUploadFile,
|
|
33
|
+
SearchToolUploadInitiateResponse,
|
|
34
|
+
SearchToolUploadTarget,
|
|
35
|
+
Document,
|
|
36
|
+
DocumentMutationResult,
|
|
37
|
+
Event,
|
|
38
|
+
Operation,
|
|
39
|
+
Page,
|
|
40
|
+
PersistedSchemaCandidate,
|
|
41
|
+
PersistedSchemaCandidatePage,
|
|
42
|
+
RankedSearchResult,
|
|
43
|
+
Search,
|
|
44
|
+
SearchParams,
|
|
45
|
+
SchemaCandidatePage,
|
|
46
|
+
SchemaEvolutionResult,
|
|
47
|
+
SchemaEvolutionUnchanged,
|
|
48
|
+
SchemaFieldProfile,
|
|
49
|
+
SchemaFieldProposal,
|
|
50
|
+
SchemaProposal,
|
|
51
|
+
SchemaProposalBase,
|
|
52
|
+
Secret,
|
|
53
|
+
TypedQuery,
|
|
54
|
+
TypedFieldDeclaration,
|
|
55
|
+
TypedSchemaMetadata,
|
|
56
|
+
WebIndexCategory,
|
|
57
|
+
WebIndexLanguage,
|
|
58
|
+
WebIndexParsedQuery,
|
|
59
|
+
WebIndexParseResponse,
|
|
60
|
+
WebIndexPrimarySources,
|
|
61
|
+
WebIndexScope,
|
|
62
|
+
WebIndexSearchResponse,
|
|
63
|
+
WebIndexSearchResult,
|
|
64
|
+
WebIndexTaxonomy,
|
|
65
|
+
WebIndexTier,
|
|
66
|
+
)
|
|
67
|
+
from .generated import schema as wire_models
|
|
68
|
+
|
|
69
|
+
__all__ = [
|
|
70
|
+
"APIConnectionError",
|
|
71
|
+
"APIError",
|
|
72
|
+
"APITimeoutError",
|
|
73
|
+
"Agent",
|
|
74
|
+
"AsyncNaget",
|
|
75
|
+
"AuthenticationError",
|
|
76
|
+
"ConflictError",
|
|
77
|
+
"ConfigurationError",
|
|
78
|
+
"SearchTool",
|
|
79
|
+
"SearchToolBulkIngestionResult",
|
|
80
|
+
"SearchToolBulkSchemaProposal",
|
|
81
|
+
"SearchToolBulkUploadReference",
|
|
82
|
+
"SearchToolParser",
|
|
83
|
+
"SearchToolParserFilePreview",
|
|
84
|
+
"SearchToolParserPreview",
|
|
85
|
+
"SearchToolUploadCompletion",
|
|
86
|
+
"SearchToolUploadFile",
|
|
87
|
+
"SearchToolUploadInitiateResponse",
|
|
88
|
+
"SearchToolUploadTarget",
|
|
89
|
+
"Document",
|
|
90
|
+
"DocumentMutationResult",
|
|
91
|
+
"Event",
|
|
92
|
+
"ExpiredOperationError",
|
|
93
|
+
"Naget",
|
|
94
|
+
"NotFoundError",
|
|
95
|
+
"Operation",
|
|
96
|
+
"OperationFailedError",
|
|
97
|
+
"Page",
|
|
98
|
+
"PersistedSchemaCandidate",
|
|
99
|
+
"PersistedSchemaCandidatePage",
|
|
100
|
+
"RankedSearchResult",
|
|
101
|
+
"RateLimitError",
|
|
102
|
+
"SEARCH_MODES",
|
|
103
|
+
"SEARCH_OUTPUT_FORMATS",
|
|
104
|
+
"SEARCH_RESULT_FIELDS",
|
|
105
|
+
"SEARCH_TIERS",
|
|
106
|
+
"Search",
|
|
107
|
+
"SearchParams",
|
|
108
|
+
"SchemaCandidatePage",
|
|
109
|
+
"SchemaEvolutionResult",
|
|
110
|
+
"SchemaEvolutionUnchanged",
|
|
111
|
+
"SchemaFieldProfile",
|
|
112
|
+
"SchemaFieldProposal",
|
|
113
|
+
"SchemaProposal",
|
|
114
|
+
"SchemaProposalBase",
|
|
115
|
+
"Secret",
|
|
116
|
+
"TypedQuery",
|
|
117
|
+
"TypedFieldDeclaration",
|
|
118
|
+
"TypedSchemaMetadata",
|
|
119
|
+
"ValidationError",
|
|
120
|
+
"WEB_INDEX_TIERS",
|
|
121
|
+
"WebIndexCategory",
|
|
122
|
+
"WebIndexLanguage",
|
|
123
|
+
"WebIndexParsedQuery",
|
|
124
|
+
"WebIndexParseResponse",
|
|
125
|
+
"WebIndexPrimarySources",
|
|
126
|
+
"WebIndexScope",
|
|
127
|
+
"WebIndexSearchResponse",
|
|
128
|
+
"WebIndexSearchResult",
|
|
129
|
+
"WebIndexTaxonomy",
|
|
130
|
+
"WebIndexTier",
|
|
131
|
+
"wire_models",
|
|
132
|
+
]
|
|
133
|
+
|
|
134
|
+
__version__ = "0.3.0"
|