kleinkram 0.33.0.dev20241024133645__py3-none-any.whl → 0.33.0.dev20241027195827__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.

@@ -143,15 +143,20 @@ def mission_by_uuid(
143
143
 
144
144
  if json:
145
145
  print(data)
146
- else:
147
- print(f"mission: {data['name']}")
148
- print(f"Creator: {data['creator']['name']}")
149
- print("Project: " + data["project"]["name"])
150
- table = Table("Filename", "Size", "date")
151
- for file in data["files"]:
152
- table.add_row(file["filename"], f"{file['size']}", file["date"])
153
- console = Console()
154
- console.print(table)
146
+ return
147
+ print(f"mission: {data['name']}")
148
+ print(f"Creator: {data['creator']['name']}")
149
+ print("Project: " + data["project"]["name"])
150
+ table = Table("Filename", "Size", "date")
151
+
152
+ if "files" not in data:
153
+ print("No files found for mission.")
154
+ return
155
+
156
+ for file in data["files"]:
157
+ table.add_row(file["filename"], f"{file['size']}", file["date"])
158
+ console = Console()
159
+ console.print(table)
155
160
 
156
161
 
157
162
  @missionCommands.command("download")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: kleinkram
3
- Version: 0.33.0.dev20241024133645
3
+ Version: 0.33.0.dev20241027195827
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
@@ -7,14 +7,14 @@ kleinkram/main.py,sha256=cgDTfFQW91wlHZYg4_MmlERcFXDd1z--lUP6bGu8YnM,12536
7
7
  kleinkram/auth/auth.py,sha256=w3-TsxWxURzLQ3_p43zgV4Rlh4dVL_WqI6HG2aes-b4,4991
8
8
  kleinkram/endpoint/endpoint.py,sha256=uez5UrAnP7L5rVHUysA9tFkN3dB3dG1Ojt9g3w-UWuQ,1441
9
9
  kleinkram/file/file.py,sha256=gLCZDHHgQWq25OmeG-lwkIh4aRZaLK12xxLkbhZ_m-g,5390
10
- kleinkram/mission/mission.py,sha256=n7W7RKMuJSXXhgFKIGaxX1GyXexnrHUIcTFem6UsEBs,10019
10
+ kleinkram/mission/mission.py,sha256=SkTjauagLamwZaQTWTeGmXAJ9YgUrBdh_3EbjYNZfZM,10082
11
11
  kleinkram/project/project.py,sha256=le85GN9RgrqJeAL5mS-PhowFDjv-HBCYhgkKeFAUcGs,3780
12
12
  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=hDrbWeFPPnh2sswDd445SwcIFGyAbfXXWpYq1VqrK0g,1379
16
- kleinkram-0.33.0.dev20241024133645.dist-info/METADATA,sha256=Wc73pOlVWTIdUE9mmPX5wF6TTUUkEM92R4-3WUBkKsk,845
17
- kleinkram-0.33.0.dev20241024133645.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
18
- kleinkram-0.33.0.dev20241024133645.dist-info/entry_points.txt,sha256=RHXtRzcreVHImatgjhQwZQ6GdJThElYjHEWcR1BPXUI,45
19
- kleinkram-0.33.0.dev20241024133645.dist-info/licenses/LICENSE,sha256=ixuiBLtpoK3iv89l7ylKkg9rs2GzF9ukPH7ynZYzK5s,35148
20
- kleinkram-0.33.0.dev20241024133645.dist-info/RECORD,,
16
+ kleinkram-0.33.0.dev20241027195827.dist-info/METADATA,sha256=6KuOC0-8bVuCl4CSGdyntpm1un3ohtP2MseflXo2bSM,845
17
+ kleinkram-0.33.0.dev20241027195827.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
18
+ kleinkram-0.33.0.dev20241027195827.dist-info/entry_points.txt,sha256=RHXtRzcreVHImatgjhQwZQ6GdJThElYjHEWcR1BPXUI,45
19
+ kleinkram-0.33.0.dev20241027195827.dist-info/licenses/LICENSE,sha256=ixuiBLtpoK3iv89l7ylKkg9rs2GzF9ukPH7ynZYzK5s,35148
20
+ kleinkram-0.33.0.dev20241027195827.dist-info/RECORD,,