lr-gladiator 0.2.0__py3-none-any.whl → 0.3.0__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 lr-gladiator might be problematic. Click here for more details.
- gladiator/arena.py +2 -1
- gladiator/cli.py +0 -1
- {lr_gladiator-0.2.0.dist-info → lr_gladiator-0.3.0.dist-info}/METADATA +1 -1
- lr_gladiator-0.3.0.dist-info/RECORD +10 -0
- lr_gladiator-0.2.0.dist-info/RECORD +0 -10
- {lr_gladiator-0.2.0.dist-info → lr_gladiator-0.3.0.dist-info}/WHEEL +0 -0
- {lr_gladiator-0.2.0.dist-info → lr_gladiator-0.3.0.dist-info}/entry_points.txt +0 -0
- {lr_gladiator-0.2.0.dist-info → lr_gladiator-0.3.0.dist-info}/licenses/LICENSE +0 -0
- {lr_gladiator-0.2.0.dist-info → lr_gladiator-0.3.0.dist-info}/top_level.txt +0 -0
gladiator/arena.py
CHANGED
|
@@ -413,7 +413,8 @@ class ArenaClient:
|
|
|
413
413
|
return data
|
|
414
414
|
|
|
415
415
|
# Else: create a new association on WORKING
|
|
416
|
-
# 2) Resolve file category guid by name (default: CAD Data)
|
|
416
|
+
# 2) Resolve file category guid by name (default: CAD Data)
|
|
417
|
+
cats_url = f"{self._api_base()}/settings/files/categories"
|
|
417
418
|
self._log(f"GET {cats_url}")
|
|
418
419
|
r = self.session.get(cats_url)
|
|
419
420
|
r.raise_for_status()
|
gladiator/cli.py
CHANGED
|
@@ -118,7 +118,6 @@ def get_files(
|
|
|
118
118
|
item: str = typer.Argument(..., help="Item/article number"),
|
|
119
119
|
revision: Optional[str] = typer.Option(None, "--rev", help="Revision (default: latest approved)"),
|
|
120
120
|
out: Path = typer.Option(Path("downloads"), "--out", help="Output directory"),
|
|
121
|
-
format: Optional[str] = typer.Option(None, "--format", "-f", help="Output format: human (default) or json"),
|
|
122
121
|
):
|
|
123
122
|
try:
|
|
124
123
|
paths = _client().download_files(item, revision, out_dir=out)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: lr-gladiator
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.3.0
|
|
4
4
|
Summary: CLI and Python client for Arena PLM (app.bom.com): login, get revisions, list/download attachments, and upload to working revisions.
|
|
5
5
|
Author-email: Jonas Estberger <jonas.estberger@lumenradio.com>
|
|
6
6
|
License: MIT
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
gladiator/__init__.py,sha256=kVgJiGDD6714tJ3SN6mdao3rdVO57jlMvLMHAFjHX4A,207
|
|
2
|
+
gladiator/arena.py,sha256=GUexGV7aSnOKXM86MSh6hp05S5qfnAgRAt7hX4gGV_4,21652
|
|
3
|
+
gladiator/cli.py,sha256=K5qM5rTlz4EXZ_7kc4EjOGrGzj_-4E4HXFCrt-BTCxU,6444
|
|
4
|
+
gladiator/config.py,sha256=pnuVrcW8yafxMB7RU9wyi_4jS_oMBIuNryfet203Wng,1738
|
|
5
|
+
lr_gladiator-0.3.0.dist-info/licenses/LICENSE,sha256=2CEtbEagerjoU3EDSk-eTM5LKgI_RpiVIOh3_CV4kms,1069
|
|
6
|
+
lr_gladiator-0.3.0.dist-info/METADATA,sha256=xuB5t1e8lBt86agY-L7jb63qm3K5YEa7be1ZxWNFu0w,1912
|
|
7
|
+
lr_gladiator-0.3.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
8
|
+
lr_gladiator-0.3.0.dist-info/entry_points.txt,sha256=SLka4w7iGS2B8HrbeZyNk5mxaIC6QKcv93us1OaWNwQ,48
|
|
9
|
+
lr_gladiator-0.3.0.dist-info/top_level.txt,sha256=tfrcAmK7_7Lf63w7kWy0wv_Qg9RrcFWGoins1-jGUF4,10
|
|
10
|
+
lr_gladiator-0.3.0.dist-info/RECORD,,
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
gladiator/__init__.py,sha256=kVgJiGDD6714tJ3SN6mdao3rdVO57jlMvLMHAFjHX4A,207
|
|
2
|
-
gladiator/arena.py,sha256=3_Ry7_7YIUNHtlxo0WLwq0q4CVGwCmikzoYnQIZy-DE,21651
|
|
3
|
-
gladiator/cli.py,sha256=ugquxfry1Qx6iYbNVglXgYV9XPryAzYmXlLBxAF6JTc,6557
|
|
4
|
-
gladiator/config.py,sha256=pnuVrcW8yafxMB7RU9wyi_4jS_oMBIuNryfet203Wng,1738
|
|
5
|
-
lr_gladiator-0.2.0.dist-info/licenses/LICENSE,sha256=2CEtbEagerjoU3EDSk-eTM5LKgI_RpiVIOh3_CV4kms,1069
|
|
6
|
-
lr_gladiator-0.2.0.dist-info/METADATA,sha256=paVTyMqmQChuQuUmx1C6OwKghztoQyKWgI6JsWYi3Nc,1912
|
|
7
|
-
lr_gladiator-0.2.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
8
|
-
lr_gladiator-0.2.0.dist-info/entry_points.txt,sha256=SLka4w7iGS2B8HrbeZyNk5mxaIC6QKcv93us1OaWNwQ,48
|
|
9
|
-
lr_gladiator-0.2.0.dist-info/top_level.txt,sha256=tfrcAmK7_7Lf63w7kWy0wv_Qg9RrcFWGoins1-jGUF4,10
|
|
10
|
-
lr_gladiator-0.2.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|