metafold 0.8.dev2__tar.gz → 0.8.dev3__tar.gz
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.
- {metafold-0.8.dev2 → metafold-0.8.dev3}/PKG-INFO +1 -1
- {metafold-0.8.dev2 → metafold-0.8.dev3}/metafold/assets.py +2 -0
- {metafold-0.8.dev2 → metafold-0.8.dev3}/metafold.egg-info/PKG-INFO +1 -1
- {metafold-0.8.dev2 → metafold-0.8.dev3}/pyproject.toml +1 -1
- {metafold-0.8.dev2 → metafold-0.8.dev3}/tests/test_assets.py +6 -0
- {metafold-0.8.dev2 → metafold-0.8.dev3}/LICENSE +0 -0
- {metafold-0.8.dev2 → metafold-0.8.dev3}/README.md +0 -0
- {metafold-0.8.dev2 → metafold-0.8.dev3}/metafold/__init__.py +0 -0
- {metafold-0.8.dev2 → metafold-0.8.dev3}/metafold/api.py +0 -0
- {metafold-0.8.dev2 → metafold-0.8.dev3}/metafold/auth.py +0 -0
- {metafold-0.8.dev2 → metafold-0.8.dev3}/metafold/client.py +0 -0
- {metafold-0.8.dev2 → metafold-0.8.dev3}/metafold/exceptions.py +0 -0
- {metafold-0.8.dev2 → metafold-0.8.dev3}/metafold/func.py +0 -0
- {metafold-0.8.dev2 → metafold-0.8.dev3}/metafold/func_types.py +0 -0
- {metafold-0.8.dev2 → metafold-0.8.dev3}/metafold/jobs.py +0 -0
- {metafold-0.8.dev2 → metafold-0.8.dev3}/metafold/nx.py +0 -0
- {metafold-0.8.dev2 → metafold-0.8.dev3}/metafold/projects.py +0 -0
- {metafold-0.8.dev2 → metafold-0.8.dev3}/metafold/utils.py +0 -0
- {metafold-0.8.dev2 → metafold-0.8.dev3}/metafold/workflows.py +0 -0
- {metafold-0.8.dev2 → metafold-0.8.dev3}/metafold.egg-info/SOURCES.txt +0 -0
- {metafold-0.8.dev2 → metafold-0.8.dev3}/metafold.egg-info/dependency_links.txt +0 -0
- {metafold-0.8.dev2 → metafold-0.8.dev3}/metafold.egg-info/requires.txt +0 -0
- {metafold-0.8.dev2 → metafold-0.8.dev3}/metafold.egg-info/top_level.txt +0 -0
- {metafold-0.8.dev2 → metafold-0.8.dev3}/setup.cfg +0 -0
- {metafold-0.8.dev2 → metafold-0.8.dev3}/tests/test_func.py +0 -0
- {metafold-0.8.dev2 → metafold-0.8.dev3}/tests/test_jobs.py +0 -0
- {metafold-0.8.dev2 → metafold-0.8.dev3}/tests/test_projects.py +0 -0
- {metafold-0.8.dev2 → metafold-0.8.dev3}/tests/test_utils.py +0 -0
- {metafold-0.8.dev2 → metafold-0.8.dev3}/tests/test_workflows.py +0 -0
|
@@ -20,6 +20,7 @@ class Asset:
|
|
|
20
20
|
created: Asset creation datetime.
|
|
21
21
|
modified: Asset last modified datetime.
|
|
22
22
|
project_id: Project ID.
|
|
23
|
+
job_id: Job ID.
|
|
23
24
|
"""
|
|
24
25
|
id: str
|
|
25
26
|
filename: str
|
|
@@ -28,6 +29,7 @@ class Asset:
|
|
|
28
29
|
created: datetime = field(converter=asdatetime)
|
|
29
30
|
modified: datetime = field(converter=asdatetime)
|
|
30
31
|
project_id: str
|
|
32
|
+
job_id: Optional[str] = None
|
|
31
33
|
|
|
32
34
|
|
|
33
35
|
class AssetsEndpoint:
|
|
@@ -25,6 +25,7 @@ asset_list = [
|
|
|
25
25
|
"created": "Mon, 01 Jan 2024 00:00:00 GMT",
|
|
26
26
|
"modified": "Mon, 01 Jan 2024 00:00:00 GMT",
|
|
27
27
|
"project_id": "1",
|
|
28
|
+
"job_id": None,
|
|
28
29
|
},
|
|
29
30
|
{
|
|
30
31
|
"id": "2",
|
|
@@ -34,6 +35,7 @@ asset_list = [
|
|
|
34
35
|
"created": "Mon, 01 Jan 2024 00:00:00 GMT",
|
|
35
36
|
"modified": "Mon, 01 Jan 2024 00:00:00 GMT",
|
|
36
37
|
"project_id": "1",
|
|
38
|
+
"job_id": None,
|
|
37
39
|
},
|
|
38
40
|
{
|
|
39
41
|
"id": "1",
|
|
@@ -43,6 +45,7 @@ asset_list = [
|
|
|
43
45
|
"created": "Mon, 01 Jan 2024 00:00:00 GMT",
|
|
44
46
|
"modified": "Mon, 01 Jan 2024 00:00:00 GMT",
|
|
45
47
|
"project_id": "1",
|
|
48
|
+
"job_id": None,
|
|
46
49
|
},
|
|
47
50
|
]
|
|
48
51
|
|
|
@@ -54,6 +57,7 @@ new_asset = {
|
|
|
54
57
|
"created": "Mon, 01 Jan 2024 00:00:00 GMT",
|
|
55
58
|
"modified": "Mon, 01 Jan 2024 00:00:00 GMT",
|
|
56
59
|
"project_id": "1",
|
|
60
|
+
"job_id": None,
|
|
57
61
|
}
|
|
58
62
|
|
|
59
63
|
|
|
@@ -154,6 +158,7 @@ def test_get_asset(client):
|
|
|
154
158
|
created=default_dt,
|
|
155
159
|
modified=default_dt,
|
|
156
160
|
project_id="1",
|
|
161
|
+
job_id=None,
|
|
157
162
|
)
|
|
158
163
|
|
|
159
164
|
|
|
@@ -174,6 +179,7 @@ def test_create_asset(client):
|
|
|
174
179
|
created=default_dt,
|
|
175
180
|
modified=default_dt,
|
|
176
181
|
project_id="1",
|
|
182
|
+
job_id=None,
|
|
177
183
|
)
|
|
178
184
|
|
|
179
185
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|