lambdadb 0.1.3__py3-none-any.whl → 0.2.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.
Potentially problematic release.
This version of lambdadb might be problematic. Click here for more details.
- lambdadb/_hooks/__init__.py +0 -1
- lambdadb/_hooks/sdkhooks.py +4 -6
- lambdadb/_hooks/types.py +8 -2
- lambdadb/_version.py +4 -4
- lambdadb/basesdk.py +12 -20
- lambdadb/collections.py +12 -0
- lambdadb/docs.py +10 -0
- lambdadb/models/__init__.py +0 -87
- lambdadb/projects.py +0 -1211
- lambdadb/sdk.py +2 -7
- lambdadb/sdkconfiguration.py +0 -7
- lambdadb/utils/forms.py +49 -28
- {lambdadb-0.1.3.dist-info → lambdadb-0.2.0.dist-info}/METADATA +74 -89
- {lambdadb-0.1.3.dist-info → lambdadb-0.2.0.dist-info}/RECORD +16 -22
- lambdadb/models/createprojectop.py +0 -39
- lambdadb/models/deleteprojectop.py +0 -52
- lambdadb/models/getprojectop.py +0 -39
- lambdadb/models/listprojectsop.py +0 -38
- lambdadb/models/projectresponse.py +0 -38
- lambdadb/models/updateprojectop.py +0 -58
- {lambdadb-0.1.3.dist-info → lambdadb-0.2.0.dist-info}/LICENSE +0 -0
- {lambdadb-0.1.3.dist-info → lambdadb-0.2.0.dist-info}/WHEEL +0 -0
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
-
|
|
3
|
-
from __future__ import annotations
|
|
4
|
-
from .projectresponse import ProjectResponse, ProjectResponseTypedDict
|
|
5
|
-
from lambdadb.types import BaseModel
|
|
6
|
-
from lambdadb.utils import FieldMetadata, SecurityMetadata
|
|
7
|
-
from typing import List, Optional
|
|
8
|
-
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
class ListProjectsSecurityTypedDict(TypedDict):
|
|
12
|
-
admin_api_key: str
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
class ListProjectsSecurity(BaseModel):
|
|
16
|
-
admin_api_key: Annotated[
|
|
17
|
-
str,
|
|
18
|
-
FieldMetadata(
|
|
19
|
-
security=SecurityMetadata(
|
|
20
|
-
scheme=True,
|
|
21
|
-
scheme_type="apiKey",
|
|
22
|
-
sub_type="header",
|
|
23
|
-
field_name="x-api-key",
|
|
24
|
-
)
|
|
25
|
-
),
|
|
26
|
-
]
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
class ListProjectsResponseTypedDict(TypedDict):
|
|
30
|
-
r"""A list of projects."""
|
|
31
|
-
|
|
32
|
-
projects: NotRequired[List[ProjectResponseTypedDict]]
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
class ListProjectsResponse(BaseModel):
|
|
36
|
-
r"""A list of projects."""
|
|
37
|
-
|
|
38
|
-
projects: Optional[List[ProjectResponse]] = None
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
-
|
|
3
|
-
from __future__ import annotations
|
|
4
|
-
from .status import Status
|
|
5
|
-
from lambdadb.types import BaseModel
|
|
6
|
-
import pydantic
|
|
7
|
-
from typing import Optional
|
|
8
|
-
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
class ProjectResponseTypedDict(TypedDict):
|
|
12
|
-
id: NotRequired[str]
|
|
13
|
-
r"""Project ID."""
|
|
14
|
-
project_name: NotRequired[str]
|
|
15
|
-
r"""Project name."""
|
|
16
|
-
api_key: NotRequired[str]
|
|
17
|
-
r"""Project API key."""
|
|
18
|
-
rate_limit: NotRequired[float]
|
|
19
|
-
r"""Rate limit."""
|
|
20
|
-
status: NotRequired[Status]
|
|
21
|
-
r"""Status"""
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
class ProjectResponse(BaseModel):
|
|
25
|
-
id: Optional[str] = None
|
|
26
|
-
r"""Project ID."""
|
|
27
|
-
|
|
28
|
-
project_name: Annotated[Optional[str], pydantic.Field(alias="projectName")] = None
|
|
29
|
-
r"""Project name."""
|
|
30
|
-
|
|
31
|
-
api_key: Annotated[Optional[str], pydantic.Field(alias="apiKey")] = None
|
|
32
|
-
r"""Project API key."""
|
|
33
|
-
|
|
34
|
-
rate_limit: Annotated[Optional[float], pydantic.Field(alias="rateLimit")] = None
|
|
35
|
-
r"""Rate limit."""
|
|
36
|
-
|
|
37
|
-
status: Optional[Status] = None
|
|
38
|
-
r"""Status"""
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
-
|
|
3
|
-
from __future__ import annotations
|
|
4
|
-
from lambdadb.types import BaseModel
|
|
5
|
-
from lambdadb.utils import (
|
|
6
|
-
FieldMetadata,
|
|
7
|
-
PathParamMetadata,
|
|
8
|
-
RequestMetadata,
|
|
9
|
-
SecurityMetadata,
|
|
10
|
-
)
|
|
11
|
-
import pydantic
|
|
12
|
-
from typing_extensions import Annotated, TypedDict
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
class UpdateProjectSecurityTypedDict(TypedDict):
|
|
16
|
-
admin_api_key: str
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
class UpdateProjectSecurity(BaseModel):
|
|
20
|
-
admin_api_key: Annotated[
|
|
21
|
-
str,
|
|
22
|
-
FieldMetadata(
|
|
23
|
-
security=SecurityMetadata(
|
|
24
|
-
scheme=True,
|
|
25
|
-
scheme_type="apiKey",
|
|
26
|
-
sub_type="header",
|
|
27
|
-
field_name="x-api-key",
|
|
28
|
-
)
|
|
29
|
-
),
|
|
30
|
-
]
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
class UpdateProjectRequestBodyTypedDict(TypedDict):
|
|
34
|
-
rate_limit: float
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
class UpdateProjectRequestBody(BaseModel):
|
|
38
|
-
rate_limit: Annotated[float, pydantic.Field(alias="rateLimit")]
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
class UpdateProjectRequestTypedDict(TypedDict):
|
|
42
|
-
project_name: str
|
|
43
|
-
r"""Project name."""
|
|
44
|
-
request_body: UpdateProjectRequestBodyTypedDict
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
class UpdateProjectRequest(BaseModel):
|
|
48
|
-
project_name: Annotated[
|
|
49
|
-
str,
|
|
50
|
-
pydantic.Field(alias="projectName"),
|
|
51
|
-
FieldMetadata(path=PathParamMetadata(style="simple", explode=False)),
|
|
52
|
-
]
|
|
53
|
-
r"""Project name."""
|
|
54
|
-
|
|
55
|
-
request_body: Annotated[
|
|
56
|
-
UpdateProjectRequestBody,
|
|
57
|
-
FieldMetadata(request=RequestMetadata(media_type="application/json")),
|
|
58
|
-
]
|
|
File without changes
|
|
File without changes
|