File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -42,13 +42,15 @@ def execute_from_cli():
4242
4343 ###########################################################################
4444 # Setup command
45+
4546 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" )
4747 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+
4850
4951 def setup (args ):
50- api_key = args .api_key or os .getenv ("POLY_API_KEY" )
5152 url = args .url or os .getenv ("POLY_API_BASE_URL" )
53+ api_key = args .api_key or os .getenv ("POLY_API_KEY" )
5254
5355 if api_key and url :
5456 set_api_key_and_url (url , api_key )
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ requires = ["setuptools>=61.2", "wheel"]
33
44[project ]
55name = " polyapi-python"
6- version = " 0.3.11.dev2 "
6+ version = " 0.3.11.dev3 "
77description = " The Python Client for PolyAPI, the IPaaS by Developers for Developers"
88authors = [{ name = " Dan Fellin" , email = " dan@polyapi.io" }]
99dependencies = [
You can’t perform that action at this time.
0 commit comments