cribl-control-plane 0.0.39__py3-none-any.whl → 0.0.40__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.

@@ -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 Any, Dict, List, Optional
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 any objects"""
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[Dict[str, Any]]]
28
+ items: NotRequired[List[JobInfoTypedDict]]
28
29
 
29
30
 
30
31
  class GetOutputPqByIDResponse(BaseModel):
31
- r"""a list of any objects"""
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[Dict[str, Any]]] = None
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 Any, Dict, List, Optional
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 any objects"""
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[Dict[str, Any]]]
15
+ items: NotRequired[List[BranchInfoTypedDict]]
15
16
 
16
17
 
17
18
  class GetVersionBranchResponse(BaseModel):
18
- r"""a list of any objects"""
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[Dict[str, Any]]] = None
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 Any, Dict, List, Optional
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 any objects"""
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[Dict[str, Any]]]
40
+ items: NotRequired[List[GitCountResultTypedDict]]
40
41
 
41
42
 
42
43
  class GetVersionCountResponse(BaseModel):
43
- r"""a list of any objects"""
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[Dict[str, Any]]] = None
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 Any, Dict, List, Optional
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 any objects"""
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[Dict[str, Any]]]
56
+ items: NotRequired[List[GitDiffResultTypedDict]]
56
57
 
57
58
 
58
59
  class GetVersionDiffResponse(BaseModel):
59
- r"""a list of any objects"""
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[Dict[str, Any]]] = None
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")]
@@ -181,7 +181,7 @@ class InputWinEventLogs(BaseModel):
181
181
  pq: Optional[InputWinEventLogsPq] = None
182
182
 
183
183
  read_mode: Annotated[Optional[ReadMode], pydantic.Field(alias="readMode")] = (
184
- ReadMode.OLDEST
184
+ ReadMode.NEWEST
185
185
  )
186
186
  r"""Read all stored and future event logs, or only future events"""
187
187
 
@@ -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
@@ -27,7 +27,7 @@ class PackInstallInfoTags(BaseModel):
27
27
  class PackInstallInfoTypedDict(TypedDict):
28
28
  id: str
29
29
  source: str
30
- warnings: Any
30
+ warnings: List[str]
31
31
  author: NotRequired[str]
32
32
  description: NotRequired[str]
33
33
  display_name: NotRequired[str]
@@ -47,7 +47,7 @@ class PackInstallInfo(BaseModel):
47
47
 
48
48
  source: str
49
49
 
50
- warnings: Any
50
+ warnings: List[str]
51
51
 
52
52
  author: Optional[str] = None
53
53
 
@@ -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
+ )