cribl-control-plane 0.0.39__py3-none-any.whl → 0.0.40a1__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 cribl-control-plane might be problematic. Click here for more details.
- cribl_control_plane/_version.py +3 -3
- cribl_control_plane/destinations_pq.py +2 -2
- cribl_control_plane/models/__init__.py +269 -0
- cribl_control_plane/models/branchinfo.py +13 -0
- cribl_control_plane/models/deleteoutputpqbyidop.py +5 -5
- cribl_control_plane/models/difffiles.py +171 -0
- cribl_control_plane/models/getoutputpqbyidop.py +6 -5
- cribl_control_plane/models/getversionbranchop.py +6 -5
- cribl_control_plane/models/getversioncountop.py +6 -5
- cribl_control_plane/models/getversiondiffop.py +6 -5
- cribl_control_plane/models/gitcountresult.py +13 -0
- cribl_control_plane/models/gitdiffresult.py +16 -0
- cribl_control_plane/models/jobinfo.py +25 -0
- cribl_control_plane/models/jobstatus.py +17 -0
- cribl_control_plane/models/runnablejob.py +27 -0
- cribl_control_plane/models/runnablejobcollection.py +589 -0
- cribl_control_plane/models/runnablejobexecutor.py +336 -0
- cribl_control_plane/models/runnablejobscheduledsearch.py +267 -0
- {cribl_control_plane-0.0.39.dist-info → cribl_control_plane-0.0.40a1.dist-info}/METADATA +1 -1
- {cribl_control_plane-0.0.39.dist-info → cribl_control_plane-0.0.40a1.dist-info}/RECORD +21 -11
- {cribl_control_plane-0.0.39.dist-info → cribl_control_plane-0.0.40a1.dist-info}/WHEEL +0 -0
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
+
from .jobinfo import JobInfo, JobInfoTypedDict
|
|
4
5
|
from cribl_control_plane.types import BaseModel
|
|
5
6
|
from cribl_control_plane.utils import FieldMetadata, PathParamMetadata
|
|
6
|
-
from typing import
|
|
7
|
+
from typing import List, Optional
|
|
7
8
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
8
9
|
|
|
9
10
|
|
|
@@ -20,17 +21,17 @@ class GetOutputPqByIDRequest(BaseModel):
|
|
|
20
21
|
|
|
21
22
|
|
|
22
23
|
class GetOutputPqByIDResponseTypedDict(TypedDict):
|
|
23
|
-
r"""a list of
|
|
24
|
+
r"""a list of JobInfo objects"""
|
|
24
25
|
|
|
25
26
|
count: NotRequired[int]
|
|
26
27
|
r"""number of items present in the items array"""
|
|
27
|
-
items: NotRequired[List[
|
|
28
|
+
items: NotRequired[List[JobInfoTypedDict]]
|
|
28
29
|
|
|
29
30
|
|
|
30
31
|
class GetOutputPqByIDResponse(BaseModel):
|
|
31
|
-
r"""a list of
|
|
32
|
+
r"""a list of JobInfo objects"""
|
|
32
33
|
|
|
33
34
|
count: Optional[int] = None
|
|
34
35
|
r"""number of items present in the items array"""
|
|
35
36
|
|
|
36
|
-
items: Optional[List[
|
|
37
|
+
items: Optional[List[JobInfo]] = None
|
|
@@ -1,23 +1,24 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
+
from .branchinfo import BranchInfo, BranchInfoTypedDict
|
|
4
5
|
from cribl_control_plane.types import BaseModel
|
|
5
|
-
from typing import
|
|
6
|
+
from typing import List, Optional
|
|
6
7
|
from typing_extensions import NotRequired, TypedDict
|
|
7
8
|
|
|
8
9
|
|
|
9
10
|
class GetVersionBranchResponseTypedDict(TypedDict):
|
|
10
|
-
r"""a list of
|
|
11
|
+
r"""a list of BranchInfo objects"""
|
|
11
12
|
|
|
12
13
|
count: NotRequired[int]
|
|
13
14
|
r"""number of items present in the items array"""
|
|
14
|
-
items: NotRequired[List[
|
|
15
|
+
items: NotRequired[List[BranchInfoTypedDict]]
|
|
15
16
|
|
|
16
17
|
|
|
17
18
|
class GetVersionBranchResponse(BaseModel):
|
|
18
|
-
r"""a list of
|
|
19
|
+
r"""a list of BranchInfo objects"""
|
|
19
20
|
|
|
20
21
|
count: Optional[int] = None
|
|
21
22
|
r"""number of items present in the items array"""
|
|
22
23
|
|
|
23
|
-
items: Optional[List[
|
|
24
|
+
items: Optional[List[BranchInfo]] = None
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
+
from .gitcountresult import GitCountResult, GitCountResultTypedDict
|
|
4
5
|
from cribl_control_plane.types import BaseModel
|
|
5
6
|
from cribl_control_plane.utils import FieldMetadata, QueryParamMetadata
|
|
6
7
|
import pydantic
|
|
7
|
-
from typing import
|
|
8
|
+
from typing import List, Optional
|
|
8
9
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
9
10
|
|
|
10
11
|
|
|
@@ -32,17 +33,17 @@ class GetVersionCountRequest(BaseModel):
|
|
|
32
33
|
|
|
33
34
|
|
|
34
35
|
class GetVersionCountResponseTypedDict(TypedDict):
|
|
35
|
-
r"""a list of
|
|
36
|
+
r"""a list of GitCountResult objects"""
|
|
36
37
|
|
|
37
38
|
count: NotRequired[int]
|
|
38
39
|
r"""number of items present in the items array"""
|
|
39
|
-
items: NotRequired[List[
|
|
40
|
+
items: NotRequired[List[GitCountResultTypedDict]]
|
|
40
41
|
|
|
41
42
|
|
|
42
43
|
class GetVersionCountResponse(BaseModel):
|
|
43
|
-
r"""a list of
|
|
44
|
+
r"""a list of GitCountResult objects"""
|
|
44
45
|
|
|
45
46
|
count: Optional[int] = None
|
|
46
47
|
r"""number of items present in the items array"""
|
|
47
48
|
|
|
48
|
-
items: Optional[List[
|
|
49
|
+
items: Optional[List[GitCountResult]] = None
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
+
from .gitdiffresult import GitDiffResult, GitDiffResultTypedDict
|
|
4
5
|
from cribl_control_plane.types import BaseModel
|
|
5
6
|
from cribl_control_plane.utils import FieldMetadata, QueryParamMetadata
|
|
6
7
|
import pydantic
|
|
7
|
-
from typing import
|
|
8
|
+
from typing import List, Optional
|
|
8
9
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
9
10
|
|
|
10
11
|
|
|
@@ -48,17 +49,17 @@ class GetVersionDiffRequest(BaseModel):
|
|
|
48
49
|
|
|
49
50
|
|
|
50
51
|
class GetVersionDiffResponseTypedDict(TypedDict):
|
|
51
|
-
r"""a list of
|
|
52
|
+
r"""a list of GitDiffResult objects"""
|
|
52
53
|
|
|
53
54
|
count: NotRequired[int]
|
|
54
55
|
r"""number of items present in the items array"""
|
|
55
|
-
items: NotRequired[List[
|
|
56
|
+
items: NotRequired[List[GitDiffResultTypedDict]]
|
|
56
57
|
|
|
57
58
|
|
|
58
59
|
class GetVersionDiffResponse(BaseModel):
|
|
59
|
-
r"""a list of
|
|
60
|
+
r"""a list of GitDiffResult objects"""
|
|
60
61
|
|
|
61
62
|
count: Optional[int] = None
|
|
62
63
|
r"""number of items present in the items array"""
|
|
63
64
|
|
|
64
|
-
items: Optional[List[
|
|
65
|
+
items: Optional[List[GitDiffResult]] = None
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from cribl_control_plane.types import BaseModel
|
|
5
|
+
from typing_extensions import TypedDict
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class GitCountResultTypedDict(TypedDict):
|
|
9
|
+
count: float
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class GitCountResult(BaseModel):
|
|
13
|
+
count: float
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from .difffiles import DiffFiles, DiffFilesTypedDict
|
|
5
|
+
from cribl_control_plane.types import BaseModel
|
|
6
|
+
import pydantic
|
|
7
|
+
from typing import List
|
|
8
|
+
from typing_extensions import Annotated, TypedDict
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class GitDiffResultTypedDict(TypedDict):
|
|
12
|
+
diff_json: List[DiffFilesTypedDict]
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
class GitDiffResult(BaseModel):
|
|
16
|
+
diff_json: Annotated[List[DiffFiles], pydantic.Field(alias="diffJson")]
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from .jobstatus import JobStatus, JobStatusTypedDict
|
|
5
|
+
from .runnablejob import RunnableJob, RunnableJobTypedDict
|
|
6
|
+
from cribl_control_plane.types import BaseModel
|
|
7
|
+
from typing import Optional
|
|
8
|
+
from typing_extensions import NotRequired, TypedDict
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class JobInfoTypedDict(TypedDict):
|
|
12
|
+
args: RunnableJobTypedDict
|
|
13
|
+
id: str
|
|
14
|
+
status: JobStatusTypedDict
|
|
15
|
+
keep: NotRequired[bool]
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
class JobInfo(BaseModel):
|
|
19
|
+
args: RunnableJob
|
|
20
|
+
|
|
21
|
+
id: str
|
|
22
|
+
|
|
23
|
+
status: JobStatus
|
|
24
|
+
|
|
25
|
+
keep: Optional[bool] = None
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from cribl_control_plane.types import BaseModel
|
|
5
|
+
from typing import Any, Dict, Optional
|
|
6
|
+
from typing_extensions import NotRequired, TypedDict
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class JobStatusTypedDict(TypedDict):
|
|
10
|
+
state: Dict[str, Any]
|
|
11
|
+
reason: NotRequired[Dict[str, Any]]
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
class JobStatus(BaseModel):
|
|
15
|
+
state: Dict[str, Any]
|
|
16
|
+
|
|
17
|
+
reason: Optional[Dict[str, Any]] = None
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from .runnablejobcollection import RunnableJobCollection, RunnableJobCollectionTypedDict
|
|
5
|
+
from .runnablejobexecutor import RunnableJobExecutor, RunnableJobExecutorTypedDict
|
|
6
|
+
from .runnablejobscheduledsearch import (
|
|
7
|
+
RunnableJobScheduledSearch,
|
|
8
|
+
RunnableJobScheduledSearchTypedDict,
|
|
9
|
+
)
|
|
10
|
+
from typing import Union
|
|
11
|
+
from typing_extensions import TypeAliasType
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
RunnableJobTypedDict = TypeAliasType(
|
|
15
|
+
"RunnableJobTypedDict",
|
|
16
|
+
Union[
|
|
17
|
+
RunnableJobScheduledSearchTypedDict,
|
|
18
|
+
RunnableJobExecutorTypedDict,
|
|
19
|
+
RunnableJobCollectionTypedDict,
|
|
20
|
+
],
|
|
21
|
+
)
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
RunnableJob = TypeAliasType(
|
|
25
|
+
"RunnableJob",
|
|
26
|
+
Union[RunnableJobScheduledSearch, RunnableJobExecutor, RunnableJobCollection],
|
|
27
|
+
)
|