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.

@@ -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
- ]