kleinkram 0.36.3.dev20241113095001__py3-none-any.whl → 0.36.3.dev20241113174857__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 kleinkram might be problematic. Click here for more details.
- kleinkram/main.py +10 -5
- {kleinkram-0.36.3.dev20241113095001.dist-info → kleinkram-0.36.3.dev20241113174857.dist-info}/METADATA +1 -1
- {kleinkram-0.36.3.dev20241113095001.dist-info → kleinkram-0.36.3.dev20241113174857.dist-info}/RECORD +6 -6
- {kleinkram-0.36.3.dev20241113095001.dist-info → kleinkram-0.36.3.dev20241113174857.dist-info}/WHEEL +0 -0
- {kleinkram-0.36.3.dev20241113095001.dist-info → kleinkram-0.36.3.dev20241113174857.dist-info}/entry_points.txt +0 -0
- {kleinkram-0.36.3.dev20241113095001.dist-info → kleinkram-0.36.3.dev20241113174857.dist-info}/licenses/LICENSE +0 -0
kleinkram/main.py
CHANGED
|
@@ -164,7 +164,7 @@ def upload(
|
|
|
164
164
|
"'some-name.mcap' file will be deleted."
|
|
165
165
|
),
|
|
166
166
|
] = False,
|
|
167
|
-
|
|
167
|
+
ignore_tags: Annotated[
|
|
168
168
|
bool,
|
|
169
169
|
typer.Option(help="Ignore required tags for the mission."),
|
|
170
170
|
] = False,
|
|
@@ -237,8 +237,6 @@ def upload(
|
|
|
237
237
|
"Access Denied",
|
|
238
238
|
)
|
|
239
239
|
|
|
240
|
-
|
|
241
|
-
|
|
242
240
|
##############################
|
|
243
241
|
# Check if mission exists
|
|
244
242
|
##############################
|
|
@@ -247,7 +245,10 @@ def upload(
|
|
|
247
245
|
mission_response = client.get(get_mission_url, params={"uuid": mission})
|
|
248
246
|
else:
|
|
249
247
|
get_mission_url = "/mission/byName"
|
|
250
|
-
mission_response = client.get(
|
|
248
|
+
mission_response = client.get(
|
|
249
|
+
get_mission_url,
|
|
250
|
+
params={"name": mission, "projectUUID": project_json["uuid"]},
|
|
251
|
+
)
|
|
251
252
|
|
|
252
253
|
if mission_response.status_code >= 400:
|
|
253
254
|
if not create_mission:
|
|
@@ -266,7 +267,11 @@ def upload(
|
|
|
266
267
|
required_tags = (
|
|
267
268
|
project_json["requiredTags"] if "requiredTags" in project_json else []
|
|
268
269
|
)
|
|
269
|
-
missing_tags = [
|
|
270
|
+
missing_tags = [
|
|
271
|
+
tag_key
|
|
272
|
+
for tag_key in required_tags
|
|
273
|
+
if (tag_key["uuid"] not in tags_dict)
|
|
274
|
+
]
|
|
270
275
|
if not ignore_tags:
|
|
271
276
|
if missing_tags and not ignore_tags:
|
|
272
277
|
promptForTags(tags_dict, required_tags)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: kleinkram
|
|
3
|
-
Version: 0.36.3.
|
|
3
|
+
Version: 0.36.3.dev20241113174857
|
|
4
4
|
Summary: A CLI for the ETH project kleinkram
|
|
5
5
|
Project-URL: Homepage, https://github.com/leggedrobotics/kleinkram
|
|
6
6
|
Project-URL: Issues, https://github.com/leggedrobotics/kleinkram/issues
|
{kleinkram-0.36.3.dev20241113095001.dist-info → kleinkram-0.36.3.dev20241113174857.dist-info}/RECORD
RENAMED
|
@@ -3,7 +3,7 @@ kleinkram/api_client.py,sha256=1GPsM-XFbPYEKP7RfWmzMTwxRqnVh4wtHVuW25KT8kA,2264
|
|
|
3
3
|
kleinkram/consts.py,sha256=pm_6OuQcO-tYcRhwauTtyRRsuYY0y0yb6EGuIl49LnI,50
|
|
4
4
|
kleinkram/error_handling.py,sha256=vvNtXSOnXs4b-aYEUIA0GVQWXLRW5I5FtNE1PZPHEPc,4704
|
|
5
5
|
kleinkram/helper.py,sha256=ELvs-p7zpJUP_rtTIVpcUCTz0D4WegoUZQ11UqUrUkg,9288
|
|
6
|
-
kleinkram/main.py,sha256=
|
|
6
|
+
kleinkram/main.py,sha256=uEaAgUiqfq8Tc0iHA7OFcG_0_ymrgeogBt7uBAcWvqM,18083
|
|
7
7
|
kleinkram/auth/auth.py,sha256=w3-TsxWxURzLQ3_p43zgV4Rlh4dVL_WqI6HG2aes-b4,4991
|
|
8
8
|
kleinkram/endpoint/endpoint.py,sha256=WmHUH10_OSZUMrovh2yBeth9dBcn0yE7PxnnD4yPW-Y,1582
|
|
9
9
|
kleinkram/file/file.py,sha256=1IRXTxGGH5tIvvmMoee5jvmN4QGyIJSJ2xtHraHGFHE,5390
|
|
@@ -13,8 +13,8 @@ kleinkram/queue/queue.py,sha256=MaLBjAu8asi9BkPvbbT-5AobCcpy3ex5rxM1kHpRINA,181
|
|
|
13
13
|
kleinkram/tag/tag.py,sha256=JSHbDPVfsvP34MuQhw__DPQk-Bah5G9BgwYsj_K_JGc,1805
|
|
14
14
|
kleinkram/topic/topic.py,sha256=IaXhrIHcJ3FSIr0WC-N7u9fkz-lAvSBgQklTX67t0Yc,1641
|
|
15
15
|
kleinkram/user/user.py,sha256=SzUM-CTTmC3TYCNt4Crizc7n3Rpf2ObJeNWEeEmMfpo,1893
|
|
16
|
-
kleinkram-0.36.3.
|
|
17
|
-
kleinkram-0.36.3.
|
|
18
|
-
kleinkram-0.36.3.
|
|
19
|
-
kleinkram-0.36.3.
|
|
20
|
-
kleinkram-0.36.3.
|
|
16
|
+
kleinkram-0.36.3.dev20241113174857.dist-info/METADATA,sha256=Bc8CeQycvvxA24Hn9zXBvUl0_5HdX9Ulq5nrs0j04yc,823
|
|
17
|
+
kleinkram-0.36.3.dev20241113174857.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
|
|
18
|
+
kleinkram-0.36.3.dev20241113174857.dist-info/entry_points.txt,sha256=RHXtRzcreVHImatgjhQwZQ6GdJThElYjHEWcR1BPXUI,45
|
|
19
|
+
kleinkram-0.36.3.dev20241113174857.dist-info/licenses/LICENSE,sha256=ixuiBLtpoK3iv89l7ylKkg9rs2GzF9ukPH7ynZYzK5s,35148
|
|
20
|
+
kleinkram-0.36.3.dev20241113174857.dist-info/RECORD,,
|
{kleinkram-0.36.3.dev20241113095001.dist-info → kleinkram-0.36.3.dev20241113174857.dist-info}/WHEEL
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|