polyapi-python 0.3.11.dev2__py3-none-any.whl → 0.3.11.dev3__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.
- polyapi/cli.py +4 -2
- {polyapi_python-0.3.11.dev2.dist-info → polyapi_python-0.3.11.dev3.dist-info}/METADATA +1 -1
- {polyapi_python-0.3.11.dev2.dist-info → polyapi_python-0.3.11.dev3.dist-info}/RECORD +6 -6
- {polyapi_python-0.3.11.dev2.dist-info → polyapi_python-0.3.11.dev3.dist-info}/WHEEL +0 -0
- {polyapi_python-0.3.11.dev2.dist-info → polyapi_python-0.3.11.dev3.dist-info}/licenses/LICENSE +0 -0
- {polyapi_python-0.3.11.dev2.dist-info → polyapi_python-0.3.11.dev3.dist-info}/top_level.txt +0 -0
polyapi/cli.py
CHANGED
|
@@ -42,13 +42,15 @@ def execute_from_cli():
|
|
|
42
42
|
|
|
43
43
|
###########################################################################
|
|
44
44
|
# Setup command
|
|
45
|
+
|
|
45
46
|
setup_parser = subparsers.add_parser("setup", help="Setup your Poly connection")
|
|
46
|
-
setup_parser.add_argument("api_key", nargs="?", help="API key for Poly API")
|
|
47
47
|
setup_parser.add_argument("url", nargs="?", help="URL for the Poly API")
|
|
48
|
+
setup_parser.add_argument("api_key", nargs="?", help="API key for Poly API")
|
|
49
|
+
|
|
48
50
|
|
|
49
51
|
def setup(args):
|
|
50
|
-
api_key = args.api_key or os.getenv("POLY_API_KEY")
|
|
51
52
|
url = args.url or os.getenv("POLY_API_BASE_URL")
|
|
53
|
+
api_key = args.api_key or os.getenv("POLY_API_KEY")
|
|
52
54
|
|
|
53
55
|
if api_key and url:
|
|
54
56
|
set_api_key_and_url(url, api_key)
|
|
@@ -2,7 +2,7 @@ polyapi/__init__.py,sha256=hw7x4j9JNJfPdkIOZqV0X9pbYcw3_5AH1iQFdSogH-c,3235
|
|
|
2
2
|
polyapi/__main__.py,sha256=V4zhAh_YGxno5f_KSrlkELxcuDh9bR3WSd0n-2r-qQQ,93
|
|
3
3
|
polyapi/api.py,sha256=2nds6ZdNe9OHvCba4IjOPga0CAYIsib2SbhEyDDCmd8,2188
|
|
4
4
|
polyapi/auth.py,sha256=EGstBjTSdAydI5hGAHeRRc1GcmHshogudb3sxCgO6zA,5341
|
|
5
|
-
polyapi/cli.py,sha256=
|
|
5
|
+
polyapi/cli.py,sha256=RtIx9Ji9sPikHaENFiB_K7V2MTjF0X-XRiclTU0-Zq0,11200
|
|
6
6
|
polyapi/client.py,sha256=DW6ljG_xCwAo2yz23A9QfLooE6ZUDvSpdA4e_dCQjiQ,1418
|
|
7
7
|
polyapi/config.py,sha256=LgkZXG1DspNxIwukpcFTbsj46YyN5lQjmlvdVby87uQ,7638
|
|
8
8
|
polyapi/constants.py,sha256=sc-FnS0SngBLvSu1ZWMs0UCf9EYD1u1Yhfr-sZXGLns,607
|
|
@@ -25,8 +25,8 @@ polyapi/typedefs.py,sha256=VEaYODLm-3a26_cK1uSRoYwenmprLOQQdoKFz4gqK_0,5587
|
|
|
25
25
|
polyapi/utils.py,sha256=Ca189i4PM4TpwvpzwF3T8MfQsOPD45b_falXjjgYCyI,12603
|
|
26
26
|
polyapi/variables.py,sha256=SJv106ePpQP5mx7Iiafl_shtFlE8FoaO9Q8lvw-3IRg,7270
|
|
27
27
|
polyapi/webhook.py,sha256=I3_uOl4f4L2-2WehzRLMVMRrB-76EiXCPA9Vzoaj30I,5326
|
|
28
|
-
polyapi_python-0.3.11.
|
|
29
|
-
polyapi_python-0.3.11.
|
|
30
|
-
polyapi_python-0.3.11.
|
|
31
|
-
polyapi_python-0.3.11.
|
|
32
|
-
polyapi_python-0.3.11.
|
|
28
|
+
polyapi_python-0.3.11.dev3.dist-info/licenses/LICENSE,sha256=6b_I7aPVp8JXhqQwdw7_B84Ca0S4JGjHj0sr_1VOdB4,1068
|
|
29
|
+
polyapi_python-0.3.11.dev3.dist-info/METADATA,sha256=VThY1rPh_bKtXE0hczHVig_VMpLiaOQGRJ-PYgjaq7I,5318
|
|
30
|
+
polyapi_python-0.3.11.dev3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
31
|
+
polyapi_python-0.3.11.dev3.dist-info/top_level.txt,sha256=CEFllOnzowci_50RYJac-M54KD2IdAptFsayVVF_f04,8
|
|
32
|
+
polyapi_python-0.3.11.dev3.dist-info/RECORD,,
|
|
File without changes
|
{polyapi_python-0.3.11.dev2.dist-info → polyapi_python-0.3.11.dev3.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|
|
File without changes
|