blaxel 0.2.1rc73__py3-none-any.whl → 0.2.1rc74__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.
- blaxel/core/sandbox/client/models/directory.py +37 -44
- blaxel/core/sandbox/client/models/error_response.py +9 -9
- blaxel/core/sandbox/client/models/file.py +33 -39
- blaxel/core/sandbox/client/models/file_with_content.py +37 -44
- blaxel/core/sandbox/client/models/process_logs.py +17 -19
- blaxel/core/sandbox/client/models/process_response.py +46 -51
- blaxel/core/sandbox/client/models/subdirectory.py +13 -14
- blaxel/core/sandbox/client/models/success_response.py +13 -14
- {blaxel-0.2.1rc73.dist-info → blaxel-0.2.1rc74.dist-info}/METADATA +1 -1
- {blaxel-0.2.1rc73.dist-info → blaxel-0.2.1rc74.dist-info}/RECORD +12 -12
- {blaxel-0.2.1rc73.dist-info → blaxel-0.2.1rc74.dist-info}/WHEEL +0 -0
- {blaxel-0.2.1rc73.dist-info → blaxel-0.2.1rc74.dist-info}/licenses/LICENSE +0 -0
@@ -1,10 +1,8 @@
|
|
1
|
-
from typing import TYPE_CHECKING, Any, TypeVar
|
1
|
+
from typing import TYPE_CHECKING, Any, TypeVar
|
2
2
|
|
3
3
|
from attrs import define as _attrs_define
|
4
4
|
from attrs import field as _attrs_field
|
5
5
|
|
6
|
-
from ..types import UNSET, Unset
|
7
|
-
|
8
6
|
if TYPE_CHECKING:
|
9
7
|
from ..models.file import File
|
10
8
|
from ..models.subdirectory import Subdirectory
|
@@ -17,54 +15,49 @@ T = TypeVar("T", bound="Directory")
|
|
17
15
|
class Directory:
|
18
16
|
"""
|
19
17
|
Attributes:
|
20
|
-
files (
|
21
|
-
name (
|
22
|
-
path (
|
23
|
-
subdirectories (
|
18
|
+
files (list['File']):
|
19
|
+
name (str):
|
20
|
+
path (str):
|
21
|
+
subdirectories (list['Subdirectory']): @name Subdirectories
|
24
22
|
"""
|
25
23
|
|
26
|
-
files:
|
27
|
-
name:
|
28
|
-
path:
|
29
|
-
subdirectories:
|
24
|
+
files: list["File"]
|
25
|
+
name: str
|
26
|
+
path: str
|
27
|
+
subdirectories: list["Subdirectory"]
|
30
28
|
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
31
29
|
|
32
30
|
def to_dict(self) -> dict[str, Any]:
|
33
|
-
files
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
files_item = files_item_data.to_dict()
|
41
|
-
files.append(files_item)
|
31
|
+
files = []
|
32
|
+
for files_item_data in self.files:
|
33
|
+
if type(files_item_data) is dict:
|
34
|
+
files_item = files_item_data
|
35
|
+
else:
|
36
|
+
files_item = files_item_data.to_dict()
|
37
|
+
files.append(files_item)
|
42
38
|
|
43
39
|
name = self.name
|
44
40
|
|
45
41
|
path = self.path
|
46
42
|
|
47
|
-
subdirectories
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
subdirectories_item = subdirectories_item_data.to_dict()
|
55
|
-
subdirectories.append(subdirectories_item)
|
43
|
+
subdirectories = []
|
44
|
+
for subdirectories_item_data in self.subdirectories:
|
45
|
+
if type(subdirectories_item_data) is dict:
|
46
|
+
subdirectories_item = subdirectories_item_data
|
47
|
+
else:
|
48
|
+
subdirectories_item = subdirectories_item_data.to_dict()
|
49
|
+
subdirectories.append(subdirectories_item)
|
56
50
|
|
57
51
|
field_dict: dict[str, Any] = {}
|
58
52
|
field_dict.update(self.additional_properties)
|
59
|
-
field_dict.update(
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
field_dict["subdirectories"] = subdirectories
|
53
|
+
field_dict.update(
|
54
|
+
{
|
55
|
+
"files": files,
|
56
|
+
"name": name,
|
57
|
+
"path": path,
|
58
|
+
"subdirectories": subdirectories,
|
59
|
+
}
|
60
|
+
)
|
68
61
|
|
69
62
|
return field_dict
|
70
63
|
|
@@ -77,19 +70,19 @@ class Directory:
|
|
77
70
|
return None
|
78
71
|
d = src_dict.copy()
|
79
72
|
files = []
|
80
|
-
_files = d.pop("files"
|
81
|
-
for files_item_data in _files
|
73
|
+
_files = d.pop("files")
|
74
|
+
for files_item_data in _files:
|
82
75
|
files_item = File.from_dict(files_item_data)
|
83
76
|
|
84
77
|
files.append(files_item)
|
85
78
|
|
86
|
-
name = d.pop("name"
|
79
|
+
name = d.pop("name")
|
87
80
|
|
88
|
-
path = d.pop("path"
|
81
|
+
path = d.pop("path")
|
89
82
|
|
90
83
|
subdirectories = []
|
91
|
-
_subdirectories = d.pop("subdirectories"
|
92
|
-
for subdirectories_item_data in _subdirectories
|
84
|
+
_subdirectories = d.pop("subdirectories")
|
85
|
+
for subdirectories_item_data in _subdirectories:
|
93
86
|
subdirectories_item = Subdirectory.from_dict(subdirectories_item_data)
|
94
87
|
|
95
88
|
subdirectories.append(subdirectories_item)
|
@@ -1,10 +1,8 @@
|
|
1
|
-
from typing import Any, TypeVar
|
1
|
+
from typing import Any, TypeVar
|
2
2
|
|
3
3
|
from attrs import define as _attrs_define
|
4
4
|
from attrs import field as _attrs_field
|
5
5
|
|
6
|
-
from ..types import UNSET, Unset
|
7
|
-
|
8
6
|
T = TypeVar("T", bound="ErrorResponse")
|
9
7
|
|
10
8
|
|
@@ -12,10 +10,10 @@ T = TypeVar("T", bound="ErrorResponse")
|
|
12
10
|
class ErrorResponse:
|
13
11
|
"""
|
14
12
|
Attributes:
|
15
|
-
error (
|
13
|
+
error (str): Example: Error message.
|
16
14
|
"""
|
17
15
|
|
18
|
-
error:
|
16
|
+
error: str
|
19
17
|
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
20
18
|
|
21
19
|
def to_dict(self) -> dict[str, Any]:
|
@@ -23,9 +21,11 @@ class ErrorResponse:
|
|
23
21
|
|
24
22
|
field_dict: dict[str, Any] = {}
|
25
23
|
field_dict.update(self.additional_properties)
|
26
|
-
field_dict.update(
|
27
|
-
|
28
|
-
|
24
|
+
field_dict.update(
|
25
|
+
{
|
26
|
+
"error": error,
|
27
|
+
}
|
28
|
+
)
|
29
29
|
|
30
30
|
return field_dict
|
31
31
|
|
@@ -34,7 +34,7 @@ class ErrorResponse:
|
|
34
34
|
if not src_dict:
|
35
35
|
return None
|
36
36
|
d = src_dict.copy()
|
37
|
-
error = d.pop("error"
|
37
|
+
error = d.pop("error")
|
38
38
|
|
39
39
|
error_response = cls(
|
40
40
|
error=error,
|
@@ -1,10 +1,8 @@
|
|
1
|
-
from typing import Any, TypeVar
|
1
|
+
from typing import Any, TypeVar
|
2
2
|
|
3
3
|
from attrs import define as _attrs_define
|
4
4
|
from attrs import field as _attrs_field
|
5
5
|
|
6
|
-
from ..types import UNSET, Unset
|
7
|
-
|
8
6
|
T = TypeVar("T", bound="File")
|
9
7
|
|
10
8
|
|
@@ -12,22 +10,22 @@ T = TypeVar("T", bound="File")
|
|
12
10
|
class File:
|
13
11
|
"""
|
14
12
|
Attributes:
|
15
|
-
group (
|
16
|
-
last_modified (
|
17
|
-
name (
|
18
|
-
owner (
|
19
|
-
path (
|
20
|
-
permissions (
|
21
|
-
size (
|
13
|
+
group (str):
|
14
|
+
last_modified (str):
|
15
|
+
name (str):
|
16
|
+
owner (str):
|
17
|
+
path (str):
|
18
|
+
permissions (str):
|
19
|
+
size (int):
|
22
20
|
"""
|
23
21
|
|
24
|
-
group:
|
25
|
-
last_modified:
|
26
|
-
name:
|
27
|
-
owner:
|
28
|
-
path:
|
29
|
-
permissions:
|
30
|
-
size:
|
22
|
+
group: str
|
23
|
+
last_modified: str
|
24
|
+
name: str
|
25
|
+
owner: str
|
26
|
+
path: str
|
27
|
+
permissions: str
|
28
|
+
size: int
|
31
29
|
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
32
30
|
|
33
31
|
def to_dict(self) -> dict[str, Any]:
|
@@ -47,21 +45,17 @@ class File:
|
|
47
45
|
|
48
46
|
field_dict: dict[str, Any] = {}
|
49
47
|
field_dict.update(self.additional_properties)
|
50
|
-
field_dict.update(
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
if permissions is not UNSET:
|
62
|
-
field_dict["permissions"] = permissions
|
63
|
-
if size is not UNSET:
|
64
|
-
field_dict["size"] = size
|
48
|
+
field_dict.update(
|
49
|
+
{
|
50
|
+
"group": group,
|
51
|
+
"lastModified": last_modified,
|
52
|
+
"name": name,
|
53
|
+
"owner": owner,
|
54
|
+
"path": path,
|
55
|
+
"permissions": permissions,
|
56
|
+
"size": size,
|
57
|
+
}
|
58
|
+
)
|
65
59
|
|
66
60
|
return field_dict
|
67
61
|
|
@@ -70,19 +64,19 @@ class File:
|
|
70
64
|
if not src_dict:
|
71
65
|
return None
|
72
66
|
d = src_dict.copy()
|
73
|
-
group = d.pop("group"
|
67
|
+
group = d.pop("group")
|
74
68
|
|
75
|
-
last_modified = d.pop("lastModified"
|
69
|
+
last_modified = d.pop("lastModified")
|
76
70
|
|
77
|
-
name = d.pop("name"
|
71
|
+
name = d.pop("name")
|
78
72
|
|
79
|
-
owner = d.pop("owner"
|
73
|
+
owner = d.pop("owner")
|
80
74
|
|
81
|
-
path = d.pop("path"
|
75
|
+
path = d.pop("path")
|
82
76
|
|
83
|
-
permissions = d.pop("permissions"
|
77
|
+
permissions = d.pop("permissions")
|
84
78
|
|
85
|
-
size = d.pop("size"
|
79
|
+
size = d.pop("size")
|
86
80
|
|
87
81
|
file = cls(
|
88
82
|
group=group,
|
@@ -1,10 +1,8 @@
|
|
1
|
-
from typing import Any, TypeVar
|
1
|
+
from typing import Any, TypeVar
|
2
2
|
|
3
3
|
from attrs import define as _attrs_define
|
4
4
|
from attrs import field as _attrs_field
|
5
5
|
|
6
|
-
from ..types import UNSET, Unset
|
7
|
-
|
8
6
|
T = TypeVar("T", bound="FileWithContent")
|
9
7
|
|
10
8
|
|
@@ -12,24 +10,24 @@ T = TypeVar("T", bound="FileWithContent")
|
|
12
10
|
class FileWithContent:
|
13
11
|
"""
|
14
12
|
Attributes:
|
15
|
-
content (
|
16
|
-
group (
|
17
|
-
last_modified (
|
18
|
-
name (
|
19
|
-
owner (
|
20
|
-
path (
|
21
|
-
permissions (
|
22
|
-
size (
|
13
|
+
content (str):
|
14
|
+
group (str):
|
15
|
+
last_modified (str):
|
16
|
+
name (str):
|
17
|
+
owner (str):
|
18
|
+
path (str):
|
19
|
+
permissions (str):
|
20
|
+
size (int):
|
23
21
|
"""
|
24
22
|
|
25
|
-
content:
|
26
|
-
group:
|
27
|
-
last_modified:
|
28
|
-
name:
|
29
|
-
owner:
|
30
|
-
path:
|
31
|
-
permissions:
|
32
|
-
size:
|
23
|
+
content: str
|
24
|
+
group: str
|
25
|
+
last_modified: str
|
26
|
+
name: str
|
27
|
+
owner: str
|
28
|
+
path: str
|
29
|
+
permissions: str
|
30
|
+
size: int
|
33
31
|
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
34
32
|
|
35
33
|
def to_dict(self) -> dict[str, Any]:
|
@@ -51,23 +49,18 @@ class FileWithContent:
|
|
51
49
|
|
52
50
|
field_dict: dict[str, Any] = {}
|
53
51
|
field_dict.update(self.additional_properties)
|
54
|
-
field_dict.update(
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
field_dict["path"] = path
|
67
|
-
if permissions is not UNSET:
|
68
|
-
field_dict["permissions"] = permissions
|
69
|
-
if size is not UNSET:
|
70
|
-
field_dict["size"] = size
|
52
|
+
field_dict.update(
|
53
|
+
{
|
54
|
+
"content": content,
|
55
|
+
"group": group,
|
56
|
+
"lastModified": last_modified,
|
57
|
+
"name": name,
|
58
|
+
"owner": owner,
|
59
|
+
"path": path,
|
60
|
+
"permissions": permissions,
|
61
|
+
"size": size,
|
62
|
+
}
|
63
|
+
)
|
71
64
|
|
72
65
|
return field_dict
|
73
66
|
|
@@ -76,21 +69,21 @@ class FileWithContent:
|
|
76
69
|
if not src_dict:
|
77
70
|
return None
|
78
71
|
d = src_dict.copy()
|
79
|
-
content = d.pop("content"
|
72
|
+
content = d.pop("content")
|
80
73
|
|
81
|
-
group = d.pop("group"
|
74
|
+
group = d.pop("group")
|
82
75
|
|
83
|
-
last_modified = d.pop("lastModified"
|
76
|
+
last_modified = d.pop("lastModified")
|
84
77
|
|
85
|
-
name = d.pop("name"
|
78
|
+
name = d.pop("name")
|
86
79
|
|
87
|
-
owner = d.pop("owner"
|
80
|
+
owner = d.pop("owner")
|
88
81
|
|
89
|
-
path = d.pop("path"
|
82
|
+
path = d.pop("path")
|
90
83
|
|
91
|
-
permissions = d.pop("permissions"
|
84
|
+
permissions = d.pop("permissions")
|
92
85
|
|
93
|
-
size = d.pop("size"
|
86
|
+
size = d.pop("size")
|
94
87
|
|
95
88
|
file_with_content = cls(
|
96
89
|
content=content,
|
@@ -1,10 +1,8 @@
|
|
1
|
-
from typing import Any, TypeVar
|
1
|
+
from typing import Any, TypeVar
|
2
2
|
|
3
3
|
from attrs import define as _attrs_define
|
4
4
|
from attrs import field as _attrs_field
|
5
5
|
|
6
|
-
from ..types import UNSET, Unset
|
7
|
-
|
8
6
|
T = TypeVar("T", bound="ProcessLogs")
|
9
7
|
|
10
8
|
|
@@ -12,14 +10,14 @@ T = TypeVar("T", bound="ProcessLogs")
|
|
12
10
|
class ProcessLogs:
|
13
11
|
"""
|
14
12
|
Attributes:
|
15
|
-
logs (
|
16
|
-
stderr (
|
17
|
-
stdout (
|
13
|
+
logs (str): Example: logs output.
|
14
|
+
stderr (str): Example: stderr output.
|
15
|
+
stdout (str): Example: stdout output.
|
18
16
|
"""
|
19
17
|
|
20
|
-
logs:
|
21
|
-
stderr:
|
22
|
-
stdout:
|
18
|
+
logs: str
|
19
|
+
stderr: str
|
20
|
+
stdout: str
|
23
21
|
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
24
22
|
|
25
23
|
def to_dict(self) -> dict[str, Any]:
|
@@ -31,13 +29,13 @@ class ProcessLogs:
|
|
31
29
|
|
32
30
|
field_dict: dict[str, Any] = {}
|
33
31
|
field_dict.update(self.additional_properties)
|
34
|
-
field_dict.update(
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
32
|
+
field_dict.update(
|
33
|
+
{
|
34
|
+
"logs": logs,
|
35
|
+
"stderr": stderr,
|
36
|
+
"stdout": stdout,
|
37
|
+
}
|
38
|
+
)
|
41
39
|
|
42
40
|
return field_dict
|
43
41
|
|
@@ -46,11 +44,11 @@ class ProcessLogs:
|
|
46
44
|
if not src_dict:
|
47
45
|
return None
|
48
46
|
d = src_dict.copy()
|
49
|
-
logs = d.pop("logs"
|
47
|
+
logs = d.pop("logs")
|
50
48
|
|
51
|
-
stderr = d.pop("stderr"
|
49
|
+
stderr = d.pop("stderr")
|
52
50
|
|
53
|
-
stdout = d.pop("stdout"
|
51
|
+
stdout = d.pop("stdout")
|
54
52
|
|
55
53
|
process_logs = cls(
|
56
54
|
logs=logs,
|
@@ -1,10 +1,9 @@
|
|
1
|
-
from typing import Any, TypeVar
|
1
|
+
from typing import Any, TypeVar
|
2
2
|
|
3
3
|
from attrs import define as _attrs_define
|
4
4
|
from attrs import field as _attrs_field
|
5
5
|
|
6
6
|
from ..models.process_response_status import ProcessResponseStatus
|
7
|
-
from ..types import UNSET, Unset
|
8
7
|
|
9
8
|
T = TypeVar("T", bound="ProcessResponse")
|
10
9
|
|
@@ -13,24 +12,26 @@ T = TypeVar("T", bound="ProcessResponse")
|
|
13
12
|
class ProcessResponse:
|
14
13
|
"""
|
15
14
|
Attributes:
|
16
|
-
command (
|
17
|
-
completed_at (
|
18
|
-
exit_code (
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
15
|
+
command (str): Example: ls -la.
|
16
|
+
completed_at (str): Example: Wed, 01 Jan 2023 12:01:00 GMT.
|
17
|
+
exit_code (int):
|
18
|
+
logs (str): Example: logs output.
|
19
|
+
name (str): Example: my-process.
|
20
|
+
pid (str): Example: 1234.
|
21
|
+
started_at (str): Example: Wed, 01 Jan 2023 12:00:00 GMT.
|
22
|
+
status (ProcessResponseStatus): Example: running.
|
23
|
+
working_dir (str): Example: /home/user.
|
24
24
|
"""
|
25
25
|
|
26
|
-
command:
|
27
|
-
completed_at:
|
28
|
-
exit_code:
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
26
|
+
command: str
|
27
|
+
completed_at: str
|
28
|
+
exit_code: int
|
29
|
+
logs: str
|
30
|
+
name: str
|
31
|
+
pid: str
|
32
|
+
started_at: str
|
33
|
+
status: ProcessResponseStatus
|
34
|
+
working_dir: str
|
34
35
|
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
35
36
|
|
36
37
|
def to_dict(self) -> dict[str, Any]:
|
@@ -40,37 +41,33 @@ class ProcessResponse:
|
|
40
41
|
|
41
42
|
exit_code = self.exit_code
|
42
43
|
|
44
|
+
logs = self.logs
|
45
|
+
|
43
46
|
name = self.name
|
44
47
|
|
45
48
|
pid = self.pid
|
46
49
|
|
47
50
|
started_at = self.started_at
|
48
51
|
|
49
|
-
status
|
50
|
-
if not isinstance(self.status, Unset):
|
51
|
-
status = self.status.value
|
52
|
+
status = self.status.value
|
52
53
|
|
53
54
|
working_dir = self.working_dir
|
54
55
|
|
55
56
|
field_dict: dict[str, Any] = {}
|
56
57
|
field_dict.update(self.additional_properties)
|
57
|
-
field_dict.update(
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
if status is not UNSET:
|
71
|
-
field_dict["status"] = status
|
72
|
-
if working_dir is not UNSET:
|
73
|
-
field_dict["workingDir"] = working_dir
|
58
|
+
field_dict.update(
|
59
|
+
{
|
60
|
+
"command": command,
|
61
|
+
"completedAt": completed_at,
|
62
|
+
"exitCode": exit_code,
|
63
|
+
"logs": logs,
|
64
|
+
"name": name,
|
65
|
+
"pid": pid,
|
66
|
+
"startedAt": started_at,
|
67
|
+
"status": status,
|
68
|
+
"workingDir": working_dir,
|
69
|
+
}
|
70
|
+
)
|
74
71
|
|
75
72
|
return field_dict
|
76
73
|
|
@@ -79,31 +76,29 @@ class ProcessResponse:
|
|
79
76
|
if not src_dict:
|
80
77
|
return None
|
81
78
|
d = src_dict.copy()
|
82
|
-
command = d.pop("command"
|
79
|
+
command = d.pop("command")
|
80
|
+
|
81
|
+
completed_at = d.pop("completedAt")
|
83
82
|
|
84
|
-
|
83
|
+
exit_code = d.pop("exitCode")
|
85
84
|
|
86
|
-
|
85
|
+
logs = d.pop("logs")
|
87
86
|
|
88
|
-
name = d.pop("name"
|
87
|
+
name = d.pop("name")
|
89
88
|
|
90
|
-
pid = d.pop("pid"
|
89
|
+
pid = d.pop("pid")
|
91
90
|
|
92
|
-
started_at = d.pop("startedAt"
|
91
|
+
started_at = d.pop("startedAt")
|
93
92
|
|
94
|
-
|
95
|
-
status: Union[Unset, ProcessResponseStatus]
|
96
|
-
if isinstance(_status, Unset):
|
97
|
-
status = UNSET
|
98
|
-
else:
|
99
|
-
status = ProcessResponseStatus(_status)
|
93
|
+
status = ProcessResponseStatus(d.pop("status"))
|
100
94
|
|
101
|
-
working_dir = d.pop("workingDir"
|
95
|
+
working_dir = d.pop("workingDir")
|
102
96
|
|
103
97
|
process_response = cls(
|
104
98
|
command=command,
|
105
99
|
completed_at=completed_at,
|
106
100
|
exit_code=exit_code,
|
101
|
+
logs=logs,
|
107
102
|
name=name,
|
108
103
|
pid=pid,
|
109
104
|
started_at=started_at,
|
@@ -1,10 +1,8 @@
|
|
1
|
-
from typing import Any, TypeVar
|
1
|
+
from typing import Any, TypeVar
|
2
2
|
|
3
3
|
from attrs import define as _attrs_define
|
4
4
|
from attrs import field as _attrs_field
|
5
5
|
|
6
|
-
from ..types import UNSET, Unset
|
7
|
-
|
8
6
|
T = TypeVar("T", bound="Subdirectory")
|
9
7
|
|
10
8
|
|
@@ -12,12 +10,12 @@ T = TypeVar("T", bound="Subdirectory")
|
|
12
10
|
class Subdirectory:
|
13
11
|
"""
|
14
12
|
Attributes:
|
15
|
-
name (
|
16
|
-
path (
|
13
|
+
name (str):
|
14
|
+
path (str):
|
17
15
|
"""
|
18
16
|
|
19
|
-
name:
|
20
|
-
path:
|
17
|
+
name: str
|
18
|
+
path: str
|
21
19
|
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
22
20
|
|
23
21
|
def to_dict(self) -> dict[str, Any]:
|
@@ -27,11 +25,12 @@ class Subdirectory:
|
|
27
25
|
|
28
26
|
field_dict: dict[str, Any] = {}
|
29
27
|
field_dict.update(self.additional_properties)
|
30
|
-
field_dict.update(
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
28
|
+
field_dict.update(
|
29
|
+
{
|
30
|
+
"name": name,
|
31
|
+
"path": path,
|
32
|
+
}
|
33
|
+
)
|
35
34
|
|
36
35
|
return field_dict
|
37
36
|
|
@@ -40,9 +39,9 @@ class Subdirectory:
|
|
40
39
|
if not src_dict:
|
41
40
|
return None
|
42
41
|
d = src_dict.copy()
|
43
|
-
name = d.pop("name"
|
42
|
+
name = d.pop("name")
|
44
43
|
|
45
|
-
path = d.pop("path"
|
44
|
+
path = d.pop("path")
|
46
45
|
|
47
46
|
subdirectory = cls(
|
48
47
|
name=name,
|
@@ -1,10 +1,8 @@
|
|
1
|
-
from typing import Any, TypeVar
|
1
|
+
from typing import Any, TypeVar
|
2
2
|
|
3
3
|
from attrs import define as _attrs_define
|
4
4
|
from attrs import field as _attrs_field
|
5
5
|
|
6
|
-
from ..types import UNSET, Unset
|
7
|
-
|
8
6
|
T = TypeVar("T", bound="SuccessResponse")
|
9
7
|
|
10
8
|
|
@@ -12,12 +10,12 @@ T = TypeVar("T", bound="SuccessResponse")
|
|
12
10
|
class SuccessResponse:
|
13
11
|
"""
|
14
12
|
Attributes:
|
15
|
-
message (
|
16
|
-
path (
|
13
|
+
message (str): Example: File created successfully.
|
14
|
+
path (str): Example: /path/to/file.
|
17
15
|
"""
|
18
16
|
|
19
|
-
message:
|
20
|
-
path:
|
17
|
+
message: str
|
18
|
+
path: str
|
21
19
|
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
22
20
|
|
23
21
|
def to_dict(self) -> dict[str, Any]:
|
@@ -27,11 +25,12 @@ class SuccessResponse:
|
|
27
25
|
|
28
26
|
field_dict: dict[str, Any] = {}
|
29
27
|
field_dict.update(self.additional_properties)
|
30
|
-
field_dict.update(
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
28
|
+
field_dict.update(
|
29
|
+
{
|
30
|
+
"message": message,
|
31
|
+
"path": path,
|
32
|
+
}
|
33
|
+
)
|
35
34
|
|
36
35
|
return field_dict
|
37
36
|
|
@@ -40,9 +39,9 @@ class SuccessResponse:
|
|
40
39
|
if not src_dict:
|
41
40
|
return None
|
42
41
|
d = src_dict.copy()
|
43
|
-
message = d.pop("message"
|
42
|
+
message = d.pop("message")
|
44
43
|
|
45
|
-
path = d.pop("path"
|
44
|
+
path = d.pop("path")
|
46
45
|
|
47
46
|
success_response = cls(
|
48
47
|
message=message,
|
@@ -340,21 +340,21 @@ blaxel/core/sandbox/client/api/process/get_ws_process_identifier_logs_stream.py,
|
|
340
340
|
blaxel/core/sandbox/client/api/process/post_process.py,sha256=CgA1Q0vLAfeOT5nMd2ESrO8d6_0kGsrcBs1LSEVZrjo,4656
|
341
341
|
blaxel/core/sandbox/client/models/__init__.py,sha256=eOax5cMg8O7Skpi0vApItrajTY0gx-wRHVe3YC5wBt8,1356
|
342
342
|
blaxel/core/sandbox/client/models/delete_network_process_pid_monitor_response_200.py,sha256=9cQgKDjG98sMridjXKgeR2oZzFKcQ0G9QIojhwYFosI,1376
|
343
|
-
blaxel/core/sandbox/client/models/directory.py,sha256=
|
344
|
-
blaxel/core/sandbox/client/models/error_response.py,sha256=
|
345
|
-
blaxel/core/sandbox/client/models/file.py,sha256=
|
343
|
+
blaxel/core/sandbox/client/models/directory.py,sha256=Cufag2aJuBHXfxDnfiXL4oEiQE5GSb5FWH7Tu_hOhtc,3186
|
344
|
+
blaxel/core/sandbox/client/models/error_response.py,sha256=4UZjR8ej0uFPl4CmkMplYebqS3U9EDodqNBltQtGvxI,1493
|
345
|
+
blaxel/core/sandbox/client/models/file.py,sha256=MkYNSh9Rj1Gt0txfBeFEcEVg1Z-Z1Tbp31nv3C_WZaA,2446
|
346
346
|
blaxel/core/sandbox/client/models/file_request.py,sha256=xOZSru-fae-En-_2YBgkHa_6iGbqbJsG3RLqBuajVY0,2227
|
347
|
-
blaxel/core/sandbox/client/models/file_with_content.py,sha256=
|
347
|
+
blaxel/core/sandbox/client/models/file_with_content.py,sha256=iDMYClAJBJK-l1Kr0yKuNoiHNG3zJVt44XLsE1ax3IA,2680
|
348
348
|
blaxel/core/sandbox/client/models/get_network_process_pid_ports_response_200.py,sha256=x4uv80kK0GVroWO98l5sE84a6uwZ8pnUKTpGg81ipWA,1351
|
349
349
|
blaxel/core/sandbox/client/models/port_monitor_request.py,sha256=LK7sjAK1TF1ojgG4vGytaKLVtV6-SNXxfZ3sxew1cRE,1698
|
350
350
|
blaxel/core/sandbox/client/models/post_network_process_pid_monitor_response_200.py,sha256=Y8BvNGKU8SlzTGqhaQZk_WWIrmFpNU0LVcmLFjNvqhA,1366
|
351
|
-
blaxel/core/sandbox/client/models/process_logs.py,sha256=
|
351
|
+
blaxel/core/sandbox/client/models/process_logs.py,sha256=WVBgPsvUzPlBIuJzahGor-mXq7RF4qXhi5e9XcUPyOM,1847
|
352
352
|
blaxel/core/sandbox/client/models/process_request.py,sha256=b5WoVKQtKibRw1a1xN6nv7Gj4wiAWGPL_Kj9WmjGKsE,4134
|
353
353
|
blaxel/core/sandbox/client/models/process_request_env.py,sha256=hzVPY4mk4g4bKj_S3uXRyaXvp1V6WB2hlQM0XhB7Xgw,1294
|
354
|
-
blaxel/core/sandbox/client/models/process_response.py,sha256=
|
354
|
+
blaxel/core/sandbox/client/models/process_response.py,sha256=vXHK6NBnuf0KYVzpkaApC29KOKwDE-7jBxy_WszApXs,3239
|
355
355
|
blaxel/core/sandbox/client/models/process_response_status.py,sha256=hCE1gCtheV83T6PYURG3k-rPZSauvyTFhsxLEtudgYE,246
|
356
|
-
blaxel/core/sandbox/client/models/subdirectory.py,sha256=
|
357
|
-
blaxel/core/sandbox/client/models/success_response.py,sha256=
|
356
|
+
blaxel/core/sandbox/client/models/subdirectory.py,sha256=obztIgi_XjT4pPoT1-dyOX6O8k0e4ERZUTiI9qgkhJM,1593
|
357
|
+
blaxel/core/sandbox/client/models/success_response.py,sha256=ksioQ0qNV7yhXlySY3_3EycsJ1ec7LSxBMwIq4HnfVQ,1703
|
358
358
|
blaxel/core/tools/__init__.py,sha256=9_pgKEU5GbPfqfGN4aZTkthnaV4AVYf63jIZw44peBQ,10167
|
359
359
|
blaxel/core/tools/common.py,sha256=JGK052v_fvwWBFYnIArlBnFFViYyFrqdDn3gdVf53EU,1332
|
360
360
|
blaxel/core/tools/types.py,sha256=YPCGJ4vZDhqR0X2H_TWtc5chQScsC32nGTQdRKJlO8Y,707
|
@@ -402,7 +402,7 @@ blaxel/telemetry/instrumentation/map.py,sha256=PCzZJj39yiYVYJrxLBNP-NW-tjjYyTijw
|
|
402
402
|
blaxel/telemetry/instrumentation/utils.py,sha256=KInMYZH-mu9_wvetmf0EmgrfN3Sw8IWk2Y95v2u90_U,1901
|
403
403
|
blaxel/telemetry/log/log.py,sha256=RvQByRjZMoP_dRaAZu8oK6DTegsHs-xV4W-UIqis6CA,2461
|
404
404
|
blaxel/telemetry/log/logger.py,sha256=NPAS3g82ryROjvc_DEZaTIfrcehoLEZoP-JkLxADxc0,4113
|
405
|
-
blaxel-0.2.
|
406
|
-
blaxel-0.2.
|
407
|
-
blaxel-0.2.
|
408
|
-
blaxel-0.2.
|
405
|
+
blaxel-0.2.1rc74.dist-info/METADATA,sha256=JQYurNECBeIrAatzYvyQorgHMeYtfpYRbTp1Wp9LUcs,9879
|
406
|
+
blaxel-0.2.1rc74.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
407
|
+
blaxel-0.2.1rc74.dist-info/licenses/LICENSE,sha256=p5PNQvpvyDT_0aYBDgmV1fFI_vAD2aSV0wWG7VTgRis,1069
|
408
|
+
blaxel-0.2.1rc74.dist-info/RECORD,,
|
File without changes
|
File without changes
|